Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!pbox!okstate!vasoll From: vasoll@okstate.UUCP Newsgroups: comp.sys.att Subject: Using async_main without the ua on the UNIX PC Message-ID: <2839@okstate.UUCP> Date: Mon, 16-Nov-87 17:50:12 EST Article-I.D.: okstate.2839 Posted: Mon Nov 16 17:50:12 1987 Date-Received: Fri, 20-Nov-87 23:15:48 EST Organization: Oklahoma State Univ., Stillwater Lines: 28 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