Comments (4)
… Please pull and give it a try, it should work well now …
Confirmed, working. Thanks!
from arttime.
@grahamperrin Closing this as scrolling issue is fixed, let's carry forward the discussion about #16 (comment) in the other ticket you filed #18. Its not an arttime bug, it might lead us to patching stale terminal databases being published... Though its very important path to pursue if we want users to not hit such issues, and developers to not bypass term databases and hack around them by embedding escape sequences (like vim, etc) in their applications going forward.
from arttime.
@grahamperrin Thanks! I got my hands on a FreeBSD 13.1 machine, I'll do the rest... The problem is with assumption that tput
accepts both terminfo and termcap names, as can be seen with the documentation of tput
that ships with ncurses below. In all the machines I had tested in past, it had ncurses's implementation of tput. Given that assumption is not true for FreeBSD systems prior to 14.0-CURRENT, arttime needs update.
capname
indicates the capability from the terminfo database. When termcap support is compiled
in, the termcap name for the capability is also accepted.
from arttime.
@grahamperrin I pushed the fix in same branch oldbsdtput
. Please pull and give it a try, it should work well now...
Note: If your termcap does not have capabilities defined, arttime will print errors at launch time with their terminfo names (keep an eye). In base FreeBSD13.0-RELEASE, I get legit errors that certain simple and important capabilities are not defined in default termcap database for xterm-256color/tmux-256color. All the TERMs seem limited compared to their terminfo equivalents. For instance the default terminfo of xterm-256color has capabilities (termcap equivalents in brackets): smcup
(ti
), rmcup
(te
), smam
(SA
), rmam
(RA
), but termcap database of xterm-256color in FreeBSD has none of those. Similar problem with tmux-256color, though it has smcup
(ti
), rmcup
(te
). Such discrepancy in the meaning of xterm-256color, and tmux-256color in default termcap/terminfo database makes it difficult to write portable code. Refer this page for mapping between terminfo and termcap: https://man7.org/linux/man-pages/man5/terminfo.5.html. Unlike terminfo database which I know how to compile and save, I have no clue how to generate a new termcap database .db file after hand-editing these arcane termcap entries for xterm-256color and tmux-256color on FreeBSD13.0-RELEASE.
from arttime.
Related Issues (20)
- Feature request - Sticky notifications HOT 3
- Interested in font
- 24h clock styling HOT 3
- Nit: cosmetics after quit HOT 9
- Learning the keys HOT 2
- Nothing audible when a notification is seen on FreeBSD HOT 11
- Feature Request - Labeling The Goals HOT 1
- Ability to use without the TUI HOT 3
- Feature request: Support bash HOT 1
- Errors on Debian in docker™, make arttime work under docker™ HOT 8
- feature request: add support for lolcat HOT 3
- -zcompdir argument for the install script is not working HOT 3
- feature request: add `--destdir` option to install.sh HOT 6
- Feature Request: Allow auto pause after the end of each timer HOT 1
- Feature: Add support for WSL desktop integration HOT 18
- Feature request: Adding custom message to desktop notification HOT 3
- Not working properly in i3 HOT 4
- Fancy of fonts HOT 1
- Feature Request: User added art + displaying random art without the placeholder "title" text. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arttime.