fp Termcap issue

Bill Campbell bill at celestial.com
Fri May 29 09:25:59 PDT 2009


On Thu, May 28, 2009, Brian K. White wrote:
>
>
>Douglas Luurs wrote:
>>
>> We???re migrating FilePro from SCO Openserver 6.0 to RedHat Enterprise 
>> Linux 5.3.  We???re trying to get all of our key bindings to match the 
>> old installation by changing /appl/fp/termcap.  We???re having good 
>> success except when changing the BRKY key.  On the old server BRKY was 
>> assigned to Delete whereas on the new server it???s assigned to Ctrl-C.  
>> Within the FilePro developers reference (page 658) I can see that the 
>> termcap code for BRKY is PY.  Trouble is, no matter what I set PY to, 
>> the setting isn???t honored.  I???m able to get our other bindings 
>> changed, just not this one.
>>
>>  
>>
>> Any input you have would be appreciated as this has become a 
>> frustrating problem.
>>
>
>I would use a linux terminal emulator and ctrl-c for break instead of 
>continuing to use scoansi emulation.
>
>To use scoansi emulation you will have to do several things, and, at the 
>console it still won't work and you'll have to use linux or xterm, but 
>scoansi terminal emulators can be made to work.
>
>copy the "ansi" termcap entry from /etc/termcap on sco.
>add it to the beginning on /etc/termcap on linux, and rename it from 
>ansi to scoansi.
>search the rest of the file to be sure there isn't by chance a scoansi 
>provided by redhat. (there will be an "ansi" , leave it alone. don't 
>rename or remove it)

The /etc/termcap may well be replaced during updates undoing your changes.
It's far better to copy /etc/termcap to /usr/local/etc/termcap, edit that,
and set the environment variable TERMCAP to point to that.

TERMCAP=/usr/local/etc/termcap; export TERMCAP

As a general rule, *NEVER* modifiy system files as (a) your modifications
may have unintended consequences, and (b) your modifications may disappear.

That's why $DEITY created /usr/local and environment variables.

...
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

Democracy is two wolves and a sheep voting on what to have for dinner.
Liberty is a well armed sheep. -- Ben Franklin


More information about the Filepro-list mailing list