Skip to content

pull: more changes

Sami Kerola util-linux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest31 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/31more: remove function declarationstext-utils/more.c+1292 -13290 replies
2/31more: reorder includes, declarations, and global variablestext-utils/Makemodule.am text-utils/more-term.h text-utils/more.c+148 -1450 replies
3/31more: add struct more_control and remove global variablestext-utils/more.c+680 -6400 replies
4/31more: remove dead code and useless commentstext-utils/more-term.h text-utils/more.c+31 -800 replies
5/31more: return is statement, not a functiontext-utils/more.c+21 -210 replies
6/31more: use paths.h to find bourne shell and vi editortext-utils/more.c+3 -40 replies
7/31more: remove function like preprocessor definestext-utils/more.c+147 -1190 replies
8/31more: remove pointless functionstext-utils/more.c+28 -500 replies
9/31more: remove 'register' keywordstext-utils/more.c+29 -290 replies
10/31more: avoid long else segment in prbuf()text-utils/more.c+46 -440 replies
11/31more: move runtime usage output away from command()text-utils/more.c+30 -280 replies
12/31more: move editor execution to a function from command()text-utils/more.c+34 -380 replies
13/31more: move skipping backwards to a function from command()text-utils/more.c+34 -390 replies
14/31more: move skipping forewards to a function from command()text-utils/more.c+30 -300 replies
15/31more: check open(3) return valuetext-utils/more.c+5 -10 replies
16/31more: remove unnecessary bracestext-utils/more.c+9 -120 replies
17/31more: do not call fileno() for std{in,out,err} streamstext-utils/more-term.h text-utils/more.c+9 -90 replies
18/31more: split run time help screen to multiple translatable linestext-utils/more.c+25 -252 replies
19/31more: tell in run time help what the 'v' will execute as editortext-utils/more.c+15 -72 replies
20/31more: add display_file() to be shared with files and stdin inputtext-utils/more.c+91 -1100 replies
21/31more: replace siglongjmp() and signal() calls with signalfd()text-utils/more.c+133 -1130 replies
22/31more: init function variables at declarationtext-utils/more.c+8 -160 replies
23/31more: rename variable and function names easier to understandtext-utils/more.c+357 -3570 replies
24/31more: add -i ignore-case posix compliance optiontext-utils/more.1 text-utils/more.c+12 -10 replies
25/31more: add -n <number> posix compliance optiontext-utils/Makemodule.am text-utils/more.1 text-utils/more.c+13 -10 replies
26/31more: add -e posix compliance optiontext-utils/more.1 text-utils/more.c+7 -00 replies
27/31more: fix compiler warningstext-utils/more.c+4 -00 replies
28/31more: speed up command_expansion()text-utils/more.c+17 -140 replies
29/31more: remove unnecessary variabletext-utils/more.c+2 -70 replies
30/31more: remove TIOCGWINSZ preprocessor #ifdef checkstext-utils/more.c+0 -60 replies
31/31more: simplify initterm()text-utils/more.c+76 -910 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/31] pull: more changes

Hello,

The following changes are clean ups and improvements to more(1) command. I feel this change set does not sufficiently address all issues, and short comings of more(1). For example, lines that have terminal control characters to emphasis in bold or change color are after this change set still wrapped too early. That issue makes more(1) to be broken pager when viewing manual pages. Getting that issue fixed is my minimum before next util-linux release. Which leads me to bunch of questions;

* Should more(1) have similar to less(1) roll back and forth support?
* When searching should more(1) highlight what it finds?
* Or should more be the lightest weight, slickest, quickest, and least memory consuming pager?
* Does anyone care Posix Correctly(TM)[1] version of more(1)? ** Would include for example ctags support, case insensitive searching, exit rules, output filtering when stdout is not terminal, and so on.
* Any other ideas how & why more(1) could or should be improved?

[1] http://pubs.opengroup.org/onlinepubs/7908799/xcu/more.html

These changes are also available from my github remote repository.

git://github.com/kerolasa/lelux-utiliteetit.git more

Sami Kerola (31):
more: remove function declarations
more: reorder includes, declarations, and global variables
more: add struct more_control and remove global variables
more: remove dead code and useless comments
more: return is statement, not a function
more: use paths.h to find bourne shell and vi editor
more: remove function like preprocessor defines
more: remove pointless functions
more: remove 'register' keywords
more: avoid long else segment in prbuf()
more: move runtime usage output away from command()
more: move editor execution to a function from command()
more: move skipping backwards to a function from command()
more: move skipping forewards to a function from command()
more: check open(3) return value
more: remove unnecessary braces
more: do not call fileno() for std{in,out,err} streams
more: split run time help screen to multiple translatable lines
more: tell in run time help what the 'v' will execute as editor
more: add display_file() to be shared with files and stdin input
more: replace siglongjmp() and signal() calls with signalfd()
more: init function variables at declaration
more: rename variable and function names easier to understand
more: add -i ignore-case posix compliance option
more: add -n <number> posix compliance option
more: add -e posix compliance option
more: fix compiler warnings
more: speed up command_expansion()
more: remove unnecessary variable
more: remove TIOCGWINSZ preprocessor #ifdef checks
more: simplify initterm()

 text-utils/Makemodule.am |    4 +-
 text-utils/more-term.h   |  110 ++
 text-utils/more.1        |   13 +
 text-utils/more.c        | 3141 ++++++++++++++++++++++------------------------
 4 files changed, 1619 insertions(+), 1649 deletions(-)
 create mode 100644 text-utils/more-term.h
Signature · 1 line
2.3.0