Re: Local copy of ALL man pages

2013-01-10 Thread Chris Davies
Richard Owlett rowl...@cloud85.net wrote:
 My specification explicitly says NO connection whatsoever to 
 the internet.

The one you posted at the beginning of this thread didn't say
that. However, I'm happy to think about other alternatives.

Chris


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/gmd2s9xujs@news.roaima.co.uk



Re: Local copy of ALL man pages

2013-01-10 Thread Richard Owlett

Sposkpat Sposkpat wrote:

Get the manpages from The Linux Documentation Project
http://www.tldp.org/manpages/man.html

http://www.kernel.org/pub/linux/docs/man-pages/man-pages-3.45.tar.gz



Thank you. I'm new to Linux and keep finding new places to look.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50eeb972.4020...@cloud85.net



Re: Local copy of ALL man pages

2013-01-10 Thread Richard Owlett

Chris Davies wrote:

Richard Owlett rowl...@cloud85.net wrote:

My specification explicitly says NO connection whatsoever to
the internet.


The one you posted at the beginning of this thread didn't say
that. However, I'm happy to think about other alternatives.

Chris



Apologies. It's one of those cases where I knew what I 
meant. Evidently others did not.




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50eeba51.6080...@cloud85.net



Re: Local copy of ALL man pages

2013-01-10 Thread Darac Marjal
On Sat, Jan 05, 2013 at 11:19:31AM -0600, Richard Owlett wrote:
 When I've wanted to look at a man page for an uninstalled package
 I've used http://manpages.debian.net .
 It would more convenient to have *ALL* pages available locally.
 
 Are they available to download as a set somewhere on the web? [I use
 squeeze.]
 
 I have copied all the .deb files from the 8 DVD install set to a USB
 drive.  How could I extract all the man pages?

I think I have found the solution to your problem. In the debian-goodies
package there is a program called debmany that will show a man page
from an installed or uninstalled package. It seems to rely on fetching
the manpages from a repository, so you would need to make a local
repository out of all those *.deb files, but that's a common enough
task.



signature.asc
Description: Digital signature


Re: Local copy of ALL man pages

2013-01-10 Thread Andrei POPESCU
On Jo, 10 ian 13, 15:11:44, Darac Marjal wrote:
 
 I think I have found the solution to your problem. In the debian-goodies
 package there is a program called debmany that will show a man page
 from an installed or uninstalled package. It seems to rely on fetching
 the manpages from a repository, so you would need to make a local
 repository out of all those *.deb files, but that's a common enough
 task.
 
Bash's auto-complete found also debman. Both seem to be able to extract 
manpages from a given .deb as well.

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Local copy of ALL man pages

2013-01-09 Thread Richard Owlett

Greg Madden wrote:

On Saturday 05 January 2013 08:19:31 you wrote:

When I've wanted to look at a man page for an uninstalled
package I've used http://manpages.debian.net .
It would more convenient to have *ALL* pages available locally.

Are they available to download as a set somewhere on the
web? [I use squeeze.]

I have copied all the .deb files from the 8 DVD install set
to a USB drive.  How could I extract all the man pages?

TIA


Check out 'dwww'



To clarify my motivation:
  1. divorce myself {as much as possible} from the web - 
I'm on dial-up.
  2. access all man pages {whether or not package 
installed} using the man command.


I've also thought of another possible use for having copy of 
all man pages available locally. Create a personalized 
keyword search index.




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50ed6464.90...@cloud85.net



Re: Local copy of ALL man pages

2013-01-09 Thread Doug

On 01/08/2013 11:48 PM, Greg Madden wrote:

On Saturday 05 January 2013 08:19:31 you wrote:

When I've wanted to look at a man page for an uninstalled
package I've used http://manpages.debian.net .
It would more convenient to have *ALL* pages available locally.

Are they available to download as a set somewhere on the
web? [I use squeeze.]

I have copied all the .deb files from the 8 DVD install set
to a USB drive.  How could I extract all the man pages?

TIA

Check out 'dwww'



At one time there was a big fat book called The Linux Bible that
had all the man pages that existed then.  I don't know if it still
exists, but you might look for that.

