home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / terminal / 1125 < prev    next >
Encoding:
Internet Message Format  |  1992-09-12  |  2.0 KB

  1. Path: sparky!uunet!haven.umd.edu!mimsy!afterlife!adm!smoke!gwyn
  2. From: gwyn@smoke.brl.mil (Doug Gwyn)
  3. Newsgroups: comp.terminals
  4. Subject: Re: termcap and vt100/xterm ae,as,ac
  5. Message-ID: <19158@smoke.brl.mil>
  6. Date: 11 Sep 92 21:54:18 GMT
  7. References: <5426@dove.nist.gov>
  8. Organization: U.S. Army Ballistic Research Lab, APG MD.
  9. Lines: 56
  10.  
  11. In article <5426@dove.nist.gov> bagwill@swe.ncsl.nist.gov (Bob &) writes:
  12. >What should be in ae, as, and ac to get a termcap-using program to use
  13. >the graphics characters?  Thanks
  14.  
  15. eA    str    (P)    Enable alternate/graphic character set
  16. as    str    (P)    Enter alternate/graphic character set mode
  17. ac    str        Graphic character set pairs aAbBcC \- def=VT100
  18. ae    str    (P)    Exit alternate/graphic character set mode
  19.  
  20. The way this is supposed to work is:
  21.  
  22. eA is whatever is needed as a one-time initialization to allow the other
  23. codes to function.
  24.  
  25. as enters the alternate-character-set mode.  Line-drawing characters are
  26. just "alternate" glyphs displayed when "normal" characters are sent to
  27. the terminal while it's in this mode.
  28.  
  29. ae leaves the alternate-character-set mode, so that normal characters
  30. will subsequently display normally.
  31.  
  32. The ac string consists of adjacent pairs of (VT100,your-terminal)
  33. characters; the VT100 member is the normal character which produces
  34. a defined line-drawing glyph when sent to a VT100 in alternate-
  35. character-set mode, and the your-terminal member is the corresponding
  36. character that produces the SAME GLYPH when sent to YOUR terminal
  37. while it is in alternate-character-set mode.  In principle, the VT100
  38. termcap entry should include something like:
  39.     :ac=++,,..00II--''aaffgghhjjkkllmmnnooqqssttuuvvwwxx~~:
  40. because obviously the two characters in each pair are identical for
  41. VT100 terminal type!
  42.     +    right-arrow
  43.     ,    left-arrow
  44.     .    down-arrow
  45.     0    solid square block
  46.     I    lantern
  47.     -    up-arrow
  48.     '    diamond
  49.     a    checkerboard
  50.     f    degrees
  51.     g    plus-or-minus
  52.     h    square board
  53.     j    LRC of box
  54.     k    URC of box
  55.     l    ULC of box
  56.     m    LLC of box
  57.     n    H/V crossing
  58.     o    scan-line 1
  59.     q    horizontal
  60.     s    scan-line 9
  61.     t    left-tee
  62.     u    right-tee
  63.     v    down-tee
  64.     w    up-tee
  65.     x    vertical
  66.     ~    bullet
  67.