Original problem:
After configuring /etc/uucp/Devices such that I could use
"cu" to connect and manually dial a modem on ttya, running
"cu -l /dev/cua/a -s 19200" resulted in "Parity option error".
Solution:
Apparently the default ioctl settings for terminal windows
in Solaris 2.3 include "parenb" and "cs7". "cu" appears to
use these options to speak with the modem and fails. If
you set "-parenb" and "cs8", all is well.
% stty -a
speed 9600 baud;
rows = 24; columns = 80; ypixels = 316; xpixels = 579;
eucw 1:0:0:0, scrw 1:0:0:0
intr = ^c; quit = ^|; erase = ^?; kill = ^u;
eof = ^d; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^q; stop = ^s; susp = ^z; dsusp = ^y;
rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v;
parenb -parodd cs7 -cstopb hupcl cread -clocal -loblk -crtscts -parext
-ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon -ixany -ixoff imaxbel
isig icanon -xcase echo echoe echok -echonl -noflsh
-tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel
% cu -l /dev/cua/a -s 19200
Parity option error
% stty -parenb cs8
% !cu
cu -l /dev/cua/a -s 19200
Connected
at
OK
~[cygnus].
Disconnected
%
The file /kernel/drv/options.conf controls the defaults for your
terminal window; normally they are set for 8 bit clean operation.
So how did my setup get into a 7 bit mode? 'Twas my own fault.
My .cshrc contained "stty sane" to attempt to grab a decent set of defaults,
at which point I would set some of my normal preferences. The "sane"
set list contains "cs7" and "parenb". Go figure.
Many thanks to:
Ken Nawyn <kn@Tudor.Com>
graemer@unisys.co.nz
Jeff LaCoursiere
Network Admin
UPRC
Ft. Worth, TX
/**********************************************************************
THE MAGIC WORDS ARE SQUEAMISH OSSIFRAGE
**********************************************************************/
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:15 CDT