--doug


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50edbfe0.1010...@optonline.net



Re: Local copy of ALL man pages

2013-01-09 Thread Brian
On Wed 09 Jan 2013 at 14:07:12 -0500, Doug wrote:

 On 01/08/2013 11:48 PM, Greg Madden wrote:
 On Saturday 05 January 2013 08:19:31 you wrote:
 When I've wanted to look at a man page for an uninstalled
 package I've used http://manpages.debian.net .
 It would more convenient to have *ALL* pages available locally.
 
 Are they available to download as a set somewhere on the
 web? [I use squeeze.]
 
 I have copied all the .deb files from the 8 DVD install set
 to a USB drive.  How could I extract all the man pages?
 
 TIA
 Check out 'dwww'
 
 
 At one time there was a big fat book called The Linux Bible that
 had all the man pages that existed then.  I don't know if it still
 exists, but you might look for that.

You'll be glad to know the usual search methods show it does exist. What
do you recommend? He purchases it and scans it onto his machine?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130109200601.GN32121@desktop



Re: Local copy of ALL man pages

2013-01-09 Thread Chris Davies
Richard Owlett rowl...@cloud85.net wrote:
 To clarify my motivation:
   1. divorce myself {as much as possible} from the web - 
 I'm on dial-up.
   2. access all man pages {whether or not package 
 installed} using the man command.

Would it be reasonable to utilise a manpage cache with dial-on-demand,
so that pages are delivered from local storage whenever possible, but
that they are retrieved from somewhere remote if necessary?

You'd need some form of negative caching to catch frequently misspelled
words, and you might want to enforce some form of timeout on the locally
cached pages.

Hmmm. This is now starting to sound like a web proxy ... perhaps see
http://people.w3.org/~dom/archives/2006/09/offline-web-cache-with-squid/
http://www.gedanken.org.uk/software/wwwoffle/

Chris


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/ul11s9xib3@news.roaima.co.uk



Re: Local copy of ALL man pages

2013-01-09 Thread Doug

On 01/09/2013 03:06 PM, Brian wrote:

On Wed 09 Jan 2013 at 14:07:12 -0500, Doug wrote:


On 01/08/2013 11:48 PM, Greg Madden wrote:

On Saturday 05 January 2013 08:19:31 you wrote:

When I've wanted to look at a man page for an uninstalled
package I've used http://manpages.debian.net .
It would more convenient to have *ALL* pages available locally.

Are they available to download as a set somewhere on the
web? [I use squeeze.]

I have copied all the .deb files from the 8 DVD install set
to a USB drive.  How could I extract all the man pages?

TIA

Check out 'dwww'



At one time there was a big fat book called The Linux Bible that
had all the man pages that existed then.  I don't know if it still
exists, but you might look for that.

You'll be glad to know the usual search methods show it does exist. What
do you recommend? He purchases it and scans it onto his machine?



Why scan it in--just open it and read it.   --doug


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50ede5ba.90...@optonline.net



Re: Local copy of ALL man pages

2013-01-09 Thread Richard Owlett

Chris Davies wrote:

Richard Owlett rowl...@cloud85.net wrote:

To clarify my motivation:
   1. divorce myself {as much as possible} from the web -
I'm on dial-up.
   2. access all man pages {whether or not package
installed} using the man command.


Would it be reasonable to utilise a manpage cache with dial-on-demand,


absolutely _*NOT*_

My specification explicitly says NO connection whatsoever to 
the internet.
Now whether anyone other than myself considers that a 
[insert adjective implying sanity] restriction is moot ;/



so that pages are delivered from local storage whenever possible, but
that they are retrieved from somewhere remote if necessary?

You'd need some form of negative caching to catch frequently misspelled
words, and you might want to enforce some form of timeout on the locally
cached pages.

Hmmm. This is now starting to sound like a web proxy


No, proxies presume at least occasional connectivity ;/



... perhaps see

http://people.w3.org/~dom/archives/2006/09/offline-web-cache-with-squid/
http://www.gedanken.org.uk/software/wwwoffle/

Chris


BTH friends/relatives/acquaintances consider me strange.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50ee1618.6030...@cloud85.net



