termcap

Bill Campbell bill at celestial.com
Thu Apr 19 09:29:08 PDT 2018


On Thu, Apr 19, 2018, Bob Rasmussen via Filepro-list wrote:
>Your attachment did not come through. I don't think they're allowed.

When attachments are scrubbed, the message will have a note to that effect
with a URL where you can get it from the Mailman server.

I usually hack the 'p' startup script to do things like set the
TERM environment variable and do any 'stty' commands necessary.

Generally I prefer using Ctrl-C as the break as it's common to
any system other than ancient SCO Xenix and Unix.  The DEL key
doesn't always send the same thing, for instance it sends [3~
on the Linux system I'm using under and xterm (that's ESC [ 3~).

Another issue is that not all VTxxx terminals send the same codes
for function keys nor do all xterms recognize the same codes so
picking the correct termcap can be a bit tricky.  Here's a case
where 'vi' is your friend.  Using the Ctrl-V prefix, you can
display the codes sent by function keys on your system.  On the
one I'm using it shows the following (the first character is ESC).

	F1	[11~
	F2	[12~
	F3	[13~

I could go on a rant aboud Microsoft using the ESC as a
standalone character instead if the start of a multicharacter
command sequence as $DEITY intended :-).  That's why FilePro uses
ESC-ESC instead of a single ESC character.

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www2.celestial.com/ PO Box 820; 6641 E. Mercer Way
Mobile:         (206) 947-5591  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc

Freedom from prices is freedom from responsibility. You can simply pass
laws, using the magic wand of government to satisfy your own desires at
unspecified costs to be paid by others. -- Thomas Sowell Aug 2000


More information about the Filepro-list mailing list