# Honeywell BTRM726A-001 termcap | |
Well, I finally did it!!! I have managed to write a termcap that | |
mostly works. It runs vim, lynx, and even phetch. Better | |
results if you run things within a screen session. There is still | |
some glitches. | |
For some reason, ncurses issues an up-arrow after clearing the | |
screen which causes the cursor to warp around to the bottom of the | |
screen. The consequence of that is that whenever you write to 0,1 | |
or 1,1 it may end up in the wrong place unless you explicitly set | |
the cursor position before writing. Using screen seems to get | |
around that, I think because it always sets the cursor position, | |
and applications running inside of screen only need to worry about | |
writing through the 'screen' termcap driver, so it becomes a non- | |
issue. | |
Filez: | |
Here's a picture of what reading fax sex looks like on the | |
terminal: | |
honeywell_fax_sex.jpg | |
Here's the termcap file itself: | |
btrm726a.tic | |
How to use it: | |
Compile this with: | |
tic -o /usr/share/terminfo btrm726a.tic | |
(obviously /usr/share/terminfo should be wherever your terminfo | |
files live. And more obviously, you'll need to run it as root in | |
order to write there - but you could also write it to some other | |
folder in your home dir as a regular user and export the TERMINFO | |
environment variable to whatever that path is, and make it all | |
work as a regular non-root user). | |
ToDo: | |
It's capable of half-bright/normal text (which you could re-use as | |
bold/normal or something) and it's got the entire alt charset with | |
graphics characters mapped out as well. | |
What I have to figure out yet is how to do underlined text, | |
inverted video, and blinking text. All things it should be capable | |
of if the test screen/demo is anything to go by, but I haven't | |
figured out yet what the control characters are. | |
Update: | |
Turns out you can ignore this termcap :) This terminal is actually | |
a vip7800 terminal, and it works just fine with that termcap entry | |
- for whatever reason, it doesn't mention that fact anywhere on | |
the physical thing! | |