home bbs files messages ]

Just a sample of the Echomail archive

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

 Message 15992 
 Daniel to All 
 Weirdness with backspace on python and b 
 15 Oct 25 06:30:01 
 
MSGID: <87plapv8bg.fsf@rpi3> 352f2693
PID: PyGate 1.0
TID: PyGate/Linux 1.0
CHRS: ASCII 1
TZUTC: 1100
REPLYADDR me@sc1f1dan.com
REPLYTO 3:633/10 UUCP
I have a few tools on my bbs written in bash or python which
prompts the user to type into a field. The normal characters output
properly, but if I use backspace, I end up getting some sort of ascii
output of the key values. Or something. Below is the screen output for each
key I press. I don't care if arrows work or not. But I'd like backspace
to work as designed instead of spamming my screen.

Key              Output
Backspace        ^H
Right arrow      ^[[C
Left Arrow       ^[[D

So I can't even erase what I have in the field and need to start
over every time.

I've tried to explicitly define those keys as what they are in
code but, my skills need improvement because none of it worked. I tried
using AI in the past but it gave me some bugged crap that took more time
to debug than it would've taken if I just coded it on my own. I'm asking
for insight from yalls fine people. What can I do to fix this? I'm
hoping the solution is simple. 

Using syncterm 1.8b updated Oct 6, 2025.

Thanks,

Daniel

--- PyGate Linux v1.0
 * 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