gary@sun.mcs.clarkson.edu (Gary Levin) (03/24/88)
Two questions: (1) Under Unix, /dev/tty is always the terminal, regardless of redirection (unlike stdin). Under MS-DOS, `con' is the equivalent of /dev/tty. Is there an equivalent *file name* (not a FILE*) under LSC? (2) Asked earlier, but with no responses. Is there an equivalent to `system' under LSC? Nothing is listed in the LSC manual. Essentially, I need to be able to suspend the current processes, open an application, and when the application completes, return to my application. This is mainly to get to an editor, although I could imagine other uses. With the editor in mind, is there a PD editor that can be installed as a DA? This would solve my immediate problem. Thanks, Gary Levin (gary@clutx.clarkson.edu, gary@clutx.bitnet)
km@cadre.dsl.PITTSBURGH.EDU (Ken Mitchum) (03/25/88)
(Sorry about posting this but our mailer choked on your system.) In article <619@sun.mcs.clarkson.edu> gary@sun.mcs.clarkson.edu (Gary Levin) writes: > Is there an equivalent to `system' under LSC? Nothing is listed > in the LSC manual. Essentially, I need to be able to suspend the > current processes, open an application, and when the application > completes, return to my application. What you want is called (by Apple) "sublaunching", and is a fairly recent addition to the system calls. It is documented in Technical Note #126 (I think). Check info-mac@sumex-aim.stanford.edu for the TN.