termcap
Richard D. Williams
richard at appgrp.net
Thu Apr 19 07:26:27 PDT 2018
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 filePro v5.0 to the new server, I now need
>>>> a termap which is set and mapped to work with "anzio" v17 available
>>>> emulations where function keys, DEL key work as one has grown used
>>>> to ...
>>>>
>>>> If you wish to share it, you can share it with the community and
>>>> that will be greatly appreciated. If you wish to sale it, and wish
>>>> to contact me privately, you can do so and yet, I do not mind if
>>>> you simply let us all know what the price is (who knows, there
>>>> might be others looking for a copy of it as well).
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> --
>>>> Jose D. Lerebours
>>>> 954-559-7186
>>>> https://www.cargosaas.com
>>>> http://www.ezbookeep.com
>>>> http://www.ezdaemon.com
>>>> http://www.fp2php.com
>>>>
>>>> _______________________________________________
>>>> Filepro-list mailing list
>>>> Filepro-list at lists.celestial.com
>>>> Subscribe/Unsubscribe/Subscription Changes
>>>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>>>
>>>
>>> Regards,
>>> ....Bob Rasmussen, President, Rasmussen Software, Inc.
>>>
>>> personal e-mail: ras at anzio.com
>>> company e-mail: rsi at anzio.com
>>> voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
>>> fax: (US) 503-624-0760
>>> web: http://www.anzio.com
>>> street address: Rasmussen Software, Inc.
>>> 10240 SW Nimbus, Suite L9
>>> Portland, OR 97223 USA
>>
>> --
>> Jose D. Lerebours
>> 954-559-7186
>> https://www.cargosaas.com
>> http://www.ezbookeep.com
>> http://www.ezdaemon.com
>> http://www.fp2php.com
>>
>>
>
> Regards,
> ....Bob Rasmussen, President, Rasmussen Software, Inc.
>
> personal e-mail: ras at anzio.com
> company e-mail: rsi at anzio.com
> voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
> fax: (US) 503-624-0760
> web: http://www.anzio.com
> street address: Rasmussen Software, Inc.
> 10240 SW Nimbus, Suite L9
> Portland, OR 97223 USA
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>
> ---
> This email has been checked for viruses by AVG.
> http://www.avg.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20180419/4bc6289c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scoansi
Type: application/octet-stream
Size: 1558 bytes
Desc: not available
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20180419/4bc6289c/attachment.obj>
More information about the Filepro-list
mailing list