home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 15994 
 Daniel to All 
 Re: Weirdness with backspace on python a 
 20 Oct 25 12:00:01 
 
MSGID: <87h5vul9u1.fsf@rpi3> acb66326
REPLY:  664fa834
PID: PyGate 1.5
TID: PyGate/Linux 1.5
CHRS: ASCII 1
TZUTC: 1100
REPLYADDR me@sc1f1dan.com
REPLYTO 3:633/10 UUCP
Christian Sacks  writes:

> On 15 Oct 2025, Daniel said the following...
>
>  Da> each key I press. I don't care if arrows work or not. But I'd like
>  Da> backspace to work as designed instead of spamming my screen.
>  Da>
>  Da> Key              Output
>  Da> Backspace        ^H
>  Da> Right arrow      ^[[C
>  Da> Left Arrow       ^[[D
> When calling the script from the menu editor, do something like;
> Command | (DD) Exec external program
> Data    | stty erase '^H' && /mystic/themes/default/scripts/scriptname.sh
> That's how I got around the backspace as delete issue, this should
> help you find the answer to the other keys too.
> Cheers!
> .... We all live in a yellow subroutine...

Thank you so much broham. It appears, though, I can only implement
one. When I do:

stty erase '^[[C' && stty erase '^DD' && stty erase '^H' ...
the arrow keys still output the junk. 


--- PyGate Linux v1.5
 * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
SEEN-BY: 105/81 106/201 128/187 129/14 305 153/7715 154/110 218/700
SEEN-BY: 226/30 227/114 229/110 111 206 300 307 317 400 426 428 470
SEEN-BY: 229/664 700 705 266/512 280/464 291/111 292/854 320/219 322/757
SEEN-BY: 342/200 396/45 460/58 633/10 267 280 384 410 414 418 420
SEEN-BY: 633/422 509 2744 712/848 770/1 902/26 5075/35
PATH: 633/10 280 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca