summaryrefslogtreecommitdiffstats
path: root/usr.bin/script
Commit message (Collapse)AuthorAgeFilesLines
* Mention default time between output flushes in manual page.jkoshy1998-09-291-2/+3
| | | | | PR: docs/8009 Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
* Fix the following bugs:des1998-09-191-19/+27
| | | | | | | | | | | | | | | | | - if a command was specified and script(1) failed to execute it, it would print the name of your shell in the error message instead of that of the command that failed. - since finish() was installed as a SIGCHLD handler, it would often run before the main loop had had time to process the last few bytes of output. This resulted in very strange truncated error messages. - script(1) would almost always return with an exit status of 0, even if the command returned a non-zero exit status. This broke my 'build world, install it and rebuild the kernel' scripts because 'make installworld' would run even if 'make buildworld' had failed.
* Fix a bunch of spelling errors.steve1998-06-041-2/+2
| | | | | PR: 6856 Submitted by: Josh Gilliam <josh@quick.net>
* Rewrite script as a select loop rather than as a twin reader/write process.peter1998-03-082-75/+96
| | | | | This allows simple logging of keys sent to a session (turned on with -k). Also allow specifying the script file flush interval.
* Fix typo while copying patch from the 2.2 system that it came frompeter1997-12-301-3/+3
| | | | Use execvp rather than execv so that full paths are not needed.
* script(1) has annoyed me with it's inflexable command argument parsingpeter1997-12-292-14/+43
| | | | | since I first saw it. I finally needed to pass arguments through to the spawned command badly enough (and urgently) that I threw this together.
* Add usage(). Use err(3) instead of local redefinition.charnier1997-08-082-42/+24
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Don't use __dead or __pure in user code. They were obfuscationsbde1996-09-141-7/+7
| | | | | | for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong.
* Delete bogus referneces to timezone code internal header file `tzfile.h',wollman1995-08-071-2/+1
| | | | which is no longer bogusly installed in /usr/include.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-273-0/+398
OpenPOWER on IntegriCloud