* WHERE-IS library doc * Gather keyboard files, add VIRTUAL.TEDIT * add UNIXCOMM.TEDIT * rest of TEdit library files * save table of contents index for reworking * Don't move around VIRTUALKEYBOARDS files; will move in separate commit * Add MATMULT from Envos/Medley
20 lines
5.3 KiB
Plaintext
20 lines
5.3 KiB
Plaintext
1
|
||
|
||
Lisp Library Modules, Medley Release 2.0, UNIXCOMM
|
||
1
|
||
|
||
Lisp Library Modules, Medley Release 2.0, UNIXCOMM
|
||
UNIXCOMM
|
||
1
|
||
|
||
UNIXCOMM
|
||
1
|
||
|
||
|
||
UNIXCOMM
|
||
6
|
||
|
||
UNIXComm(UNIXCOMM NIL UNIXComm NIL NIL 305) starts up a UNIX process on a Sun Workstation. UNIXComm, with two functions, provides the user with a stream interface to the SunOS(SUNOS NIL SunOS NIL NIL 305 SUBNAME interface% to) Bourne shell.
|
||
Installation
|
||
1
|
||
|
||
Load UNIXCOMM.LCOM from the library.
|
||
User Interface
|
||
1
|
||
|
||
Two functions allow you to open and close SunOS subprocess streams.
|
||
(IL:CREATE-PROCESS-STREAM(CREATE-PROCESS-STREAM (Function) NIL NIL NIL 305) STRING) [Function]
|
||
Interfaces to the SunOS system function (see Chapter 3 of the SunOS Reference Manual). This causes a subprocess running the Bourne shell to be spawned; STRING is passed as a command to it. A bidirectional stream is returned with input reading data which the process writes to its standard output (stdout(STDOUT NIL stdout NIL NIL 305)) and standard error (stderr(STDERR NIL stderr NIL NIL 305)). Output writes data which the process can read from its standard input (stdin(STDIN NIL stdin NIL NIL 305)). EOFP does not return a meaningful value for those streams; instead, you must change the default EOF mechanism for the end of stream.
|
||
(IL:UNIX-STREAM-CLOSE(UNIX-STREAM-CLOSE (Function) NIL NIL NIL 305) STREAM) [Function]
|
||
Returns the numeric status value of the process created by IL:CREATE-PROCESS-STREAM if it has exited; otherwise, kills the process. IL:CLOSE(CLOSE (Function) NIL NIL NIL 305) can be used instead of IL:UNIX-STREAM-CLOSE if the process status value is not of interest.
|
||
[This page intentionally left blank]
|
||
|