NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Problems with stty?



I'm trying to work some serial port magic, but when I use stty to change
the speed, it defaults back to 9600.

If I say 'stty -f /dev/tty04 speed 19200', the device responds
9600

Also if I do 'stty -e -f /dev/tty04' after that, the device will show a
baud rate back at 9600.

If I say 'stty -f /dev/tty04 speed 19200 speed', the device responds
9600
19200

but again, if I do a 'stty -e -f /dev/tty04' after it, it shows the
baud rate back at 9600.

I'm working with the pucdata.c device driver, adapted to work with a
B&B Electronics card, but don't see what could be causing this problem.

Also, 'clocal' won't stick.  Looks like it always defaults back to the
original settings (which by the way, are defaulted where???)

David Dudley
BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:David Dudley
TEL;WORK:880-3740
ORG:;MIS
TEL;PREF;FAX:880-3741
EMAIL;WORK;PREF;NGW:DavidDu%cctexas.com@localhost
N:Dudley;David
END:VCARD



Home | Main Index | Thread Index | Old Index