From: Sami Kerola <kerolasa@iki.fi>
To: util-linux@vger.kernel.org
Cc: Sami Kerola <kerolasa@iki.fi>
Subject: [PATCH 0/2] more(1) use libmagic and make page up/down and arrow keys work
Date: Wed, 6 May 2020 20:19:21 +0100 [thread overview]
Message-ID: <20200506191923.5272-1-kerolasa@iki.fi> (raw)
Hello,
Here are two changes to more(1) that where requested in earlier github
pull[1] request to get review in maillist, so here we go.
[1] https://github.com/karelzak/util-linux/pull/1003
First one of the changes will link more(1) with libmagic so that various
binary formats can be detected with effect the pager will not mess up
termial.
Second change is perhaps a little bit more exciting. It will add page-up,
page-down, arrow-up, and arrow-down movements to more(1). This pager has
known now to scroll back and forth since long time ago, but most of the
people do not seem to know key bindings so lets help users by assigning the
most obvious buttons the way one might expect them to work.
These changes can also be found from my github repo.
----------------------------------------------------------------
The following changes since commit 0d855a83095adc953cc9a0df8998a2f916242695:
agetty: save the original speed on --keep-baud (2020-05-04 12:27:42 +0200)
are available in the Git repository at:
git://github.com/kerolasa/util-linux.git more-features
for you to fetch changes up to 0cfa98c59a743a8c5dc0bec24bb46220a967ef85:
more: make page and arrow up/down to update view (2020-05-06 19:57:56 +0100)
----------------------------------------------------------------
Sami Kerola (2):
more: use libmagic to identify binary files
more: make page and arrow up/down to update view
configure.ac | 12 ++
text-utils/Makemodule.am | 2 +-
text-utils/more.c | 431 ++++++++++++++++++++++++---------------
3 files changed, 284 insertions(+), 161 deletions(-)
--
2.26.2
next reply other threads:[~2020-05-06 19:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-06 19:19 Sami Kerola [this message]
2020-05-06 19:19 ` [PATCH 1/2] more: use libmagic to identify binary files Sami Kerola
2020-05-06 19:19 ` [PATCH 2/2] more: make page and arrow up/down to update view Sami Kerola
2020-05-12 8:53 ` [PATCH 0/2] more(1) use libmagic and make page up/down and arrow keys work Karel Zak
2020-05-12 13:45 ` Sami Kerola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200506191923.5272-1-kerolasa@iki.fi \
--to=kerolasa@iki.fi \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).