home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / palmtops / 4293 < prev    next >
Encoding:
Text File  |  1993-01-08  |  3.4 KB  |  77 lines

  1. Newsgroups: comp.sys.palmtops
  2. Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!nsisrv!nssdcs.gsfc.nasa.gov!williams
  3. From: williams@nssdcs.gsfc.nasa.gov (Jim Williams)
  4. Subject: Re: Trouble with Unix vi and HP95 comm program
  5. Message-ID: <1993Jan8.162244.17602@nsisrv.gsfc.nasa.gov>
  6. Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
  7. Nntp-Posting-Host: nssdcs.gsfc.nasa.gov
  8. Organization: NASA Goddard Space Flight Center, Greenbelt, Maryland
  9. References: <1993Jan8.021637.6063@sol.UVic.CA> <58430@dime.cs.umass.edu>
  10. Date: Fri, 8 Jan 1993 16:22:44 GMT
  11. Lines: 64
  12.  
  13. >Wish also that they had the cursor keys behave like cursor keys in 
  14. >COMM too ... sending the ESC-[A etc. sequences, and ALT-cursor doing the
  15. >scrolling. Very confusing since it is not consistent with the way the
  16. >DOS screen ALT-arrow behaves. Also I miss the cursor keys.
  17.  
  18. Agreed!  I *really* wish the panning in comm was like the panning in
  19. DOS: alt-arrows.  The inconsistency is frustrating.  I also missed the
  20. arrow keys until I discovered an (undocumented?) feature.  In vt100
  21. emulation, the function keys have the following mappings:
  22.  
  23. F1 - ESC O P (PF1)
  24. F2 - ESC O Q (PF2)
  25. F3 - ESC O R (PF3)
  26. F4 - ESC O S (PF4)
  27. F5 - ESC [ A (Cursor Up)
  28. F6 - ESC [ B (Cursor Down)
  29. F7 - ESC [ C (Cursor Forward)
  30. F8 - ESC [ D (Cursor Backward)
  31.  
  32. Unfortunately, most "vt100" termcap and terminfo descriptions expect
  33. the arrow keys to be in the Cursor Key Mode (not ANSI mode) which
  34. sends ESC O {A,B,C,D}, so you need a special termcap.
  35.  
  36. The hp95 termcap I saw earlier today in this newsgroup seems to have a
  37. lot of functionality that my unit lacks.  For example, mine does not
  38. respond to the Set Graphic Rendition codes (blink/underline/reversed)
  39. that were listed.  Perhaps this termcap was for kermit, not the
  40. built-in comm app?  Has anyone else seen the built-in comm app respond
  41. to things like being/end standout mode?  insert/delete line?
  42.  
  43. The "vt100" emulation of the comm app is only vaguely vt100.  For one
  44. thing, it has 25 lines, rather then 24, which can confuse some
  45. programs.  Also it seems to support vt52 and vt100 sequence *at the
  46. same time*!  I've been checking into what escape sequences are
  47. actually supported in the various modes of the comm app and will post
  48. my discoveries soon.
  49.  
  50. I would add the lameness of the comm app to Ed Falk's "bug list".
  51. I'd like to find a comm app that supports all possible features of
  52. the display (blink/rev/underline), supports more ANSI sequences for
  53. things like insert/delete, and is *real small*.  There are several
  54. such programs on the various DOS archives.  Just need some time to
  55. check them out.  But really, I shouldn't have to do this!
  56.  
  57. Note to Ed Falk:  You wanted to be able to insert things into, say,
  58. appointment notes via the serial port.  I don't know how to do that,
  59. but to get a short bit of text into the machine, you can do this in DOS:
  60.  
  61. C> copy aux foo.txt
  62.  
  63. Now send the data for foo.txt into the serial port and end it with a
  64. ^Z.  In some cases, this is faster than the whole
  65. Comm/Transfer/Kermit/...  routine.  If the defaults for aux: aren't
  66. right for you (9600,8,N,1), you'll need a copy of the mode program to
  67. set the serial port first. (I haven't actually tried this yet, but it
  68. ought to work.) 
  69.  
  70. Cheers,
  71. Jim
  72. -- 
  73. Spoken: James W. Williams            Company: Hughes STX
  74. Internet: williams@nssdcs.gsfc.nasa.gov        Phone: +1 301 286-1131
  75. USPS: NASA Goddard Space Flight Center; Code 633; Greenbelt, MD 20771
  76. Maryland Car Tags: DEV CAR
  77.