Re: Weirdness with backspace on python and bash
Daniel <[email protected]> Sat, 06 Dec 2025 23:00:27 -0800
| Newsgroups | alt.bbs.mystic |
|---|---|
| Organization | Newshosting.com - Highest quality at a great price! www.newshosting.com |
| Message-ID | <875xai22us.fsf@rpi3> |
Christian Sacks <[email protected]> writes: > On 20 Oct 2025, Daniel said the following... > > Da> Thank you so much broham. It appears, though, I can only implement > Da> one. When I do: > Da> > Da> stty erase '^[[C' && stty erase '^DD' && stty erase '^H' ... > Da> 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 [email protected]