Semigraphics on unsupported terminal
ITEM: RTA000077245
I've been trying to configure a terminfo entry for an unsupported
norwegian terminal called tdv1200. This is a 7-bit ascii terminal.
I found the "graphic mode ON / OFF" sequences and inserted them
in the smacs/rmacs entries. I also found all 11 characters for
the box1 entry. They were all below 0x7F.
Using "tput smacs ; tput box1; tput rmacs" resulted in the same 11
semigraphic characters that was output using an hft.
Starting ascii-info gave beutiful boxes, but starting SMIT gave only
the character representation of the box i.e. at if smacs and rmacs did
not work.
I've seen one instance on SETI where info did not work and where smit
did
.The explanation then could be that InfoExplorer was using 8-bit
and SMIT was using only 7-bit. Here I see the opposite : My terminal
is using 7 bits and works with the 8-bit InfoExplorer but not with the
7-bit SMIT ......
How can I get boxes in SMIT ???
Can you give me a clue as to what I should keep on searching for ?
ANSWER
Both SMIT and InfoExplorer use terminfo to determine the terminal
function/capability. InfoExplorer is using curses/extended curses to
control the screen. SMIT uses its own set of screen handling routines.
InfoExplorer uses the first 6 chracters defined for the box whereas
SMIT requires all 11 characters defined for the box.
Sometimes a terminal has to change fonts to be able to print the box
characters. Then you need the font0, font1, and batt1 attributes.
Specifying "batt1=f1" indicates that the font1 character set is needed
to draw the boxes. font0 specifies the code to restore the terminal
to the original character set.
box1, batt1, font0, font1 are AIX-unique implementations. System V UNIX
uses acsc to specify the characters, and smacs and rmacs starts and
stops the alternate character set.
S e a r c h - k e y w o r d s:
SMIT INFO GRAPHICS
WWQA: ITEM: RTA000077245 ITEM: RTA000077245
Dated: 04/1995 Category: ITSAI6000GE
This HTML file was generated 99/06/24~12:43:27
Comments or suggestions?
Contact us