home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / msdos / pcgeos / 2133 < prev    next >
Encoding:
Internet Message Format  |  1992-12-27  |  7.4 KB

  1. Path: sparky!uunet!dziuxsolim.rutgers.edu!pilot.njin.net!birchall
  2. From: birchall@pilot.njin.net (Shag)
  3. Newsgroups: comp.os.msdos.pcgeos
  4. Subject: GeoComm - what works, what doesn't.
  5. Summary: If I had a social life, I wouldn't torture GEOS all night.
  6. Keywords: good implementations, bad implementations, non-implementations.
  7. Message-ID: <Dec.27.00.30.18.1992.20087@pilot.njin.net>
  8. Date: 27 Dec 92 05:30:18 GMT
  9. Organization: Screaming in Digital, the Queensryche Digest
  10. Lines: 130
  11.  
  12. My notes on GeoComm's implementation of VT100.
  13.  
  14. Code 0 - bl. CTRL-G.    Nice standard bell.
  15. Code 1 - le. CTRL-H.    Good old backspace.
  16. Code 2 - ta. CTRL-I.    Tab - no surprise here.
  17. Code 3 - do. CTRL-J.    Cursor down, works nicely.
  18. Code 4 - cr. CTRL-M.    The ever-popular ENTER key.
  19. Code 5 - sf. ESC-M.    Scroll-forward.  This would logically be bound to
  20.             page-down, but doesn't seem to be, although page-down
  21.             scrolls forward _locally_.  ESC-M also doesn't seem
  22.             to scroll forward in VI or Emacs.  It may be
  23.             _generated_ by a half-screen scroll in either of
  24.             those editors.  I haven't checked to see yet, so I
  25.             don't think I'll delete that line. :)
  26. Code 6 - ku. ESC-OA.    Up-arrow.  My cursor keys work quite nicely in VI and
  27.             Emacs.  I can't bind them for tcsh edit-mode, but
  28.             that's not GeoComm's fault.
  29. Code 7 - kd. ESC-OB.    Down-arrow.
  30. Code 8 - kr. ESC-OC.    Right-arrow.
  31. Code 9 - kl. ESC-OD.    Left-arrow.
  32. Code 10- k0. ESC-OP.    F1.  Does not do anything.
  33. Code 11- k1. ESC-OQ.    F2.  Back to the welcome screen.  So much for F-keys!
  34. Code 12- k2. ESC-OR.    F3.  I'm not _stupid_ enough to hit this!
  35. Code 13- k3. ESC-OS.    F4.  See F1.  What was the programmer thinking? :)
  36. Code 14- cl. Lengthy.    Perfectly implemented VT-100 clear.
  37. Code 15- ks. Lengthy.    Num on.  This does not affect the _local_ numlock.
  38. Code 16- ke. Lengthy.    Num off.  I suspect ks/ke means keypad start/end.
  39.             Since PC's don't have VT-style keypads, this seems
  40.             very silly to implement in a PC-based OS.  For some
  41.             reason, VI triggers ks and ke when it starts and ends,
  42.             so deleting 15 and 16 would result in stray control
  43.             characters being printed to the screen, I suppose.
  44. Code 17- up. ESC-[A.    Cursor up.  Not to be confused with up-arrow.  When
  45.             I _send_ a ku (up-arrow) to VI, it _responds_ with an
  46.             up (cursor-up), actually moving the cursor.
  47. Code 18- nd. ESC-[C.    Cursor right.  I don't know what the "nd" stands for.
  48. Code 19- ho. ESC-[H.    Cursor home.  Works nicely.
  49. Code 20- cd. ESC-[J.    Clear to end of screen.  Works fine.  What confuses
  50.             me is that sending a ho (cursor home) followed by a
  51.             cd (clear to end of screen) would _seem_ to require
  52.             less characters than a cl (clear/home).  But if that
  53.             is the way DEC wants it to be, that's what GeoComm
  54.             has to emulate, I guess.
  55. Code 21- ce. ESC-[K.    Clear to end of line.  Does what it says.
  56. Code 22- me. ESC-[m.    Normal mode (no graphics, bold, reverse, or blink)
  57. Code 23- sc. ESC-7.    Save location of cursor.  Nifty little feature.
  58. Code 24- rc. ESC-8.    Restore cursor to saved location.  Fun.
  59. Code 25- cs. Lengthy.    Change scroll region.  GeoCrash Roulette.
  60. Code 26- cm. Lengthy.    Move cursor to coordinates.  Works perfectly.
  61. Code 27- md. ESC-1;1m.    Bright.  GeoComm doesn't _do_ bright/bold.  Feh. :(
  62. Code 28- us. ESC-1;4m.  Underscore.  Not defined in stock VT100.TC, but it
  63.             works anyway.  I put it into my copy of the file, and
  64.             it didn't _stop_ working, but I want to know why it
  65.             worked without being told to!
  66. Code 29- mb. ESC-1;5m.    Blink.  GeoComm doesn't _do_ blinking.  Feh^2. :(
  67. Code 30- mr. ESC-1;7m.    Reverse text.  Works just fine.  If anyone's wondering
  68.             why code 30 is at the _end_ of the stock VT100.TC file
  69.             I have no clue - I moved it up to its logical position
  70.             and it worked just fine there.  Oh well. :)
  71. Code 31- al. ESC-[L.    Insert line.  Works just fine.
  72. Code 32- bt. Undefined.    Back Tab - VT100's dont seem to have this function. ;)
  73. Code 33- dl. ESC-[M.    Delete line.  Works just fine.
  74. Code 34- dc. ESC-[P.    Delete character.  Works, but it would be much nicer
  75.             if we had a key to correspond to it... ;)
  76. Code 35- ic. Undefined. Insert Character - VT100's don't have this function,
  77.             instead they apparently toggle insert mode on and off.
  78. Code 36- ts. Undefined. Go to status line, or mode... This is something that
  79.             a VT100 doesn't seem to do, and since most emulators
  80.             don't even have status lines, they definitely don't.
  81. Code 37- im. ESC-[4h.    Insert mode.  Works like you'd expect it to, and seems
  82.             to be on most of the time.
  83. Code 38- ei. ESC-[4l.    Leave Insert mode.  Neat if you want to overwrite,
  84.             but not frequently called.
  85. Code 39- sr. ESC-D.    Scroll reverse.  This would be page-up, except, well,
  86.             see the bit about page-down, way up top. :)
  87. Code 40- is. Lengthy.    Terminal initialize string.  GeoComm doesn't have one
  88.             defined, and the VT100 initialization string is long
  89.             and hard to generate, so don't worry about it. :)
  90. Code 41- rs. Lengthy.    Reset to "sane" settings.  Even more lengthy than the
  91.             init string - apparently sanity takes more characters
  92.             to achieve.  This one is also left undefined in 
  93.             GeoComm (implying that either the software, the
  94.             programmer, or the users are, of course, not sane).
  95. Code 42- ac. Lengthy.    Graphics on.  All the people who know why this command
  96.             is implemented are kept under armed guard.  I have not
  97.             been able to find any way to trigger it, and the few
  98.             times my terminal _has_ gone into graphics mode have
  99.             been rather unpleasant.  VT100 graphics suck, anyway.
  100. Code 43- cv. Lengthy.    Set row.  This is a subset of code 26, cm.  Like code
  101.             26, it works.
  102. Code 44- ch. Lengthy.    Set column.  Another functional subset of code 26.
  103. Code 45- ue. ESC-[m.    Underscore off.  Same code as "normal mode."  Left
  104.             undefined in VT100.TC, since it'd be redundant.
  105. Code 46- se. ESC-[m.    Reverse(?) off.  Redundant, left undefined.
  106. Code 47- st. ESC-H.    Set Tab.  Not defined in VT100.TC, and I haven't
  107.             tried implementing it yet, since I like my tabs.
  108. Code 48- ct. ESC-[3g.    Clear Tab.  Ditto.
  109. Code 49- vb. ESC-vb.    Visual Bell.  It works, flashing the entire 80x24
  110.             display.  Look, mommy, my computer's having an orgasm!
  111. Code 50- DO. Lengthy.    Cursor down many.  Works fine.
  112. Code 51- LE. Lengthy.    Cursor left many.  Works fine.
  113. Code 52- RI. Lengthy.    Cursor right many.
  114. Code 53- UP. Lengthy.    Cursor up many.
  115. Code 54- pb. ESC-splat.    Paintball.  Not supported by VT100, left undefined in
  116.             GeoComm.  Sends terminal out to play with John and
  117.             fellow GeoWorkers.
  118.  
  119. Summary:
  120.  
  121. - Putting \E[1;1m in for code 27 won't cause a crash, but since GeoComm does
  122.     not do bold/bright, you'll just get plain text.
  123. - Putting \E[1;4m in for code 28 won't cause a crash, but GeoComm already
  124.     does underlining correctly _without_ the code being defined in the
  125.     .tc file, which confuses me.  I put it in just to be on the safe side.
  126. - Putting \E[1;5m in for code 29 won't cause a crash, but since GeoComm does
  127.     not do blink, you'll just get plain text.
  128. - Putting \E[m in for codes 45 and 46 probably won't cause a crash, but since
  129.     GeoComm already recognizes it as meaning "normal mode," there's no
  130.     need for them, and they would be redundant.
  131.  
  132. - If you read this far, I'm not the only one in need of a social life.
  133.  
  134. Shag
  135.  
  136.  
  137. -- 
  138. Shag                    | Operator, ShagNET | Editor of "Screaming in Digital" 
  139. birchall@pilot.njin.net |  Rutgers / NJIN   |  The Queensryche E-mail Digest 
  140. birchall@njin.bitnet    | dialup access for | queensryche-owner@pilot.njin.net
  141. shag@most.other.places  | Burlington County | Anything Queensryche, every week
  142.