home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!mimsy!afterlife!adm!smoke!gwyn
- From: gwyn@smoke.brl.mil (Doug Gwyn)
- Newsgroups: comp.terminals
- Subject: Re: termcap and vt100/xterm ae,as,ac
- Message-ID: <19158@smoke.brl.mil>
- Date: 11 Sep 92 21:54:18 GMT
- References: <5426@dove.nist.gov>
- Organization: U.S. Army Ballistic Research Lab, APG MD.
- Lines: 56
-
- 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
-