TERMCAP problem

Brian K. White brian at aljex.com
Wed Jul 23 08:58:05 PDT 2008


----- Original Message ----- 
From: <Frank7767 at aol.com>
To: <filepro-list at lists.celestial.com>
Sent: Wednesday, July 23, 2008 7:09 AM
Subject: TERMCAP problem


> System SCO Unix 6.0
>
> I was experimenting with /appl/fp/termcap  I labeled my "modification" 
> and
> went to the FilePRO Directory and entered PFTERM and the modified TERMCAP 
> name.
>
> Turns out I must have misspelled the name because I am getting the error
> [Terminal Type Not Found] when I start filePRO [p] . Now I cannot start 
> Filepro
> to fix the problem.
>
> Question  where can I go to erase or change the PFTERM setting I  entered 
> at
> the filePRO directory?

vi .../appl/fp/termcap
and
vi .../appl/fp/lib/config

In the future, instead of editing the fp config file, just do
PFTERM=whatever ;export PFTERM
manually at the command line before running "p".

That affects only your own session, just the one window, and that only until 
you log out that window.
If the terminal is bad, just do "unset PFTERM", make your changes, set it 
again (don't need to keep doing the export part after the first time.

Also, even after you have it working to your satisfaction, you should not 
define either TERM or PFTERM in the fp config file. TERM should be set by 
the terminal emulator client _only_. I know you use Anzio and Anzio 
definitely does this and the SCO telnetd and sshd definitely both preserve 
it. The only way it wouldn't be appearing in your environment is if you are 
setting TERM in *profile or in an app start script. If you are doing that, 
then, "stop that". And PFTERM should generally just never be set in the 
first place. Hard coding the system or even just the app for one terminal 
just breaks it for every other terminal and there is no need for it.

-- 
Brian K. White    brian at aljex.com    http://www.myspace.com/KEYofR
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro  BBx    Linux  SCO  FreeBSD    #callahans  Satriani  Filk!



More information about the Filepro-list mailing list