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;
}







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









share|improve this question

























  • @steeldriver output has been added to the question.

    – Wimateeka
    Mar 25 at 14:41


















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









share|improve this question

























  • @steeldriver output has been added to the question.

    – Wimateeka
    Mar 25 at 14:41














0












0








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









share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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



















  • @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










1 Answer
1






active

oldest

votes


















3














You system uses more as page for man while a standard Ubuntu installation uses less.



Install the package less






share|improve this answer
























  • 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












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
});


}
});














draft saved

draft discarded


















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









3














You system uses more as page for man while a standard Ubuntu installation uses less.



Install the package less






share|improve this answer
























  • 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
















3














You system uses more as page for man while a standard Ubuntu installation uses less.



Install the package less






share|improve this answer
























  • 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














3












3








3







You system uses more as page for man while a standard Ubuntu installation uses less.



Install the package less






share|improve this answer













You system uses more as page for man while a standard Ubuntu installation uses less.



Install the package less







share|improve this answer












share|improve this answer



share|improve this answer










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



















  • 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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

數位音樂下載

格利澤436b

When can things happen in Etherscan, such as the picture below?