Re: Local copy of ALL man pages

2013-01-09 Thread Richard Owlett

Doug wrote:

On 01/09/2013 03:06 PM, Brian wrote:

On Wed 09 Jan 2013 at 14:07:12 -0500, Doug wrote:


On 01/08/2013 11:48 PM, Greg Madden wrote:

On Saturday 05 January 2013 08:19:31 you wrote:

When I've wanted to look at a man page for an uninstalled
package I've used http://manpages.debian.net .
It would more convenient to have *ALL* pages available
locally.

Are they available to download as a set somewhere on the
web? [I use squeeze.]

I have copied all the .deb files from the 8 DVD install
set
to a USB drive.  How could I extract all the man pages?

TIA

Check out 'dwww'



At one time there was a big fat book called The Linux
Bible that
had all the man pages that existed then.  I don't know if
it still
exists, but you might look for that.

You'll be glad to know the usual search methods show it
does exist. What
do you recommend? He purchases it and scans it onto his
machine?



Why scan it in--just open it and read it.   --doug



May be a worthwhile tome.
HOWEVER,
None of first 30 Google hits imply it might be accessed via 
'man' command ;/




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50ee18b7.5010...@cloud85.net



Re: Local copy of ALL man pages

2013-01-09 Thread Sposkpat Sposkpat
Get the manpages from The Linux Documentation Project 
http://www.tldp.org/manpages/man.html

http://www.kernel.org/pub/linux/docs/man-pages/man-pages-3.45.tar.gz

--- On Wed, 1/9/13, Richard Owlett rowl...@cloud85.net wrote:

 From: Richard Owlett rowl...@cloud85.net
 Subject: Re: Local copy of ALL man pages
 To: debian-user debian-user@lists.debian.org
 Date: Wednesday, January 9, 2013, 5:15 PM
 Chris Davies wrote:
  Richard Owlett rowl...@cloud85.net
 wrote:
  To clarify my motivation:
     1. divorce myself {as much as
 possible} from the web -
  I'm on dial-up.
     2. access all man pages {whether or
 not package
  installed} using the man command.
 
  Would it be reasonable to utilise a manpage cache with
 dial-on-demand,
 
 absolutely _*NOT*_
 
 My specification explicitly says NO connection whatsoever to
 
 the internet.
 Now whether anyone other than myself considers that a 
 [insert adjective implying sanity] restriction is moot ;/
 
  so that pages are delivered from local storage whenever
 possible, but
  that they are retrieved from somewhere remote if
 necessary?
 
  You'd need some form of negative caching to catch
 frequently misspelled
  words, and you might want to enforce some form of
 timeout on the locally
  cached pages.
 
  Hmmm. This is now starting to sound like a web proxy
 
 No, proxies presume at least occasional connectivity ;/
 
 
 
 ... perhaps see
  http://people.w3.org/~dom/archives/2006/09/offline-web-cache-with-squid/
  http://www.gedanken.org.uk/software/wwwoffle/
 
  Chris
 
 BTH friends/relatives/acquaintances consider me strange.
 
 
 
 -- 
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/50ee1618.6030...@cloud85.net
 



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1357788163.31807.yahoomailclas...@web120106.mail.ne1.yahoo.com



Re: Local copy of ALL man pages

2013-01-08 Thread Greg Madden
On Saturday 05 January 2013 08:19:31 you wrote:
 When I've wanted to look at a man page for an uninstalled
 package I've used http://manpages.debian.net .
 It would more convenient to have *ALL* pages available locally.

 Are they available to download as a set somewhere on the
 web? [I use squeeze.]

 I have copied all the .deb files from the 8 DVD install set
 to a USB drive.  How could I extract all the man pages?

 TIA

Check out 'dwww'


-- 
Peace,

Greg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201301081948.19837.gomadtr...@gci.net



Re: Local copy of ALL man pages

2013-01-06 Thread Richard Hector

On 06/01/13 06:19, Richard Owlett wrote:

When I've wanted to look at a man page for an uninstalled package I've
used http://manpages.debian.net .
It would more convenient to have *ALL* pages available locally.

Are they available to download as a set somewhere on the web? [I use
squeeze.]

I have copied all the .deb files from the 8 DVD install set to a USB
drive. How could I extract all the man pages?


You might have to deal with conflicts - where packages conflict with 
each other, there's a good chance their manpages will too. Eg postfix, 
exim and sendmail probably all provide a sendmail manpage.


Richard


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50e934c9.30...@walnut.gen.nz



Re: Local copy of ALL man pages

2013-01-06 Thread Richard Owlett

Tom Grace wrote:

On 5 Jan 2013, at 17:19, Richard Owlett rowl...@cloud85.net wrote:


When I've wanted to look at a man page for an uninstalled package I've used 
http://manpages.debian.net .
It would more convenient to have *ALL* pages available locally.

Are they available to download as a set somewhere on the web? [I use squeeze.]

I have copied all the .deb files from the 8 DVD install set to a USB drive.  
How could I extract all the man pages?

TIA



First, sorry for top posting.

Fixed ;)

Generally, manpages are available in the package they relate to, and I'm not 
aware of an easy way to get all of them.
Might you be able to use something like httrack to take an 

offline copy of a web version of them ?




I don't think it would find internal links to follow.  But 
I'll need that reference for another project. Thanks.




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50e96523.1020...@cloud85.net



Re: Local copy of ALL man pages

2013-01-06 Thread Richard Owlett

Brian wrote:

On Sat 05 Jan 2013 at 11:19:31 -0600, Richard Owlett wrote:


When I've wanted to look at a man page for an uninstalled package
I've used http://manpages.debian.net .
It would more convenient to have *ALL* pages available locally.


Save the pages you download. These are the ones you want to look at, we
presume.


With the alternates you give below, you suspected 
[correctly] that wasn't the case ;)



 You would have to download them anyway, even if you went for
the complete collection.

But you want ALL pages. Every single one in Debian. Ok, here is an
idea:

1. Make a list of all Debian packages.

2. Look at the URL for a particular man page, say vim

  
http://manpages.debian.net/cgi-bin/man.cgi?query=vimapropos=0sektion=0manpath=Debian+6.0+squeezeformat=htmllocale=en

3. Write a script to feed the items in the list you have drawn up to a
program (e.g lynx -dump), replacing query=vim with each item name.


Are they available to download as a set somewhere on the web? [I use
squeeze.]


It is doubtful. But you could provide this as a service.


I have copied all the .deb files from the 8 DVD install set to a USB
drive.  How could I extract all the man pages?


'ar -x' will get data.tar.gz from the .deb file. 'tar zvxf data.tar.gz'
will do the unpacking. The man pages are in /usr/share/man. Something
like 'cp' should be able to get at them.



I think that points me in the direction I need to go.




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50e96e22.9020...@cloud85.net



Re: Local copy of ALL man pages

2013-01-06 Thread Richard Owlett

Chris Davies wrote:

Brian a...@cityscape.co.uk wrote:

'ar -x' will get data.tar.gz from the .deb file. 'tar zvxf data.tar.gz'
will do the unpacking. The man pages are in /usr/share/man. Something
like 'cp' should be able to get at them.


