Delete key
Bob Rasmussen
ras at anzio.com
Thu Mar 20 09:33:13 PDT 2014
Here's the chain of command:
In Anzio's case, the delete key typically sends out either the Delete
character (decimal 127) or Esc [ ~ 3, depending on the terminal type
selected and the keys file loaded. Other clients act similarly.
The client tells the server, at login, its terminal type, which becomes
the TERM variable.
The startup script MAY override the TERM variable. It MAY set an FPTERM
variable.
When filePro runs, it looks at the FPTERM variable if it's defined,
otherwise the TERM variable. Then it looks at its own termcap file to find
the appropriate entry.
When the user hits the key, and filePro receives it, it looks through its
termcap entry to find what key function mnemonic it matches, and acts
accordingly.
If all works well, the Delete key is recognized as a delete key, and
deletes the character AT the cursor (the Backspace key typically deletes
the character to the LEFT of the cursor).
Exceptions to the above:
1) If you go through another layer, it could change things.
2) If the stty handling for the port detects the key as a signal, that
takes precedence.
Hope that helps...
On Thu, 20 Mar 2014, William J. McEachran wrote:
> I'm using ssh from another box (ubuntu) but Anzio and putty experience the
> same effect.
>
> It's a client end fix then I take it ... not something I could trigger for
> filepro only on the server side?
>
>
> On Thu, Mar 20, 2014 at 11:54 AM, Fairlight <fairlite at fairlite.com> wrote:
>
>> On Thu, Mar 20, 2014 at 11:49:23AM -0400, William J. McEachran thus spoke:
>>> I've lost my notes on handling this ... perhaps one of you remember.
>>>
>>> In filepro pressing the DELETE key generates a "3~"
>>>
>>> I'd like to have it do nothing or delete the next character.
>>>
>>> Thanks in advance,
>>
>> Your terminal is sending the IBM "Remove" sequence ^]]3~ and filePro
>> doesn't know what to do with it. You need to set your terminal emulaor (or
>> console) to send a different sequence.
>>
>> How you do this depends on what you're using as a client.
>>
>> Deleting the -previous- character is usually what one does, although it
>> could be possible, depending on the client, to send the same sequence sent
>> by the F2 key.
>>
>> What client are you using?
>>
>> mark->
>> --
>> Audio panton, cogito singularis.
>> _______________________________________________
>> Filepro-list mailing list
>> Filepro-list at lists.celestial.com
>> Subscribe/Unsubscribe/Subscription Changes
>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>
>
>
>
> --
> Bill McEachran PMP certified by http://www.pmi.org
> bill.mceachran at gmail.com http://www.wjmceachran.com
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20140320/97ffee97/attachment.html
> _______________________________________________
> 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
More information about the Filepro-list
mailing list