|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0 |
|
| #
2c24df87 |
| 26-Apr-2024 |
Kyle Evans <[email protected]> |
script: handle terminal resize on SIGWINCH
Add a -w flag to forward terminal resize events on to the child, which can be useful in some circumstances to avoid terminal corruption.
Reviewed by: des
script: handle terminal resize on SIGWINCH
Add a -w flag to forward terminal resize events on to the child, which can be useful in some circumstances to avoid terminal corruption.
Reviewed by: des Co-authored-by: Xavier Beaudouin <[email protected]> Sponsored by: Modirum MDPay Sponsored by: Klara, Inc.
(cherry picked from commit 8ceac8e13dccbe4e177c8f2f443b87b7d2e3edb3)
show more ...
|
|
Revision tags: release/13.3.0, release/14.0.0 |
|
| #
b2c76c41 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line nroff pattern
Remove /^\.\\"\s*\$FreeBSD\$$\n/
|
|
Revision tags: release/13.2.0, release/12.4.0 |
|
| #
8e096e24 |
| 26-Oct-2022 |
Dag-Erling Smørgrav <[email protected]> |
script: Correct -F in man page and usage string.
Sponsored by: Klara, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D37138
|
|
Revision tags: release/13.1.0 |
|
| #
31fde973 |
| 10-Mar-2022 |
Simon J. Gerraty <[email protected]> |
script: use %n at the end of default tstamp_fmt
Since we are only outputting time-stamps when they differ ending it with a newline, interferes with the output less.
|
| #
6c4afed5 |
| 09-Mar-2022 |
Simon J. Gerraty <[email protected]> |
script add -T fmt to print time-stamps
script -r is useful for recording time-stamps of when output happened. With -T, rather than playback the script in real-time we simply print the time-stamps t
script add -T fmt to print time-stamps
script -r is useful for recording time-stamps of when output happened. With -T, rather than playback the script in real-time we simply print the time-stamps to show when the output happened.
This is very useful for example, for analyzing boot time activity.
If the fmt provided contains no % characters the default %n@ %s [%Y-%m-%d %T] is used, which lends itself to analysis by tools as well as humans.
Sponsored by: Juniper Networks, Inc.
Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D34511
show more ...
|
|
Revision tags: release/12.3.0, release/13.0.0 |
|
| #
d41149a8 |
| 05-Jan-2021 |
Mateusz Piotrowski <[email protected]> |
Add some examples to script.1
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
Add some examples to script.1
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.
MFC after: 1 week
show more ...
|
| #
225afb6c |
| 05-Jan-2021 |
Mateusz Piotrowski <[email protected]> |
Improve readability of the options list
MFC after: 3 days
|
|
Revision tags: release/12.2.0 |
|
| #
44a3c7a3 |
| 01-Sep-2020 |
Warner Losh <[email protected]> |
Bump date for r365052
|
| #
f9177b6c |
| 01-Sep-2020 |
Warner Losh <[email protected]> |
Have script accept and ignore -e for Linux compat
In the util-linux version of script, it will always exit with succes. Except when run with -e, in which case it will have the exit value of the chil
Have script accept and ignore -e for Linux compat
In the util-linux version of script, it will always exit with succes. Except when run with -e, in which case it will have the exit value of the child. BSD Script already uses the child's exit value for its exit value. Some config and other helper scripts depend on being able to specify -e. Accept it for compatibility since we'll already to the right thing, but otherwise we ignore it.
show more ...
|
|
Revision tags: release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0 |
|
| #
fbbd9655 |
| 28-Feb-2017 |
Warner Losh <[email protected]> |
Renumber copyright clause 4
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
Renumber copyright clause 4
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 <[email protected]> Pull Request: https://github.com/freebsd/freebsd/pull/96
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0 |
|
| #
d7deff23 |
| 26-Aug-2015 |
Sergey Kandaurov <[email protected]> |
Fix SEE ALSO.
The history mechanism applies to csh.
Sponsored by: Nginx, Inc.
|
|
Revision tags: release/10.2.0 |
|
| #
914f6e62 |
| 26-Dec-2014 |
Joel Dahl <[email protected]> |
mdoc: sort SEE ALSO.
|
|
Revision tags: release/10.1.0, release/9.3.0, release/10.0.0 |
|
| #
8d105abc |
| 05-Dec-2013 |
Tom Rhodes <[email protected]> |
Add -F to flush output after each write. With this, I can 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
Add -F to flush output after each write. With this, I can 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.
show more ...
|
|
Revision tags: release/9.2.0 |
|
| #
c89bc700 |
| 30-Jul-2013 |
David E. O'Brien <[email protected]> |
MFC'ing to 9.2.
|
|
Revision tags: release/8.4.0 |
|
| #
99f23359 |
| 16-Mar-2013 |
Sergey Kandaurov <[email protected]> |
Fix version in the .Fx macro.
Reported by: <[email protected]>
|
|
Revision tags: release/9.1.0 |
|
| #
6cff4e07 |
| 26-Oct-2012 |
David E. O'Brien <[email protected]> |
Add "-f" to also output filemon(4) information.
|
| #
aee53c33 |
| 07-Oct-2012 |
Joel Dahl <[email protected]> |
Remove contractions.
|
| #
fabb5579 |
| 30-Jul-2012 |
Brian Somers <[email protected]> |
Mention when -d, -p and -r first hit FreeBSD.
Bump the document date to when the change was made (rather than when the PR was submitted).
Suggested by: pluknet
|
| #
df53360c |
| 30-Jul-2012 |
Brian Somers <[email protected]> |
Add d, p and r switches for recording script sessions with timing data and playing sessions back with or without time delays.
PR: 114465 Submitted by: ighighi at gmail dot com MFC after: 3 weeks
|
|
Revision tags: release/8.3.0_cvs, release/8.3.0, release/9.0.0 |
|
| #
ef87c4dc |
| 29-Sep-2011 |
Glen Barber <[email protected]> |
Fix a few grammar and mdoc nits in script.1
PR: 161088 Submitted by: Ben Kaduk ( kaduk % mit ! edu ) MFC after: 1 week Need-MFC: 225809
|
| #
29da7547 |
| 27-Sep-2011 |
Mikolaj Golub <[email protected]> |
When script(1) reads EOF from input it starts spinning on zero-byte reads eating 100% CPU. Fix this by skipping select on STDIN after reading EOF -- permanently if STDIN is not terminal and for one s
When script(1) reads EOF from input it starts spinning on zero-byte 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 <[email protected]> Discussed with: kib, Chris Torek <[email protected]> Approved by: kib MFC after: 1 week
show more ...
|
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0 |
|
| #
da52b4ca |
| 11-Dec-2010 |
Joel Dahl <[email protected]> |
Remove the advertising clause from UCB copyrighted files in usr.bin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $F
Remove the advertising clause from UCB copyrighted files in usr.bin. This 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
show more ...
|
| #
aa2e0334 |
| 19-Sep-2010 |
David E. O'Brien <[email protected]> |
Fix the grammar after I added a second environmental variable.
Submitted by: wxs
|
| #
9b91846c |
| 16-Sep-2010 |
David E. O'Brien <[email protected]> |
+ Add the SCRIPT environmental variable to the sub-shell. Its value is the name of the typescript file. + Add the 'command' argument (if supplied on the command line) to the typescript file. This c
+ Add the SCRIPT environmental variable to the sub-shell. Its value is 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.
show more ...
|
|
Revision tags: release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0 |
|
| #
557b7fa1 |
| 03-Jul-2004 |
Ruslan Ermilov <[email protected]> |
Deal with double whitespace.
|