[comp.unix.xenix.sco] Need help in setting terminal attributes during outgoing "cu"

michael@yonder.UUCP (Michael E. Haws) (06/04/91)

I have an SCO xenix 2.3.2 machine and have the need to adjust the 
port characteristics on an outgoing "cu" connection for this one
_particular_ machine I need access to.  I need to set "ISTRIP" in particular.
The method for doing this on my sun does not work on SCO xenix,
and I have been able to locate any relevant info in my SCO documentation.
If someone could point me in the right direction I would be
much obliged.

Thanks

Michael
-- 
Michael E. Haws             "Keep the blue side up"          w - (303) 986-2370
boulder!yonder!michael                                       h - (303) 232-0628
michael%yonder@csn.org

mike@bria.UUCP (mike.stefanik) (06/07/91)

In an article, michael@yonder.UUCP (Michael E. Haws) writes:
>I have an SCO xenix 2.3.2 machine and have the need to adjust the 
>port characteristics on an outgoing "cu" connection for this one
>_particular_ machine I need access to.  I need to set "ISTRIP" in particular.

A quote from the Holy Tome:

	In addition, cu uses the following options to determine communications
	settings:

	-o  If the remote system expects or sends 7-bit with odd parity
	-e  If the remote system expects or sends 7-bit with even parity
	-oe If the remote system expects or sends 7-bit, ignoring parity
	    and sends 7-bit with either parity

	By default, cu expects and sends 8-bit characters without parity.
	If the login prompt received appears to contain incorrect 8-bit
	characters, or a correct login is rejected, use the 7-bit options
	described above.

So, in this case, use -oe.  Works fine, lasts a long time.

-- 
Michael Stefanik, MGI Inc, Los Angeles | Opinions stated are never realistic
Title of the week: Systems Engineer    | UUCP: ...!uunet!bria!mike
-------------------------------------------------------------------------------
If MS-DOS didn't exist, who would UNIX programmers have to make fun of?