simon-git: ipbt (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sat Feb 13 13:51:52 GMT 2021


TL;DR:
  a8532dfa ttydump: add a hex-dump mode.
  3990456a Add --utf8-linedraw option.
  3dfdb237 Add missing diagnostic for spurious long-option values.
  14b44cae Remove physical tabs.
  ee54dbb0 A few indentation fixes.

Repository:     https://git.tartarus.org/simon/ipbt.git
On the web:     https://git.tartarus.org/?p=simon/ipbt.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2021-02-13 13:51:52

commit a8532dfac2a16fd8e8e79d47773d88055f4b7e6c
web diff https://git.tartarus.org/?p=simon/ipbt.git;a=commitdiff;h=a8532dfac2a16fd8e8e79d47773d88055f4b7e6c;hp=d4f9e48053ebec9ec5cb9b9d458f08757c9286ba
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Feb 13 13:34:31 2021 +0000

    ttydump: add a hex-dump mode.
    
    Now it can dump the full text of the terminal output inside each
    ttyrec frame, as well as the headers. Makes a much nicer way to look
    at a ttyrec in a raw fashion than by viewing the whole file in a hex
    editor and trying to _mentally_ skip the headers.

 ttydump | 28 ++++++++++++++++++++++++++--
 1 file changed, 26 insertions(+), 2 deletions(-)

commit 3990456a2fd8bfd44363ca24dc28cda4fecb6887
web diff https://git.tartarus.org/?p=simon/ipbt.git;a=commitdiff;h=3990456a2fd8bfd44363ca24dc28cda4fecb6887;hp=a8532dfac2a16fd8e8e79d47773d88055f4b7e6c
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Feb 13 13:41:12 2021 +0000

    Add --utf8-linedraw option.
    
    It turns out to be necessary for modern Nethack ttyrecs, because
    Nethack apparently now uses (or can use) a curses-based front end,
    which means it keeps ncurses's unfortunate choice of not defaulting to
    doing line drawing via the dedicated UTF-8 code points.

 ipbt.but | 24 ++++++++++++++++++++++++
 ipbt.c   | 13 +++++++++++--
 2 files changed, 35 insertions(+), 2 deletions(-)

commit 3dfdb237f74db8047cd85c2cb6f1c7a96b70a174
web diff https://git.tartarus.org/?p=simon/ipbt.git;a=commitdiff;h=3dfdb237f74db8047cd85c2cb6f1c7a96b70a174;hp=3990456a2fd8bfd44363ca24dc28cda4fecb6887
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Feb 13 13:46:32 2021 +0000

    Add missing diagnostic for spurious long-option values.
    
    Previously, you could say 'ipbt --use-terminal-size=dsfsdf' without
    any error. Now you get an error pointing out that that long option
    doesn't expect an argument.

 ipbt.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

commit 14b44cae761ce17e7799448b47f73be587a76294
web diff https://git.tartarus.org/?p=simon/ipbt.git;a=commitdiff;h=14b44cae761ce17e7799448b47f73be587a76294;hp=3dfdb237f74db8047cd85c2cb6f1c7a96b70a174
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Feb 13 13:47:43 2021 +0000

    Remove physical tabs.
    
    I thought I'd long since removed all physical tabs from my source
    files, but apparently the non-PuTTY parts of this code base didn't get
    the memo. Well, better late than never: this change replaces all tabs
    with spaces. No functional change.

 ipbt.c  | 2276 +++++++++++++++++++++++++++++++--------------------------------
 ttydump |   64 +-
 ttygrep |   50 +-
 3 files changed, 1195 insertions(+), 1195 deletions(-)

commit ee54dbb0b11e9d5dfc834af05b67e1f9b7e047c6
web diff https://git.tartarus.org/?p=simon/ipbt.git;a=commitdiff;h=ee54dbb0b11e9d5dfc834af05b67e1f9b7e047c6;hp=14b44cae761ce17e7799448b47f73be587a76294
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Feb 13 13:51:04 2021 +0000

    A few indentation fixes.
    
    While I'm doing a whitespace upheaval on the whole source file in any
    case, there's no extra inconvenience to downstreams (if any) from
    fixing a few mis-indented lines I happened to notice on the way past.

 ipbt.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)



More information about the tartarus-commits mailing list