For any given $PACKAGE deb this will extract the manpages into
/usr/share/man (you might prefer to change tar's / to /tmp):

 ar -p $PACKAGE data.tar.gz | tar xzvCf / - ./usr/share/man

Chris



I'll have to sit down with man pages a figure out why that 
does what you say.

A large part of my motivation is self-education.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50e96fe9.8050...@cloud85.net



Re: Local copy of ALL man pages

2013-01-06 Thread Andrei POPESCU
On Du, 06 ian 13, 06:29:22, Richard Owlett wrote:
 Brian wrote:
 
 'ar -x' will get data.tar.gz from the .deb file. 'tar zvxf data.tar.gz'
 will do the unpacking. The man pages are in /usr/share/man. Something
 like 'cp' should be able to get at them.
 
 I think that points me in the direction I need to go.

I don't think dpkg-deb has been mentioned.

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Local copy of ALL man pages

2013-01-06 Thread Chris Davies
Richard Owlett rowl...@cloud85.net wrote:
 Chris Davies wrote:
  ar -p $PACKAGE data.tar.gz | tar xzvCf / - ./usr/share/man

 I'll have to sit down with man pages a figure out why that 
 does what you say.

ar : archiver. It works on the $PACKAGE archive. The -p flag writes
the named member(s) of the archive to stdout

tar : tape archiver. The various flags take the next argument from
the command line as appropriate:
x : extract file(s) named on the command line after other flags have
been processed, or extract everything if no files are specified
z : input is compressed (gzip)
v : verbose output
C / : change directory to / before extracting files
f - : read from stdin (- could be a filename, to read from that file)

Chris


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/0p4pr9xqlr@news.roaima.co.uk



Local copy of ALL man pages

2013-01-05 Thread Richard Owlett
When I've wanted to look at a man page for an uninstalled 
package I've used http://manpages.debian.net .

It would more convenient to have *ALL* pages available locally.

Are they available to download as a set somewhere on the 
web? [I use squeeze.]


I have copied all the .deb files from the 8 DVD install set 
to a USB drive.  How could I extract all the man pages?


TIA



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50e860a3.6030...@cloud85.net



Re: Local copy of ALL man pages

2013-01-05 Thread Tom Grace
First, sorry for top posting. 

Generally, manpages are available in the package they relate to, and I'm not 
aware of an easy way to get all of them. Might you be able to use something 
like httrack to take an offline copy of a web version of them ?

Sent from my iPad

On 5 Jan 2013, at 17:19, Richard Owlett rowl...@cloud85.net wrote:

 When I've wanted to look at a man page for an uninstalled package I've used 
 http://manpages.debian.net .
 It would more convenient to have *ALL* pages available locally.
 
 Are they available to download as a set somewhere on the web? [I use squeeze.]
 
 I have copied all the .deb files from the 8 DVD install set to a USB drive.  
 How could I extract all the man pages?
 
 TIA
 
 
 
 -- 
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject 
 of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/50e860a3.6030...@cloud85.net
 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/f6fc165b-e85c-4847-8944-24eb674f4...@deathbycomputers.co.uk



Re: Local copy of ALL man pages

2013-01-05 Thread Brian
On Sat 05 Jan 2013 at 11:19:31 -0600, Richard Owlett wrote:

 When I've wanted to look at a man page for an uninstalled package
 I've used http://manpages.debian.net .
 It would more convenient to have *ALL* pages available locally.

Save the pages you download. These are the ones you want to look at, we
presume. You would have to download them anyway, even if you went for
the complete collection.

But you want ALL pages. Every single one in Debian. Ok, here is an
idea:

1. Make a list of all Debian packages.

2. Look at the URL for a particular man page, say vim

 
http://manpages.debian.net/cgi-bin/man.cgi?query=vimapropos=0sektion=0manpath=Debian+6.0+squeezeformat=htmllocale=en

3. Write a script to feed the items in the list you have drawn up to a
   program (e.g lynx -dump), replacing query=vim with each item name.

 Are they available to download as a set somewhere on the web? [I use
 squeeze.]

It is doubtful. But you could provide this as a service.

 I have copied all the .deb files from the 8 DVD install set to a USB
 drive.  How could I extract all the man pages?

'ar -x' will get data.tar.gz from the .deb file. 'tar zvxf data.tar.gz'
will do the unpacking. The man pages are in /usr/share/man. Something
like 'cp' should be able to get at them.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130105200404.GI32121@desktop



Re: Local copy of ALL man pages

2013-01-05 Thread Chris Davies
Brian a...@cityscape.co.uk wrote:
 'ar -x' will get data.tar.gz from the .deb file. 'tar zvxf data.tar.gz'
 will do the unpacking. The man pages are in /usr/share/man. Something
 like 'cp' should be able to get at them.

For any given $PACKAGE deb this will extract the manpages into
/usr/share/man (you might prefer to change tar's / to /tmp):

ar -p $PACKAGE data.tar.gz | tar xzvCf / - ./usr/share/man

Chris


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/orpmr9xg5q@news.roaima.co.uk