]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: add script(1) events idea to TODO
authorKarel Zak <kzak@redhat.com>
Mon, 5 Mar 2018 12:40:55 +0000 (13:40 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 5 Mar 2018 12:40:55 +0000 (13:40 +0100)
Addresses: https://github.com/karelzak/util-linux/issues/583
Signed-off-by: Karel Zak <kzak@redhat.com>
Documentation/TODO

index 4910aa50f0b21fc60e731be2c336a68ae56c4b95..28d2abf3d4f8fed8b5510051c7287b342265987d 100644 (file)
@@ -8,6 +8,26 @@ libsmartcols
      string) for everything. See for example SIZE in "lsblk --json --bytes"
      output.
 
+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
+
+   - think about optional "event" records in timing file to save information
+     about non-data changes like signals (SIGWINCH, SIGSTOP, SIGCONT, etc.)
+     in format:
+
+             <time> 0 <name>[: var=data, ...]
+
+     for example:
+
+            0.001296 256
+            0.001297   0 SIGWINCH: columns=50, lines=20
+            0.000010 275
+
 lsblk
 -----
    The problem is NVMe-multipath driver where in /sys/.../slaves/ are nodes