MYSTIC------------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 54 из 62
 От   : Daniel                              3:633/10          20 окт 25 12:00:01
 К    : All                                                   20 окт 25 04:10:02
 Тема : Re: Weirdness with backspace on python and bash
----------------------------------------------------------------------------------
                                                                                 
@MSGID: <87h5vul9u1.fsf@rpi3> acb66326
@REPLY: <a3ff5bfc.2.250.5@vk3heg.net> 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 <usenet@vk3heg.net> 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: 19/10 50/109 153/757 154/10 218/840 840
220/70 221/1 6 360 226/17
SEEN-BY: 226/100 229/426 664 240/1120 267/800
280/464 292/854 301/1 113 708
SEEN-BY: 335/364 341/66 234 633/10 267 280 384
410 414 418 420 422 509 2744
SEEN-BY: 712/848 770/1 3 100 340 350 772/210 220
230 5000/111 5019/40
SEEN-BY: 5020/329 715 830 848 1042 4441 12000
5030/49 1081 5053/51 5061/133
SEEN-BY: 5075/128 5083/1 444
@PATH: 633/10 280 770/1 218/840 221/6 301/1
5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх