sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
plmday
Post subject: sidux should come with `info' preinstalled  PostPosted: Jul 20, 2008 - 02:49 AM



Joined: Jun 26, 2008
Posts: 7
Location: Macau
Status: Offline
I come to this request since I do not get connected to the internet too often. One day (offline) I wanna read the info page of a command, I surprisedly find that the `info' command is not available. This is really weired. Just see the description of `info' by `apt-cache show info':
Quote:
Much of the software in Debian comes with its online documentation in the form of Info files, so it is most likely you will want to install it.

So I think sidux should come with `info' preinstalled. Thanks.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
hubi
Post subject: sidux should come with `info  PostPosted: Jul 20, 2008 - 02:56 AM



Joined: Nov 30, 2006
Posts: 3480
Location: Budapest
Status: Offline
Use man instead of info:
Code:
man packagename
hubi

_________________
Bonitas stultitiaque sodales sunt.
 
 View user's profile Send private message  
Reply with quote Back to top
plmday
Post subject: Re: sidux should come with `info  PostPosted: Jul 20, 2008 - 03:18 AM



Joined: Jun 26, 2008
Posts: 7
Location: Macau
Status: Offline
hubi wrote:
Use man instead of info:
Code:
man packagename
hubi


Thanks for the reply, hubi. I know I can use man instead. But with only the man page is not sufficient. I installed the octave3.0 package. `man octave3.0' only give a simple description of the usage of octave as a command in the shell. What I wanna read is its detailed DOCUMENTATION. That's why I come to `info' since I installed its info-doc package as well.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
kelmo
Post subject: RE: Re: sidux should come with `info  PostPosted: Jul 20, 2008 - 07:12 AM



Joined: Dec 19, 2006
Posts: 1030

Status: Offline
I agree, it will be added for next time (pending veto).
 
 View user's profile Send private message  
Reply with quote Back to top
ralul
Post subject: RE: Re: sidux should come with `info  PostPosted: Jul 20, 2008 - 02:17 PM



Joined: Jan 10, 2008
Posts: 225

Status: Offline
... and to search a manual page think of "apropos SEARCHSOME" (But I do not know if you have to updatedb before). Info is good to learn linux from ground up (textutils, grep, sed, etc), but seems to me outdated and not relevant if it comes to more actual config issues.
 
 View user's profile Send private message  
Reply with quote Back to top
CaesarTjalbo
Post subject: Re: RE: Re: sidux should come with `info  PostPosted: Jul 20, 2008 - 02:47 PM



Joined: Dec 01, 2007
Posts: 203
Location: Enschede NL
Status: Offline
ralul wrote:
... and to search a manual page think of "apropos SEARCHSOME" (But I do not know if you have to updatedb before).
...

updatedb fills the database for 'locate', an alternative for 'find'. From the man page for apropos:
Quote:
The database searched by apropos is updated by the mandb program.
 
 View user's profile Send private message  
Reply with quote Back to top
ralul
Post subject: RE: Re: RE: Re: sidux should come with `info  PostPosted: Jul 20, 2008 - 07:26 PM



Joined: Jan 10, 2008
Posts: 225

Status: Offline
Yes CaesarTjalbo, so if you had installed something new recently for which you want apropos and manuals then start as root:
Code:

/etc/cron.daily/man-db
 
 View user's profile Send private message  
Reply with quote Back to top
slh
Post subject: RE: Re: RE: Re: sidux should come with `info  PostPosted: Jul 20, 2008 - 07:26 PM



Joined: Nov 25, 2006
Posts: 2571

Status: Offline
newflash, this is not necessary in sid.
 
 View user's profile Send private message  
Reply with quote Back to top
CaesarTjalbo
Post subject: Re: RE: Re: RE: Re: sidux should come with `info  PostPosted: Jul 20, 2008 - 11:18 PM



Joined: Dec 01, 2007
Posts: 203
Location: Enschede NL
Status: Offline
slh wrote:
newflash, this is not necessary in sid.

What's so 'unnecessary' about info in sid?
 
 View user's profile Send private message  
Reply with quote Back to top
kelmo
Post subject: RE: Re: RE: Re: RE: Re: sidux should come with `info  PostPosted: Jul 21, 2008 - 12:39 AM



Joined: Dec 19, 2006
Posts: 1030

Status: Offline
I believe he referred to running "/etc/cron.daily/man-db", as that should be taken care of by dpkg trigger or so.
 
 View user's profile Send private message  
Reply with quote Back to top
slh
Post subject: RE: Re: RE: Re: RE: Re: sidux should come with `info  PostPosted: Jul 21, 2008 - 11:48 AM



Joined: Nov 25, 2006
Posts: 2571

Status: Offline
indeed
 
 View user's profile Send private message  
Reply with quote Back to top
ModestUser
Post subject: RE: Re: RE: Re: RE: Re: sidux should come with `info  PostPosted: Jul 21, 2008 - 12:40 PM



Joined: Jan 07, 2008
Posts: 298

Status: Offline
BTW, the "info" documentation can be viewed with konqueror via info:/ just like man pages with man:/.
 
 View user's profile Send private message  
Reply with quote Back to top
CaesarTjalbo
Post subject: Re: RE: Re: RE: Re: RE: Re: sidux should come with `info  PostPosted: Jul 21, 2008 - 06:22 PM



Joined: Dec 01, 2007
Posts: 203
Location: Enschede NL
Status: Offline
kelmo wrote:
I believe he referred to running "/etc/cron.daily/man-db", as that should be taken care of by dpkg trigger or so.

That makes so much more sense that I don't understand why I overlooked that.

Interesting, I'm new to the debian packaging system and I hadn't seen the triggers yet. I gather that means that every package which adds/removes man pages should have a dpkg trigger to run man-db.
 
 View user's profile Send private message  
Reply with quote Back to top
kelmo
Post subject: RE: Re: RE: Re: RE: Re: RE: Re: sidux should come with `info  PostPosted: Jul 22, 2008 - 12:55 AM



Joined: Dec 19, 2006
Posts: 1030

Status: Offline
Exactly. update-menu's, man-db, update-initramfs seem to all have dpkg-trigger support currently. Any package which needs to perform one of those actions activates the trigger and the action gets performed at the end of dpkg run.
 
 View user's profile Send private message  
Reply with quote Back to top
DeepDayze
Post subject: RE: Re: RE: Re: RE: Re: RE: Re: sidux should come with `info  PostPosted: Jul 22, 2008 - 01:04 AM



Joined: Dec 02, 2006
Posts: 1909

Status: Offline
The trigger system sounds interesting indeed. My thoughts it can allow certain actions to be deferred to end of dpkg run by queuing them for the trigger to process them. Sounds like a nice idea as it makes apt-get more robust and efficient
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio