util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] more(1) use libmagic and make page up/down and arrow keys work
@ 2020-05-06 19:19 Sami Kerola
  2020-05-06 19:19 ` [PATCH 1/2] more: use libmagic to identify binary files Sami Kerola
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Sami Kerola @ 2020-05-06 19:19 UTC (permalink / raw)
  To: util-linux; +Cc: Sami Kerola

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-12 13:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-06 19:19 [PATCH 0/2] more(1) use libmagic and make page up/down and arrow keys work Sami Kerola
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

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).