Re: backspace shows ^? in serial communication

2013-02-28 Thread Giorgos Keramidas
On 2013-02-26 23:40, s m sperado_n...@yahoo.com wrote:
 hello all,

 i have problem with backspace in freebsd 8.2. when i run a serial
 program to communicate via a serial port to the other system,
 backspace shows ^? in opened terminal.  i use termios and fcntl to
 open, read, write and close serial port. i set erase and erase2 for
 ttyu2(my serial port) but backspace shows ^? yet.

 any body knows what i'm doing wrong? just erase and erase2 should be
 set to backspace works correctly or any other options should be set?

Just run:

stty erase '^?'

in your serial console terminal.  The backspace key sends ^? so you are
seeing it because it's not mapped to 'erase'.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


backspace shows ^? in serial communication

2013-02-26 Thread s m
hello all,

i have problem with backspace in freebsd 8.2. when i run a serial program to 
communicate via a serial port to the other system, backspace shows ^? in opened 
terminal. 
i use termios and fcntl to open, read, write and close serial port. i set erase 
and erase2 for ttyu2(my serial port) but backspace shows ^? yet.

any body knows what i'm doing wrong? just erase and erase2 should be set to 
backspace works correctly or any other options should be set?

any hints or comments are really appreciated.
nada
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org