[net.micro.trs-80] TRS Xenix cu parity responses

ospwd@emory.UUCP (Peter Day {EUCC}) (10/08/85)

Here are the responses I received to the following question:
(Thanks for the help!)

/* ---------- "How set parity for cu ?" ---------- */
A friend of mine has a Radio Shack computer on which he runs
Xenix. He is trying to use cu to logon to the mainframe computer
at his school. The mainframe wants even parity, and he says that
he is unable to get Xenix to generate even parity and is thus
unable to logon. Unfortunately, I don't have any more details.
Any helpful suggestions would be appreciated. Please reply
directly to me or at least cc directly to me as I seldom read
these newsgroups.

/* End of text */

From gatech!strick Tue Oct  1 14:58:29 1985

I've played with cu a bit, but not much.

Here's what I would try if there is no other way to set parity:

Before you use cu, start a background process with i/o to
the tty line you will cu on ( suppose /dev/tty2 ) that will
occasionally do a stty evenp ( or whatever you need ):


$ cat >proc
while true 
do
  stty penab evenp       ( or whatever the stupid names are )
  sleep 2
done
^D
$ chmod +x proc
$ proc </dev/tty2 >/dev/tty2 &   ( some systems do stty on stdin, some on out)
$ cu .....


Even if cu tries to change it to wrong, it should get set right again soon.
Parity should be a device attribute, not a path attribute.

-- 
 --  henry strickland  
  --  the clouds project            { akgua allegra hplabs inhp4 }
   --   school of ics / ga tech                         !gatech!strick
    --    atlanta ga 30332

From gatech!amdcad!uiucdcs!uiucuxc!hamilton Wed Oct  2 21:05:37 1985

if his "cu" has shell escapes (~!), have him try doing a "stty even"
AFTER he has started cu and gotten the "connected" message.  i don't
know that it'll work, but it might...

	wayne hamilton
UUCP:	{ihnp4,pur-ee,convex}!uiucdcs!uiucuxc!hamilton
ARPA:	hamilton@uiucuxc.cso.uiuc.edu
CSNET:	hamilton%uiucuxc@uiuc.csnet
USMail:	Box 476, Urbana, IL 61801
Phone:	(217)333-8703

From gatech!ut-sally!ctvax!trsvax!iv Thu Oct  3 07:56:14 1985

After connecting, try doing a "<ENTER>~$stty even" if you're using XENIX 1.3
and a "<ENTER>~$stty parenb -parodd cs7" if you're using XENIX 3.0.

This trick should work for just about anything but changing line speed.
----
				IV  (aka John Elliott IV)
				Tandy Systems Software; Fort Worth, TX
				... {convex!ctvax,microsoft}!trsvax!iv
				... cu-arpa.trsvax!iv@Cornell.ARPA