diff options
author | Karel Zak | 2018-05-14 12:51:50 +0200 |
---|---|---|
committer | Karel Zak | 2018-05-14 12:51:50 +0200 |
commit | 4d9b788d64c8f9de8cb28e541d53676f26386f3a (patch) | |
tree | e9788854cb6ff305b0a80657542fe790f763b299 /Documentation | |
parent | docs: add hint about script (diff) | |
download | kernel-qcow2-util-linux-4d9b788d64c8f9de8cb28e541d53676f26386f3a.tar.gz kernel-qcow2-util-linux-4d9b788d64c8f9de8cb28e541d53676f26386f3a.tar.xz kernel-qcow2-util-linux-4d9b788d64c8f9de8cb28e541d53676f26386f3a.zip |
script: add more info to script header
This patch introduces [...] to store extra information about terminal
to the typescript header. For example:
Script started on 2018-05-14 12:52:32+02:00 [TERM="xterm-256color" TTY="/dev/pts/3" COLS="190" LINES="53"]
or
Script started on 2018-05-14 12:54:01+02:00 [<not executed on terminal>]
if stdout is not terminal.
Addresses: https://github.com/karelzak/util-linux/issues/583
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/TODO | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Documentation/TODO b/Documentation/TODO index 2153a810c..4dbc288c9 100644 --- a/Documentation/TODO +++ b/Documentation/TODO @@ -15,12 +15,6 @@ column script ------ - - (!) add terminal type ($TERM), columns and lines to the header line, something like: - - Script started on 2018-03-05 13:02:08+0100 [term="xterm-256color", lines=53, columns=190] - - see https://github.com/karelzak/util-linux/issues/583 - - (!) add [exit=<command-exit-code>] to the "done" typescript message - think about optional "event" records in timing file to save information |