[comp.sys.att] Using async_main without the ua on the UNIX PC

vasoll@okstate.UUCP (11/17/87)

Has anyone managed to make the vt100 emulation (/usr/bin/async_main)
work without the ua?  The manual seems to indicate this is as simple
as:

	async_main r path_to_profile:A2 f /dev/tty000

Unfortunately, this seems to block on the open of /dev/tty000 and
is uninteruptible (well, hop over to another window and kill -9 it..., but..).

Some detective work (replacing /usr/bin/async_main with a program that
prints it argc and it's arguments) shows that the ua invokes the thing
as:

	async_main r path_to_profile:A2 f /dev/tty000 p 123 i 6

This form is documented (somewhat), but writing a program to do this
invocation after opening the device (with O_NDELAY set) results in
an immediate message "The line has disconnected" (meaning no carrier
was found, which is true).

Argh!!!  Has anyone encountered and solved this?

Thanks in advance,
-- 
Mark Vasoll
Computing and Information Sciences   Internet:  vasoll@a.cs.okstate.edu
Oklahoma State University            UUCP:  {cbosgd, ihnp4,
Stillwater, Oklahoma                         rutgers}!okstate!vasoll