aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/script
Commit message (Collapse)AuthorAgeFilesLines
* MFC: Remove single-space hard sentence breaks.Sheldon Hearn2000-03-061-2/+4
| | | | Notes: svn path=/stable/3/; revision=57783
* MFC: grammar fix. (rev1.9)Bill Fumerola1999-12-131-1/+1
| | | | Notes: svn path=/stable/3/; revision=54580
* $Id$ -> $FreeBSD$Peter Wemm1999-08-292-2/+2
| | | | Notes: svn path=/stable/3/; revision=50581
* MFC: Pass correct name of shell as argv[0].Sheldon Hearn1999-08-111-2/+2
| | | | Notes: svn path=/stable/3/; revision=49647
* Mention default time between output flushes in manual page.Joseph Koshy1998-09-291-2/+3
| | | | | | | | PR: docs/8009 Submitted by: Stefan Eggers <seggers@semyam.dinoco.de> Notes: svn path=/head/; revision=39741
* Fix the following bugs:Dag-Erling Smørgrav1998-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. Notes: svn path=/head/; revision=39481
* Fix a bunch of spelling errors.Steve Price1998-06-041-2/+2
| | | | | | | | PR: 6856 Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36649
* Rewrite script as a select loop rather than as a twin reader/write process.Peter Wemm1998-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. Notes: svn path=/head/; revision=34295
* Fix typo while copying patch from the 2.2 system that it came fromPeter Wemm1997-12-301-3/+3
| | | | | | | Use execvp rather than execv so that full paths are not needed. Notes: svn path=/head/; revision=32108
* script(1) has annoyed me with it's inflexable command argument parsingPeter Wemm1997-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. Notes: svn path=/head/; revision=32083
* Add usage(). Use err(3) instead of local redefinition.Philippe Charnier1997-08-082-42/+24
| | | | Notes: svn path=/head/; revision=27980
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* Don't use __dead or __pure in user code. They were obfuscationsBruce Evans1996-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. Notes: svn path=/head/; revision=18286
* Delete bogus referneces to timezone code internal header file `tzfile.h',Garrett Wollman1995-08-071-2/+1
| | | | | | | which is no longer bogusly installed in /usr/include. Notes: svn path=/head/; revision=9987
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-273-0/+398
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590