Thread View: comp.terminals
2 messages
2 total messages
Started by Bob &
Tue, 08 Sep 1992 16:27
termcap and vt100/xterm ae,as,ac
Author: Bob &
Date: Tue, 08 Sep 1992 16:27
Date: Tue, 08 Sep 1992 16:27
5 lines
438 bytes
438 bytes
What should be in ae, as, and ac to get a termcap-using program to use the graphics characters? Thanks -- Bob Bagwill
Re: termcap and vt100/xterm ae,as,ac
Author: Doug Gwyn
Date: Fri, 11 Sep 1992 21:54
Date: Fri, 11 Sep 1992 21:54
56 lines
2158 bytes
2158 bytes
In article <5426@dove.nist.gov> bagwill@swe.ncsl.nist.gov (Bob &) writes: >What should be in ae, as, and ac to get a termcap-using program to use >the graphics characters? Thanks eA str (P) Enable alternate/graphic character set as str (P) Enter alternate/graphic character set mode ac str Graphic character set pairs aAbBcC \- def=VT100 ae str (P) Exit alternate/graphic character set mode The way this is supposed to work is: eA is whatever is needed as a one-time initialization to allow the other codes to function. as enters the alternate-character-set mode. Line-drawing characters are just "alternate" glyphs displayed when "normal" characters are sent to the terminal while it's in this mode. ae leaves the alternate-character-set mode, so that normal characters will subsequently display normally. The ac string consists of adjacent pairs of (VT100,your-terminal) characters; the VT100 member is the normal character which produces a defined line-drawing glyph when sent to a VT100 in alternate- character-set mode, and the your-terminal member is the corresponding character that produces the SAME GLYPH when sent to YOUR terminal while it is in alternate-character-set mode. In principle, the VT100 termcap entry should include something like: :ac=++,,..00II--''aaffgghhjjkkllmmnnooqqssttuuvvwwxx~~: because obviously the two characters in each pair are identical for VT100 terminal type! + right-arrow , left-arrow . down-arrow 0 solid square block I lantern - up-arrow ' diamond a checkerboard f degrees g plus-or-minus h square board j LRC of box k URC of box l ULC of box m LLC of box n H/V crossing o scan-line 1 q horizontal s scan-line 9 t left-tee u right-tee v down-tee w up-tee x vertical ~ bullet
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads