• Re: Weirdness with backspace on python and bash

    From Daniel@3:633/10 to All on Sun Dec 7 20:00:02 2025
    Christian Sacks <usenet@vk3heg.net> writes:

    On 20 Oct 2025, Daniel said the following...

    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.

    You can't map the arrow keys to erase afaik, you'd have to do
    something else or leave them as just arrow keys, which is what I'd
    probably do if it were me.

    If the arrow key can't be used for navigating a text field, said arrow
    keys shouldn't be outputting junk. I was hoping for a way to avoid
    that. Perhaps I should stop using bash scripts as doors and do some real coding.

    D
    sysop Air & Wave BBS
    finger calcmandan@bbs.erb.pw

    --- PyGate Linux v1.5.1
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)