[comp.emacs] pty driver for SCO XENIX

ag@portnoy.CTS.COM (Keith Gabryelski) (02/25/88)

This post has nothing to do with the previous public domain pty driver
posted to comp.emacs and comp.sources.bugs.

Public domain pty driver originally written by:

Copyright (c) 1987, Jens-Uwe Mager, FOCUS Computer GmbH

Mods (for 3b1) by:

        Eric H. Herrin II
	University of Kentucky Mathematical Sciences Laboratories
 	915 Patterson Office Tower
	University of Kentucky
	Lexington, KY 40506
	eric@ms.uky.edu, eric@ms.uky.csnet, !cbosgd!ukma!eric

	Also modified by:
	Mike "Ford" Ditto
	Chief Executive Hacker, Omnicron Data Systems
	P.O. Box 1721
	Bonita, CA 92002
	(619) 421-1055
	kenobi!ford@crash.CTS.COM, ...!crash!kenobi!ford

Modifications for SCO XENIX {2,3}86 by:

	Keith Gabryelski

	UUCP: {cbosgd, hplabs!hp-sdd, sdcsvax, nosc}!crash!portnoy!ag
	INET: ag@portnoy.cts.com
	ARPA: crash!portnoy!ag@nosc.mil


To download:
	
portnoy Any ACU 2400 16194580259 ogin:--ogin: uucp
portnoy Any ACU 1200 16194580259 "" \r\d\r\c ogin: uucp

The file is ~/pty.tar (or for you compress folks) ~/pty.tar.Z

Pick a directory for this software to reside.  Mine was /usr/sys/conf/pty.
untar and uncompress (if need be) and look at the Makefile.  Add "${FOR286}"
to the CFLAGS line if you are using a 286 machine.

make
make install

When you boot your machine, you should have pty's.  (the old xenix kernel
will be /xenix.old).

To test:
	compile emacs with:

		#define FIRST_PTY_LETTER 'p'
		#define HAVE_PTYS
		#define subprocesses

	and try:
		M-x shell

	When you get a shell prompt try:
		tty	(and)
		stty -a

	You should be on a tty named "ttyp0" or something real similar.

Or:
	date > /dev/ptyp0 &
	cat /dev/ttyp0

		(This should print the date)

Pax, Keith

-- 
-- 
[  Keith   ]  UUCP: {cbosgd, hplabs!hp-sdd, sdcsvax, nosc}!crash!portnoy!ag
[Gabryelski]  INET: ag@portnoy.cts.com      ARPA: crash!portnoy!ag@nosc.mil