Termcap (was Re: FilePro from Linux xterm or other terminal?)

Bill Campbell bill at celestial.com
Sat Aug 28 10:54:13 PDT 2010


On Fri, Aug 27, 2010, Kenneth Brody wrote:
>On 8/27/2010 1:10 PM, Bill Campbell wrote:
>[...]
>> Back in the day, FilePro would search two termcaps, /etc/termcap,
>> or the file in the TERMCAP environment variable, then the
>> appl/fp/termcap file.  This was to get around the 1024 character
>> limitation on the termcap entries for a particular terminal.  I
>> think it merged the two, generally getting the key codes, cursor
>> control, etc. from the first, and the FP specific P? and L? codes
>> were define in the fp/termcap file.
>
>filePro still uses both /etc/termcap (or $TERMCAP) and $PFPROG/fp/termcap. 
>It will use all entries from both termcap files (as opposed to some from 
>one, and others from the other), and anything in filePro's termcap will 
>override the "normal" termcap.

Does that mean I have to hack $PFPROG/fp/termcap instead of
creating a copy which is specified in the $TERMCAP variable?  I
really don't like hacking distribution versions of files like
that or /etc/termcap as vendor updates will probably nuke my
changes.  Needless to say, I learned this the hard way.

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

Among the many misdeeds of the British rule in India, history
will look upon the act of depriving a whole nation of its arms as
the blackest. -- Mohandas Gandhi 1927,


More information about the Filepro-list mailing list