summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorKarel Zak2018-05-14 12:51:50 +0200
committerKarel Zak2018-05-14 12:51:50 +0200
commit4d9b788d64c8f9de8cb28e541d53676f26386f3a (patch)
treee9788854cb6ff305b0a80657542fe790f763b299 /Documentation
parentdocs: add hint about script (diff)
downloadkernel-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/TODO6
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