termcap hell

Bill Campbell bill at celestial.com
Mon Jan 30 10:23:02 PST 2017


On Wed, Jan 25, 2017, Walter Vaughan Jr via Filepro-list wrote:
>Yes most of my user's .profile have TERM =xterm ; export TERM

There are at least two sets of function key returns found in
xterm termcap.  You can see what's actually sent by your terminal
program with the 'vi' editor by opening a document, insert text,
then press ctrl-v then the function key which will show something
like this where I'm running an xterm on OS X to a CentOS Linux box.

F1 = [11~
F2 = [12~

Given that info, you can check your termcaps (FilePro uses two,
the one in /etc/termcap or your $TERMCAP environment variable,
and the one that FilePro supplies).  I usually hack the
/usr/bin/p startup script to set TERM and TERMCAP environment
variables to something sane.

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792

About all I can say for the United States Senate is that it opens with
prayer and closes with an investigation. -- Will Rogers


More information about the Filepro-list mailing list