CSCRIPT
Section: Misc. Reference Manual Pages (1l)
Index
Return to Main Contents
NAME
cscript - record a terminal session
SYNOPSIS
cscript [ -aq ] [ -s
shell
] [
file
]
DESCRIPTION
Cscript
records an interactive session in a file as it appears on the tty.
If
file
is specified, the script is recorded in
file.
Otherwise, the session is recorded in
typescript
in the current directory.
The
-s
option causes
shell
to be used instead of that specified by the
SHELL
environment variable. If
SHELL
is not defined, the default is
/bin/sh.
Other options and their actions are:
- -a
-
Append to the script file. Otherwise, the file is truncated.
- -q
-
Quiet mode. Don't print the time and date at the beginning and
end of the script.
FILES
./typescript
SEE ALSO
sh(1), csh(1), ksh(1) or whatever you use.
DIAGNOSTICS
Various complaints when open(2), fork(2), exec(2),
or pipe(2) calls fail.
BUGS
User input and program output are intercepted by different processes;
they might not appear in the same order in the script file as they did
on the tty.
This is a generic version, using only pipes. It should work on
any reasonable imitation of Unix, but knows nothing about sockets,
Streams or ptys. Programs which care whether they are talking to
a tty might not work right. Commands like ps(1)
which care about process groups probably won't work right.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- FILES
-
- SEE ALSO
-
- DIAGNOSTICS
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 06:33:52 GMT, December 12, 2024