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