Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am using info command, and when I press m, the keyboard prompt goes into a menu item: mode and I don't know how to quit from this mode. I tried q and ESC, but it didn't work.

Finally, I used Ctrl+C to quit. Is there any decent way to quit the menu item: prompt mode in the "info" command?

share|improve this question
    
A quick test with info here tells me that pressing Enter a few times works. –  Renan Mar 16 '12 at 21:49
    
Yes, you are correct...thanks for answering my question. –  Xianlin Mar 17 '12 at 12:01
    
Added it as an answer; please mark it as solved. –  Renan Mar 18 '12 at 4:06
add comment

2 Answers 2

up vote 3 down vote accepted

A quick test with info here tells me that pressing Enter one time works.

share|improve this answer
    
A few times? One time is enough, for me. –  user unknown Mar 18 '12 at 6:21
    
I have edited it to "One Time" –  Xianlin Mar 18 '12 at 8:11
add comment

Info is a standalone program that mimics Emacs's built-in documentation interface. Emacs does not come from the unix world, and some of its key bindings are different from the traditional unix bindings. In particular, Ctrl+C is the back-to-toplevel key under unix, but under Emacs, that's Ctrl+G (which is also the bell character when it is emitted by the terminal). So press Ctrl+G at the Menu item: prompt. Ctrl+C exits Info because what it does in Emacs (customizable prefix) is not applicable to Info so Info gives it a unix meaning instead (kill the current program).

share|improve this answer
    
Very insightful knowledge indeed although I don't quite understand those terms, but thank you for providing more useful information to the questions. –  Xianlin Mar 20 '12 at 1:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.