home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / msdos / pcgeos / 2129 < prev    next >
Encoding:
Internet Message Format  |  1992-12-26  |  3.1 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: The Adventures of Shag, in the GeoComm Dimension....
  5. Keywords: Debugging without a Debugger.  Ack Ptooie.
  6. Message-ID: <Dec.26.01.42.57.1992.9076@pilot.njin.net>
  7. Date: 26 Dec 92 06:42:57 GMT
  8. Organization: Screaming in Digital, the Queensryche Digest
  9. Lines: 54
  10.  
  11. This evening, I got bored, so I deliberately blew the living heck out of
  12. GeoComm something close to 3 dozen times, all for the sake of learning more
  13. trivial facts about its behaviour.  
  14.  
  15. The VT-100 "cs" (change scroll region) command is still the only documented
  16. culprit.  If you are on a unix box, "echo '^[[1;24r'" can be a whole load of
  17. fun.  (the ^[[ is gotten by hitting CTRL-V then ESC, by the way.)  Typical
  18. results include random selections from the GeoCrash Jukebox.
  19.  
  20. So far, nothing you didn't already know.  Time to change that.
  21.  
  22. First off:  Only the first 5 lines of GeoComm's screen have this behaviour,
  23. at least on my system.  I can connect to the unix, run Screen, run VI under
  24. screen, and make the system spit out as many "cs" codes as my heart desires,
  25. as long as the cursor isn't in the top 5 lines of the window when I do it.
  26. (Incidentally, GeoComm has lots of trouble redrawing EMACS windows when I'm
  27. working in the first few lines too, although it doesn't crash.)
  28. When I just echo the code itself from the command line, though, it doesn't
  29. matter where I am on the screen, it GeoCrashes.
  30.  
  31. Secondly: VT100.TC lists code 25 as being: 
  32.     \E[%i%d;%i%dr
  33.     That's esc-[-increment-integer-;-increment-integer-r
  34. /etc/termcap on this unix host lists the "cs" code as being:
  35.     \E[%i%d;%dr
  36.     That's esc-[-increment-integer-;-integer-r
  37. Note the lack of the second "increment" (%i) function.  I modified VT100.TC
  38. by removing the second %i, and I _think_ I was actually able to insert lines
  39. in VI under Screen without GeoCrashing, but it was kinda difficult to tell,
  40. because it only put text in the top line of the window, ignoring the other
  41. 23 lines altogether. ;)  [You try to fix one thing, and something else goes,
  42. this reminds me of my days as a DOS programmer ;)]
  43.  
  44.     So, once again, I do NOT save the day (foo, foo, foo!) but at least
  45. there's a little more food for thought.  A brief recap:
  46.  
  47. *    The vt-100 "cs" code doesn't seem to bother GeoComm when the cursor
  48.     is below the 5th line of the GeoComm window.
  49.  
  50. *    The stock unix vt-100 termcap lists the "cs" code as \E[%i%d;%dr and
  51.     GeoComm's VT100.TC termcap lists it as \E[%i%d;%i%dr - not the same.
  52.  
  53.     As always, if anyone wants to apply these ideas and maybe find a fix,
  54. please feel free.  Comments are also welcome (better here than in mail, someone
  55. else might actually find this interesting... ;).
  56.  
  57.     Have a happy holiday, or I'll put "cs" codes in my posts!  *evil grin*
  58.  
  59.                 -Shag
  60. -- 
  61. Shag                    | Operator, ShagNET | Editor of "Screaming in Digital" 
  62. birchall@pilot.njin.net |  Rutgers / NJIN   |  The Queensryche E-mail Digest 
  63. birchall@njin.bitnet    | dialup access for | queensryche-owner@pilot.njin.net
  64. shag@most.other.places  | Burlington County | Anything Queensryche, every week
  65.