Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Dec 94 07:53:58 EST
From:      starner.mark@HAN.UnisysGSG.COM
To:        questions@freebsd.org
Subject:   CRTSCTS and /etc/rc.serial
Message-ID:  <9412201253.AA25428@hpwisf1.HAN.UnisysGSG.COM>

next in thread | raw e-mail | index | archive | help

I am setting crtscts in /etc/rc.serial....

but once I login over the modem, crtscts goes away....

what do I have to set to make it permanent?
Is there something i can set in /etc/gettytab?

Does each user have to put the appropriate stty in their .login?

in /etc/rc.serial i have:

comcontrol /dev/tty01 dtrwait 300
stty -f /dev/tty01 -clocal crtscts cs8 hupcl -ixon -ixoff 115200 reprint ^R

If I do an stty -a -f /dev/tty01 before logging in it looks like:
speed 115200 baud; 0 rows; 0 columns;
lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl
        -echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin
        -nokerninfo -extproc
iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel -ignbrk
        -brkint -inpck -ignpar -parmrk
oflags: -opost -onlcr -oxtabs
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb crtscts -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
        eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
        min = 1; quit = ^\; reprint = ^R; start = ^Q; status = <undef>;
        stop = ^S; susp = ^Z; time = 0; werase = ^W;

After loggin in it looks like:
speed 115200 baud; 24 rows; 80 columns;
lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl
        -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
        -extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
        brkint -inpck -ignpar -parmrk
oflags: opost onlcr -oxtabs
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
        eol2 = <undef>; erase = ^H; intr = ^C; kill = ^U; lnext = ^V;
        min = 1; quit = ^\; reprint = ^R; start = ^Q; status = <undef>;
        stop = ^S; susp = ^Z; time = 0; werase = ^W;


and it retains these settings through multiple logins.

Any ideas?

Thanks
Mark




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9412201253.AA25428>