[schilytools] [PATCH] bsh: implement ^L support
Nico Sonack
nsonack at herrhotzenplotz.de
Mon Jul 4 13:46:48 CEST 2022
On 7/4/22 03:14, Robert Clausecker wrote:
> Typing ^L in bsh will now clear the screen as already supported in a
> number of other shells.
>
> This patch is based on a submission by Nico Sonack, but has been
> thoroughly reworked to be portable to any terminal.
>
> Issue: #10
> Co-authored-by: Nico Sonack <nsonack at herrhotzenplotz.de>
> ---
> bsh/inputc.c | 61 ++++++++++++++++++++++++++++++++++++++++++++--------
> 1 file changed, 52 insertions(+), 9 deletions(-)
>
LGTM so far.
In my opinion the version announcement of sh and bsh should probably
bumped to reflect for the changes. Currently I am getting:
$ sh/OBJ/amd64\-freebsd\-clang/sh -version
sh (Schily Bourne Shell) version bosh 2021/07/23 a+ (amd64-unknown-
freebsd13.1)
Copyright (C) 1984-1989 AT&T
Copyright (C) 1989-2009 Sun Microsystems
Copyright (C) 1982-2021 Joerg Schilling
$
$ bsh/OBJ/amd64\-freebsd\-clang/bsh -version
bsh 6.14 2021/07/23 (amd64-unknown-freebsd13.1)
Copyright (C) 1982, 1984, 1985, 1988-1989, 1991, 1994-2021 Jörg
Schilling
This is free software; see the source for copying conditions. There
is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
$
--
Sent from triton / FreeBSD 13.1-RELEASE
Please remember: https://useplaintext.email/#etiquette
HTML-formatted mail will likely end up in the Spam folder.
Do NOT send me Microsoft Office documents. I shall refrain from opening
them.
Nico Sonack <nsonack at herrhotzenplotz.de>
More information about the schilytools
mailing list