aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/script/script.1
Commit message (Collapse)AuthorAgeFilesLines
* Add some examples to script.1Mateusz Piotrowski2021-01-201-2/+68
| | | | | | | | | | | While here: - Split synopsis into two parts. The first explains how to record sessions, while the second one explains how to replay (some of) the recorded sessions. - Fix the -width argument of the environment variables list. (cherry picked from commit d41149a8e9cbb76ff89322a3363299f1b93823d2)
* Improve readability of the options listMateusz Piotrowski2021-01-201-2/+2
| | | | (cherry picked from commit 225afb6cad9808af42408875baaa243d6d75d92d)
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Fix SEE ALSO.Sergey Kandaurov2015-08-261-3/+3
| | | | | | | | | The history mechanism applies to csh. Sponsored by: Nginx, Inc. Notes: svn path=/head/; revision=287163
* mdoc: sort SEE ALSO.Joel Dahl2014-12-261-1/+1
| | | | Notes: svn path=/head/; revision=276258
* Add -F to flush output after each write. With this, I canTom Rhodes2013-12-051-1/+8
| | | | | | | | | | | set up a pipe and allow a jr user to watch what I'm doing by running 'script -F pipefile' on it. While here, spell out the month in the .Dd tag like other manual pages. Notes: svn path=/head/; revision=258955
* MFC'ing to 9.2.David E. O'Brien2013-07-301-1/+1
| | | | Notes: svn path=/head/; revision=253814
* Fix version in the .Fx macro.Sergey Kandaurov2013-03-161-1/+1
| | | | | | | Reported by: <deeptech71@gmail.com> Notes: svn path=/head/; revision=248388
* Add "-f" to also output filemon(4) information.David E. O'Brien2012-10-261-2/+10
| | | | Notes: svn path=/head/; revision=242138
* Remove contractions.Joel Dahl2012-10-071-1/+1
| | | | Notes: svn path=/head/; revision=241331
* Mention when -d, -p and -r first hit FreeBSD.Brian Somers2012-07-301-2/+4
| | | | | | | | | | Bump the document date to when the change was made (rather than when the PR was submitted). Suggested by: pluknet Notes: svn path=/head/; revision=238897
* Add d, p and r switches for recording script sessions with timing dataBrian Somers2012-07-301-2/+20
| | | | | | | | | | | and playing sessions back with or without time delays. PR: 114465 Submitted by: ighighi at gmail dot com MFC after: 3 weeks Notes: svn path=/head/; revision=238896
* Fix a few grammar and mdoc nits in script.1Glen Barber2011-09-291-14/+19
| | | | | | | | | | PR: 161088 Submitted by: Ben Kaduk ( kaduk % mit ! edu ) MFC after: 1 week Need-MFC: 225809 Notes: svn path=/head/; revision=225857
* When script(1) reads EOF from input it starts spinning on zero-byteMikolaj Golub2011-09-271-0/+9
| | | | | | | | | | | | | | | | | | | reads eating 100% CPU. Fix this by skipping select on STDIN after reading EOF -- permanently if STDIN is not terminal and for one second if it is. Also after reading EOF from STDIN we have to pass it to the program being scripted. The previous approach was to write zero bytes into the pseudo-terminal. This does not work because zero-byte write does not have any effect on read. Fix this by sending VEOF instead. Submitted by: Ronald Klop <ronald-freebsd8@klop.yi.org> Discussed with: kib, Chris Torek <chris.torek@gmail.com> Approved by: kib MFC after: 1 week Notes: svn path=/head/; revision=225809
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-111-4/+0
| | | | | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson Notes: svn path=/head/; revision=216370
* Fix the grammar after I added a second environmental variable.David E. O'Brien2010-09-191-1/+1
| | | | | | | Submitted by: wxs Notes: svn path=/head/; revision=212832
* + Add the SCRIPT environmental variable to the sub-shell. Its value isDavid E. O'Brien2010-09-161-0/+13
| | | | | | | | | | | the name of the typescript file. + Add the 'command' argument (if supplied on the command line) to the typescript file. This creates a more complete typescript when invoked this way - more equal to invoking script without supplying the 'command' argument. Notes: svn path=/head/; revision=212770
* Deal with double whitespace.Ruslan Ermilov2004-07-031-1/+1
| | | | Notes: svn path=/head/; revision=131507
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-4/+8
| | | | Notes: svn path=/head/; revision=131491
* Bumped document date.Ruslan Ermilov2004-05-191-2/+2
| | | | | | | Fixed markup nit. Notes: svn path=/head/; revision=129433
* Fix SYNOPSIS of manual page, clustering no-arg options correctly.Sheldon Hearn2004-01-221-3/+1
| | | | | | | Sync usage with manpage. Notes: svn path=/head/; revision=124846
* Introduce arguments the standard way. In .Ar command ..., ... is not anPhilippe Charnier2003-09-071-4/+4
| | | | | | | argument, command is. Notes: svn path=/head/; revision=119851
* Use `The .Nm utility'Philippe Charnier2002-04-201-6/+9
| | | | Notes: svn path=/head/; revision=95124
* Remove whitespace at EOL.Dima Dorfman2001-07-151-3/+3
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68963
* Make a run-on sentence into two proper sentences, and clarify the meaningBrian Feldman2000-03-061-3/+2
| | | | | | | a bit. Notes: svn path=/head/; revision=57786
* Remove more single-space hard sentence breaks.Sheldon Hearn2000-03-021-1/+2
| | | | Notes: svn path=/head/; revision=57695
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-1/+2
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57670
* Fix grammar error. (missing verb)Bill Fumerola1999-12-131-1/+1
| | | | Notes: svn path=/head/; revision=54579
* Adjust man page: if command is specified, file name is mandatoryGuido van Rooij1999-11-241-2/+1
| | | | Notes: svn path=/head/; revision=53670
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* 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 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-081-3/+18
| | | | | | | | 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
* script(1) has annoyed me with it's inflexable command argument parsingPeter Wemm1997-12-291-1/+16
| | | | | | | | 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-081-3/+3
| | | | Notes: svn path=/head/; revision=27980
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+123
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590