termcap
Richard Kreiss
rkreiss at verizon.net
Thu Apr 19 07:43:11 PDT 2018
This issue with termcaps is one reason that the Windows version if filePro is easier to implement.
Now, I have run into an odd issue with the latest release of filePro. When creating or updating a screen, the end of field market is sometimes a $ or a ? As support fad not been able to duplicate this, I am of the opinion that this is caused by my video card and its driver. This does not occur in clerk.
My comments have nothing to do with performance (speed).
Richard Kreiss
GCC CONSULTING
Sent from my iPhone
> On Apr 19, 2018, at 10:26 AM, Richard D. Williams via Filepro-list <filepro-list at lists.celestial.com> wrote:
>
> I have always done two things;
>
> 1) in /etc/profile.d/profile.sh
> if [ "$PS1" ]; then
> case $TERM in
> dt100)
> TERM=vt100
> stty intr "^?"
> ;;
> dialup|unknown|"")
> TERM=linux
> ;;
> ansi|ansic|cansi|scoansi)
> TERM=scoansi
> stty erase "^H"
> stty intr "^?"
> stty susp ""
> stty eol ""
> stty rprnt ""
> stty werase ""
> stty eol2 ""
> ;;
> vt100|wy60)
> stty intr "^?"
> ;;
> esac
> fi
>
> This establishes the delete key and backspace function as in scoansi.
>
> 2. Place the attached, /usr/share/terminfo/s/
> Make sure you set the perms like the other entries.
>
> You can use TERM=scoansi and/or PFTERM=scoansi
>
> I think this will work for you.
>
> Richard
>
>
>
>>> On 4/18/2018 8:03 PM, Bob Rasmussen via Filepro-list wrote:
>>>> On Wed, 18 Apr 2018, Jose Lerebours wrote:
>>>
>>> scoansi is the closest thing to work 100%. Lines draw nicely but DEL key does not ... People are having a hard time using Ctrl-C in lieu of DEL.
>>
>> That requires an stty command, which I'm hoping someone else will provide.
>>
>>> Also, when logged in via console, nothing works which makes coding difficult since one cannot use function keys.
>>
>> I believe you have no choice but to use 'linux' at the console. But you don't have to set the same throughout. Let the "terminal" set its own TERM variable. Make your startup script set FPTERM depending on TERM, if necessary.
>>
>>>
>>> Thanks,
>>>
>>>
>>>> On 04/18/2018 08:35 PM, Bob Rasmussen wrote:
>>>> It's been a while since I looked at what comes stock in filePro, but I believe "linux" or "scoansi" should work for terminal type. There's something involving 'stty' (separate from termcap) that sets ctrl-C vs. DEL.
>>>>
>>>>> On Wed, 18 Apr 2018, Jose Lerebours via Filepro-list wrote:
>>>>>
>>>>> So, after having installed a new Linux version of filePro and successfully rolled out fi
More information about the Filepro-list
mailing list