1BMORE(1) General Commands Manual BMORE(1)
2
3
4
6 bmore - browse through a binary file
7
9 bmore [ -acdir ] [ -n lines ] [ -w cols ] [ +linenumber ] [ +/ASCII-
10 pattern ] [ +\Hex-pattern ] [ filename ... ]
11
13 more is a filter that displays the contents of a binary file on the
14 terminal, one screenful at a time. It normally pauses after each
15 screenful, and prints --More-- at the bottom of the screen. bmore pro‐
16 vides a two-line overlap between screens for continuity. If bmore is
17 reading from a file rather than a pipe, the percentage of characters
18 displayed so far is also shown.
19
20 bmore scrolls up to display one more screen line in response to a
21 RETURN character; it displays another screenful in response to a SPACE
22 character. Other commands are listed below.
23
24 The screen is divided in three sections or panes: The byte offset
25 (extreme left), the hex pane (middle), and an ascii pane (right) which
26 shows as printable characters those bytes in the hex pane. On an 80
27 column terminal there will be sixteen hex values and their ASCII values
28 on each screen line. Note that (as one would expect) the first byte
29 has the offset 0 (zero).
30
31 bmore sets the terminal to noecho mode, so that the output can be con‐
32 tinuous. Commands that you type do not normally show up on your termi‐
33 nal, except for the / , \ and ! commands.
34
35 If the standard output is not a terminal, more acts just like cat(1V),
36 except that a header is printed before each file in a series.
37
39 -a ASCII mode: no hex representation of the contents. Non printable
40 characters are displayed as a dot (.)
41
42 -c Clear before displaying. Redrawing the screen instead of
43 scrolling.
44
45 -d Display error messages rather than ringing the terminal bell if
46 an unrecognized command is used. This is helpful for inexperi‐
47 enced users.
48
49 -i Ignore case for searching.
50
51 -n lines
52 Displays the indicated number of lines in each screenful, rather
53 than the default (the number of lines in the terminal screen
54 less two).
55
56 -r Characters between 160 - 254 are displayed as "reverse video
57 text" as used in some legacy systems (Atari, Commodore, Apple
58 II, etc).
59
60 -w cols
61 Display number of cols in each line.
62
63 +linenumber
64 Start up at linenumber.
65
66 +/ASCII-pattern
67 Start up at the line containing the regular expression pattern.
68 Note: unlike editors, this construct should not end with a `/'.
69 If it does, then the trailing slash is taken as a character in
70 the search pattern.
71
73 Commands
74 The commands take effect immediately; it is not necessary to type a
75 carriage return. Up to the time when the command character itself is
76 given, the user may type the line kill character to cancel the numeri‐
77 cal argument being formed. In addition, the user may type the erase
78 character to redisplay the `--More--(xx%)' message.
79
80 In the following commands, i is a numerical argument (1 by default).
81
82 iSPACE Display another screenful, or i more lines if i is specified.
83
84 iRETURN Display another line, or i more lines, if specified.
85
86 i^D (CTRL-D) Display (scroll down) 11 more lines. i is given,
87 the scroll size is set to i.
88
89 id Same as ^D.
90
91 iz Same as SPACE, except that i, if present, becomes the new
92 default number of lines per screenful.
93
94 is Skip i lines and then print a screenful.
95
96 if Skip i screenfuls and then print a screenful.
97
98 i^B (CTRL-B) Skip back i screenfuls and then print a screenful.
99
100 b Same as ^B (CTRL-D).
101
102 q
103 Q Exit from more.
104
105 = Display the current line number.
106
107 v Drop into the bvi(1) editor at the current offset of the cur‐
108 rent file.
109
110 w Drop into the bvi(1) editor at the current offset of the cur‐
111 rent file. Only the portion of the file displayed on the
112 screen will be loaded.
113
114 h Help. Give a description of all the more commands.
115
116 i/pattern Search for the ith occurrence of the regular expression pat‐
117 tern. Display the screenful starting at the file position
118 that contains the ith match for the regular expression ASCII-
119 pattern, or the end of a pipe, whichever comes first. If
120 bmore is displaying a file and there is no such match, its
121 position in the file remains unchanged. Regular expressions
122 can be edited using erase and kill characters. Erasing back
123 past the first column cancels the search command.
124
125 ´ Single quote. Go to the point from which the last search
126 started. If no search has been performed in the current
127 file, go to the beginning of the file.
128
129 !command Invoke a shell to execute command. The characters % and !,
130 when used within command are replaced with the current file‐
131 name and the previous shell command, respectively. If there
132 is no current filename, % is not expanded. Prepend a back‐
133 slash to these characters to escape expansion.
134
135 i:n Skip to the ith next filename given in the command line, or
136 to the last filename in the list if i is out of range.
137
138 i:p Skip to the ith previous filename given in the command line,
139 or to the first filename if i is out of range. If given
140 while more is positioned within a file, go to the beginning
141 of the file. If more is reading from a pipe, more simply
142 rings the terminal bell.
143
144 :f Display the current filename and offset number.
145
146 :q
147 :Q Exit from bmore (same as q or Q ).
148
149 . Dot. Repeat the previous command.
150
152 /etc/termcap terminal data base
153 /usr/share/bvi/bmore.help
154 help file
155
157 bvi(1), more(1) termcap(5)
158
160 bmore was developed by Gerhard Buergmann, Vienna, Austria ger‐
161 hard@puon.at
162
163
164
165
166 30 Jan 2019 BMORE(1)