Man page requires space to scroll, not arrow keys
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
On my Ubuntu 18.04 host, running man <command>
brings up the man
page and I can scroll up and down using the corresponding arrow keys to read the text.
On a fresh Ubuntu 18.04 docker image, I installed man
, man-db
, vim
and core-utils
and now I can only scroll down using the space bar.
Additionally, the man
page in the docker container shows --MORE--
in the bottom left corner while on my host it shows:
Manual page <COMMAND>(<INT>) line <INT> (press h for help or q to quit)
in the bottom left corner.
I have the same version of man on both the host and my docker image (man 2.8.3)
What do I need to install in my docker image to allow man to scroll using arrow keys similar to how I do on my host OS?
EDIT -- Additional output from the docker container
root@11aa9a0948e7:~# man --version
man 2.8.3
root@11aa9a0948e7:~# echo $MANPAGER
root@11aa9a0948e7:~# echo $PAGER
root@11aa9a0948e7:~# update-alternatives --query pager
Name: pager
Link: /usr/bin/pager
Slaves:
pager.1.gz /usr/share/man/man1/pager.1.gz
Status: auto
Best: /bin/more
Value: /bin/more
Alternative: /bin/more
Priority: 50
Slaves:
pager.1.gz /usr/share/man/man1/more.1.gz
Same output from the Host OS
user@host:~$ man --version
man 2.8.3
user@host:~$ echo $MANPAGER
user@host:~$ echo $PAGER
user@host:~$ update-alternatives --query pager
Name: pager
Link: /usr/bin/pager
Slaves:
pager.1.gz /usr/share/man/man1/pager.1.gz
Status: auto
Best: /bin/less
Value: /bin/less
Alternative: /bin/less
Priority: 77
Slaves:
pager.1.gz /usr/share/man/man1/less.1.gz
Alternative: /bin/more
Priority: 50
Slaves:
pager.1.gz /usr/share/man/man1/more.1.gz
command-line 18.04 docker manpage
add a comment |
On my Ubuntu 18.04 host, running man <command>
brings up the man
page and I can scroll up and down using the corresponding arrow keys to read the text.
On a fresh Ubuntu 18.04 docker image, I installed man
, man-db
, vim
and core-utils
and now I can only scroll down using the space bar.
Additionally, the man
page in the docker container shows --MORE--
in the bottom left corner while on my host it shows:
Manual page <COMMAND>(<INT>) line <INT> (press h for help or q to quit)
in the bottom left corner.
I have the same version of man on both the host and my docker image (man 2.8.3)
What do I need to install in my docker image to allow man to scroll using arrow keys similar to how I do on my host OS?
EDIT -- Additional output from the docker container
root@11aa9a0948e7:~# man --version
man 2.8.3
root@11aa9a0948e7:~# echo $MANPAGER
root@11aa9a0948e7:~# echo $PAGER
root@11aa9a0948e7:~# update-alternatives --query pager
Name: pager
Link: /usr/bin/pager
Slaves:
pager.1.gz /usr/share/man/man1/pager.1.gz
Status: auto
Best: /bin/more
Value: /bin/more
Alternative: /bin/more
Priority: 50
Slaves:
pager.1.gz /usr/share/man/man1/more.1.gz
Same output from the Host OS
user@host:~$ man --version
man 2.8.3
user@host:~$ echo $MANPAGER
user@host:~$ echo $PAGER
user@host:~$ update-alternatives --query pager
Name: pager
Link: /usr/bin/pager
Slaves:
pager.1.gz /usr/share/man/man1/pager.1.gz
Status: auto
Best: /bin/less
Value: /bin/less
Alternative: /bin/less
Priority: 77
Slaves:
pager.1.gz /usr/share/man/man1/less.1.gz
Alternative: /bin/more
Priority: 50
Slaves:
pager.1.gz /usr/share/man/man1/more.1.gz
command-line 18.04 docker manpage
@steeldriver output has been added to the question.
– Wimateeka
Mar 25 at 14:41
add a comment |
On my Ubuntu 18.04 host, running man <command>
brings up the man
page and I can scroll up and down using the corresponding arrow keys to read the text.
On a fresh Ubuntu 18.04 docker image, I installed man
, man-db
, vim
and core-utils
and now I can only scroll down using the space bar.
Additionally, the man
page in the docker container shows --MORE--
in the bottom left corner while on my host it shows:
Manual page <COMMAND>(<INT>) line <INT> (press h for help or q to quit)
in the bottom left corner.
I have the same version of man on both the host and my docker image (man 2.8.3)
What do I need to install in my docker image to allow man to scroll using arrow keys similar to how I do on my host OS?
EDIT -- Additional output from the docker container
root@11aa9a0948e7:~# man --version
man 2.8.3
root@11aa9a0948e7:~# echo $MANPAGER
root@11aa9a0948e7:~# echo $PAGER
root@11aa9a0948e7:~# update-alternatives --query pager
Name: pager
Link: /usr/bin/pager
Slaves:
pager.1.gz /usr/share/man/man1/pager.1.gz
Status: auto
Best: /bin/more
Value: /bin/more
Alternative: /bin/more
Priority: 50
Slaves:
pager.1.gz /usr/share/man/man1/more.1.gz
Same output from the Host OS
user@host:~$ man --version
man 2.8.3
user@host:~$ echo $MANPAGER
user@host:~$ echo $PAGER
user@host:~$ update-alternatives --query pager
Name: pager
Link: /usr/bin/pager
Slaves:
pager.1.gz /usr/share/man/man1/pager.1.gz
Status: auto
Best: /bin/less
Value: /bin/less
Alternative: /bin/less
Priority: 77
Slaves:
pager.1.gz /usr/share/man/man1/less.1.gz
Alternative: /bin/more
Priority: 50
Slaves:
pager.1.gz /usr/share/man/man1/more.1.gz
command-line 18.04 docker manpage
On my Ubuntu 18.04 host, running man <command>
brings up the man
page and I can scroll up and down using the corresponding arrow keys to read the text.
On a fresh Ubuntu 18.04 docker image, I installed man
, man-db
, vim
and core-utils
and now I can only scroll down using the space bar.
Additionally, the man
page in the docker container shows --MORE--
in the bottom left corner while on my host it shows:
Manual page <COMMAND>(<INT>) line <INT> (press h for help or q to quit)
in the bottom left corner.
I have the same version of man on both the host and my docker image (man 2.8.3)
What do I need to install in my docker image to allow man to scroll using arrow keys similar to how I do on my host OS?
EDIT -- Additional output from the docker container
root@11aa9a0948e7:~# man --version
man 2.8.3
root@11aa9a0948e7:~# echo $MANPAGER
root@11aa9a0948e7:~# echo $PAGER
root@11aa9a0948e7:~# update-alternatives --query pager
Name: pager
Link: /usr/bin/pager
Slaves:
pager.1.gz /usr/share/man/man1/pager.1.gz
Status: auto
Best: /bin/more
Value: /bin/more
Alternative: /bin/more
Priority: 50
Slaves:
pager.1.gz /usr/share/man/man1/more.1.gz
Same output from the Host OS
user@host:~$ man --version
man 2.8.3
user@host:~$ echo $MANPAGER
user@host:~$ echo $PAGER
user@host:~$ update-alternatives --query pager
Name: pager
Link: /usr/bin/pager
Slaves:
pager.1.gz /usr/share/man/man1/pager.1.gz
Status: auto
Best: /bin/less
Value: /bin/less
Alternative: /bin/less
Priority: 77
Slaves:
pager.1.gz /usr/share/man/man1/less.1.gz
Alternative: /bin/more
Priority: 50
Slaves:
pager.1.gz /usr/share/man/man1/more.1.gz
command-line 18.04 docker manpage
command-line 18.04 docker manpage
edited Mar 25 at 14:47
Wimateeka
asked Mar 25 at 14:32
WimateekaWimateeka
1157
1157
@steeldriver output has been added to the question.
– Wimateeka
Mar 25 at 14:41
add a comment |
@steeldriver output has been added to the question.
– Wimateeka
Mar 25 at 14:41
@steeldriver output has been added to the question.
– Wimateeka
Mar 25 at 14:41
@steeldriver output has been added to the question.
– Wimateeka
Mar 25 at 14:41
add a comment |
1 Answer
1
active
oldest
votes
You system uses more
as page for man
while a standard Ubuntu installation uses less
.
Install the package less
Worked like a charm. I did so as soon as I noticed that less was installed as a pager. Thanks!
– Wimateeka
Mar 25 at 14:48
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1128549%2fman-page-requires-space-to-scroll-not-arrow-keys%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You system uses more
as page for man
while a standard Ubuntu installation uses less
.
Install the package less
Worked like a charm. I did so as soon as I noticed that less was installed as a pager. Thanks!
– Wimateeka
Mar 25 at 14:48
add a comment |
You system uses more
as page for man
while a standard Ubuntu installation uses less
.
Install the package less
Worked like a charm. I did so as soon as I noticed that less was installed as a pager. Thanks!
– Wimateeka
Mar 25 at 14:48
add a comment |
You system uses more
as page for man
while a standard Ubuntu installation uses less
.
Install the package less
You system uses more
as page for man
while a standard Ubuntu installation uses less
.
Install the package less
answered Mar 25 at 14:44
Florian DieschFlorian Diesch
66k16168183
66k16168183
Worked like a charm. I did so as soon as I noticed that less was installed as a pager. Thanks!
– Wimateeka
Mar 25 at 14:48
add a comment |
Worked like a charm. I did so as soon as I noticed that less was installed as a pager. Thanks!
– Wimateeka
Mar 25 at 14:48
Worked like a charm. I did so as soon as I noticed that less was installed as a pager. Thanks!
– Wimateeka
Mar 25 at 14:48
Worked like a charm. I did so as soon as I noticed that less was installed as a pager. Thanks!
– Wimateeka
Mar 25 at 14:48
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1128549%2fman-page-requires-space-to-scroll-not-arrow-keys%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
@steeldriver output has been added to the question.
– Wimateeka
Mar 25 at 14:41