LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2010, 06:47 PM   #1
haiyuan_victor
LQ Newbie
 
Registered: Jul 2010
Posts: 22

Rep: Reputation: 0
how to call certain command info


Hi,all
when i in emacs, i want to call info pages like in terminal.
eg, info date will call the date info page, but when i in emacs, i can only use M-x info call the complete info pages, but i only want to see the date info page.
then which command i should execute in emacs, thanks all.
 
Old 10-15-2010, 04:52 AM   #2
rigor
Member
 
Registered: Sep 2003
Location: 19th moon ................. ................Planet Covid ................Another Galaxy;............. ................Not Yours
Posts: 705

Rep: Reputation: Disabled
For example, you can do:

M-! info date

although if you have some special considerations about where the output from the command goes, that may not be what you need.

Are you just trying to run the command "info date", or do you have some need to capture the output within emacs, or what?
 
1 members found this post helpful.
Old 10-15-2010, 06:38 PM   #3
haiyuan_victor
LQ Newbie
 
Registered: Jul 2010
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by kakaka View Post
For example, you can do:

M-! info date

although if you have some special considerations about where the output from the command goes, that may not be what you need.

Are you just trying to run the command "info date", or do you have some need to capture the output within emacs, or what?
thanks,the command "M-! info date" is nice, but, in the output buffer, it shows like plain text, i can not use 'tab' to move to next *node* as in the terminal, any method?
 
Old 10-16-2010, 04:55 PM   #4
rigor
Member
 
Registered: Sep 2003
Location: 19th moon ................. ................Planet Covid ................Another Galaxy;............. ................Not Yours
Posts: 705

Rep: Reputation: Disabled
There are several forms of Emacs ( including at least Montgomery, Gosling, GNU Emacs, XEmacs, microEmacs, CodEd ( I believe it was derived from microEmacs ), etc. So let's be specific, if I run GNU Emacs 23.1.1 and from the menu below the top of the window, I go through this sequence of menu choices:

Help->More Manuals->All Other Manuals(Info)

when that loads, if I type lower case m, I get the prompt
Quote:
Menu item:
If I type
Quote:
date
followed by the enter key, I'm taken right to the info pages on the date command, in an Emacs buffer. The Emacs buffer is in "Info" mode so I can tab around just as I could if I were running "info date" in a terminal window, outside Emacs.

If you are using some similar form of GNU Emacs, with menu choices which work as I've described, then perhaps you could help us understand what you feel is wrong with that way of accessing info pages on the date command from within Emacs, so we could help you find some way of doing it that you feel is more appropriate to your needs.

If you are using a different form of Emacs, please let us know that.
 
Old 10-16-2010, 11:48 PM   #5
haiyuan_victor
LQ Newbie
 
Registered: Jul 2010
Posts: 22

Original Poster
Rep: Reputation: 0
thanks, the method you said is what I want.Using your method, now i can read certain command's info page in emacs(using Gnu emacs).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
system call used by SIZE command santosh.sajjan Linux - Newbie 4 05-11-2010 10:02 AM
command and its corresponding system call darwins Linux - Kernel 3 12-25-2008 08:31 AM
How to call Hibernate from command line hacker supreme Linux - Software 4 09-28-2007 06:53 PM
URGENT::System call to find Processor Info mghiya Programming 4 02-13-2006 03:16 AM
info command walruswalrus Linux - Software 1 12-02-2005 12:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration