Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 19 Nov 2017, 06:22
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Needless man files?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 4 [46 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Author Message
trapster


Joined: 28 Nov 2005
Posts: 2097
Location: Maine, USA

PostPosted: Sun 22 Nov 2009, 20:43    Post subject:  

Code:
You are in /root/$ man irssi

Irssi(1)                                                                                                               Irssi(1)

NAME
       Irssi - a modular IRC client for UNIX

SYNOPSIS
       irssi [-dv!?] [-c server] [-p port] [-n nickname] [-w password] [-h hostname]

DESCRIPTION
       Irssi  is  a  modular  Internet  Relay Chat client. It is highly extensible and very secure. Being a fullscreen, termcap
       based client with many features, Irssi is easily extensible through scripts and modules.

OPTIONS
       --config=FILE
              use FILE instead of ~/.irssi/config.

       --home=PATH
              PATH specifies the home directory of Irssi.  Default is ~/.irssi

       -c, --connect=SERVER
              connects to SERVER

       -w, --password=PASSWORD
              use PASSWORD for authentification.

       -p, --port=PORT
              automatically connect to PORT on server.

       -!, --noconnect
              disables autoconnecting.

       -n, --nick=NICKNAME
              specify NICKNAME as your nick.

       -h, --hostname=HOSTNAME
              use HOSTNAME for your irc session.

       -d, --dummy
              use dummy terminal mode.

       -v, --version
              display the version of Irssi.

       -?, --help
              show a help message.

       --usage
              display brief usage message.

SEE ALSO
       Irssi has been supplied with  a  huge  amount  of  documentation.  Check  /help  or  look  at  the  files  contained  by

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Back to top
View user's profile Send private message Visit poster's website 
sikpuppy


Joined: 29 Mar 2009
Posts: 431

PostPosted: Sun 22 Nov 2009, 20:49    Post subject:  

Yep, that's the man command alright. I don't seem to have it...it's been replaced by a script in /usr/bin that uses a mini browser.

I suggest that your install must have replaced that script with the original implementation of the actual man command (as opposed to a script). My 431 has no add-ons or scripts except that which comes with the actual distro.

_________________
ASUS A1000, 800Mhz PIII Coppermine!, 192Mb RAM, 10Gb IBM Travelstar HDD, Build date August 2001.
Back to top
View user's profile Send private message MSN Messenger 
davesurrey

Joined: 05 Aug 2008
Posts: 1201
Location: UK

PostPosted: Sun 22 Nov 2009, 22:25    Post subject:  

FWIW I get exactly the same as sikpuppy when I
Code:
 man irssi
but if firefox is running at that time it is redirected to www.irssi.com and says unable to connect to the site.

This is using ttuuxxx's 431.1

Dave
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3425
Location: Oregon

PostPosted: Sun 22 Nov 2009, 22:34    Post subject:  

trapster,
Could you check under /usr/bin and see if your man file is a script?
I found that man in Puppy 4.21 and Puppy 4.3.1 scsi kernel 2.6.30.5 are script files.
And they are different.
Maybe zip yours up and attach it for comparision.
What version of Puppy, exactly, are you having this work with?
Back to top
View user's profile Send private message 
alienjeff


Joined: 08 Jul 2006
Posts: 2291
Location: Winsted, CT - USA

PostPosted: Sun 22 Nov 2009, 22:54    Post subject:  

This innocent thread speaks volumes about what's wrong with Puppy, and underscores both previous critical review and calls for some serious organization.

Of course, organization is against the oft touted Chaos Dev Credo...

_________________
hangout: ##b0rked on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon the consent of the people." - Thomas Hooker

Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3425
Location: Oregon

PostPosted: Mon 23 Nov 2009, 14:19    Post subject:  

For those of you that might be interested in what changes I made to the /usr/bin/man script copied from Puppy 4.2.1 to get it to recognize and display online man pages
I am giving you the code I changed in the man script file.

Code:
#    exec defaulthtmlviewer http://linux.die.net/man/${1}
   exec defaulthtmlviewer "http://www.google.com/search?&q=man+\"${1}\"+site:linux.die.net&btnI=Search"


The commented code beginning with # is the original line in the man script from Puppy 4.2.1. The added line is from the man script in Puppy 4.3.1 scsi.
So If you copy the man script from Puppy 4.2.1 found in /usr/bin/ to /usr/bin in Puppy 4.3.1 and make that change to the man script,
the man command from a command line should find local man pages and still be able to find online man pages.
Back to top
View user's profile Send private message 
diaeresis

Joined: 16 Sep 2009
Posts: 165

PostPosted: Wed 25 Nov 2009, 15:47    Post subject:  

so is this solved? because if it isn't I will put it on the bug tracker but if it is i will ignore it.
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3425
Location: Oregon

PostPosted: Wed 25 Nov 2009, 15:53    Post subject:  

In my case, I have the man command working properly from the command line now.
But you have to remember in this that I used the man script from Puppy 4.2.1 and did a modification to it.
So if the original man script remains unchanged, the problem will still exist.
So the best I can tell you is to try typing "man [name of program] from a command line and see if it indeed finds and displays local man pages that are in the man directories.
If you then think it needs to be addressed, go for it.
Back to top
View user's profile Send private message 
trapster


Joined: 28 Nov 2005
Posts: 2097
Location: Maine, USA

PostPosted: Wed 25 Nov 2009, 18:56    Post subject:  

I might have the "smaller" 4.31 version. Can't remember which I downloaded.
/usr/bin/man is not a script. It is an "ELF 32 bit LSB executable intel 80386 version 1 (SYSV)"

Code:
~ > man --help
man, version 1.6e

usage: man [-adfhktwW] [section] [-M path] [-P pager] [-S list]
        [-m system] [-p string] name ...

  a : find all matching entries
  c : do not use cat file
  d : print gobs of debugging information
  D : as for -d, but also display the pages
  f : same as whatis(1)
  h : print this help message
  k : same as apropos(1)
  K : search for a string in all pages
  t : use troff to format pages for printing
  w : print location of man page(s) that would be displayed
      (if no name given: print directories that would be searched)
  W : as for -w, but display filenames only

  C file   : use `file' as configuration file
  M path   : set search path for manual pages to `path'
  P pager  : use program `pager' to display pages
  S list   : colon separated section list
  m system : search for alternate system's man pages
  p string : string tells which preprocessors to run
               e - [n]eqn(1)   p - pic(1)    t - tbl(1)
               g - grap(1)     r - refer(1)  v - vgrind(1)

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Back to top
View user's profile Send private message Visit poster's website 
8-bit


Joined: 03 Apr 2007
Posts: 3425
Location: Oregon

PostPosted: Wed 25 Nov 2009, 19:19    Post subject:  

Thank you Trapster.
That explains why yours works.
The question here is should the replacement for the binary man file written by Barry be replaced by the binary man file?
Is this a matter of size that the binary man file got replaced by a script file or that additional features were added?
I am currently comfortable with my modified man script file.
I was just wondering why the original binary man file was replaced by a script file.
Back to top
View user's profile Send private message 
sikpuppy


Joined: 29 Mar 2009
Posts: 431

PostPosted: Thu 26 Nov 2009, 10:07    Post subject:  

8-bit wrote:
I was just wondering why the original binary man file was replaced by a script file.

The mind boggles as to why. I can't think of a single good reason. I can think of some fairly ordinary reasons.

I think any script which clobbers such a key system file is unfortunate. The script is a bit of a shambles anyway, I don't really understand why any system file such as "man" would be set up to connect to the internet anyway.

Since man takes it's pages from whatever is on ones system I think perhaps if it always went to the internet, what are the chances that the page it reached would have either out of date, erroneous or even information on features that the program being "man"ed doesn't have yet?

I know why it's there I think. It's so the PET makers can strip the man pages out of their PETs. However, how much room are we talking about?

_________________
ASUS A1000, 800Mhz PIII Coppermine!, 192Mb RAM, 10Gb IBM Travelstar HDD, Build date August 2001.
Back to top
View user's profile Send private message MSN Messenger 
thelaptopkiller

Joined: 25 Oct 2009
Posts: 67
Location: The only place in tornado ally with no tornadoes

PostPosted: Thu 26 Nov 2009, 11:34    Post subject:  needless man files but not needless man program  

I do a lot of compiling and all of the programs i compile ether 1.puppy does not have a pet for or 2.is compile only
i am a relitive noob so i would like to read the man files.
the script wont let me
i need the man program why its not in the official release i dont know
is there and version of puppy for compilers and does it have man(the program)?


thelaptopkiller
p.s i am working on compiling dslinux
and i love puppy for that task
because of puppy i can compile it on a p3 600mh pc

thank you puppy!!! Wink
Back to top
View user's profile Send private message 
diaeresis

Joined: 16 Sep 2009
Posts: 165

PostPosted: Thu 26 Nov 2009, 14:55    Post subject:  

If I use man (program name) either in a terminal or in a command prompt I get sent out into internetwebspacethingy by firefox and get a nice helpful web page devoted to whatever program name I typed.
I get the impression that this is not what man users expect to happen.
So as I am sticking stuff on the bug tracker and one more or less makes no odds to me I will whack it in and whoever looks after that side of it all can turn it into a feature request if anyone is unhappy about it being called a bug.
I hope that seems reasonable to all interested parties.
Very Happy
I have a headache and a stinking cold. Subtle nuances are beyond me right now.
And right now I would like a simple easy uncomplicated way of turning a window into exactly half the screen and another window into exactly half the screen and both of them sitting there looking at me while I look at them. And I am sure it is easy but i have never been interested in having it like that before and don't know where to start.
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2612

PostPosted: Thu 26 Nov 2009, 16:17    Post subject:  

Puppy usually has all the man-pages removed -which I also think is unfortunate. Some systems have a local method of displaying man-pages as html which does make them easier to read, but has more overhead.

To my way of thinking, all package should come with some essential documentation -including any README files, LICENSE files and any HOWTO or man-pages.

At the very least, Puppy could use a script-version of man, but which would first check to see if the requested man-page is available on the system. if not, then it could go,looking for it online -after cehcking to see if you are online, of course. But that probably makes too much sense to be included in Puppy...

I've recently implemented package-splitting in my src2pkg program, so you can split out docs and man-pages (among other things), but my program goes *way* out of its' way(hundreds of lines of code) to make sure there are essential docs included in the main package.

Jeff -thanks so much for mentioning slitaz so long ago -I finally got around to checking out out and was so pleased to find an orderly distro, an orderly web-site, a complete repo of sources, a group of devs working together to things the right way -AAmaaayzen Gracie!
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4756
Location: Kingwood, TX

PostPosted: Wed 02 Dec 2009, 01:41    Post subject:  

here is a man pet ... with no man pages lol
man-1.6f-i486.pet
Description 
pet

 Download 
Filename  man-1.6f-i486.pet 
Filesize  46.23 KB 
Downloaded  421 Time(s) 

_________________
Check out my github repositories. I may eventually get around to updating my blogspot.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 4 [46 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0618s ][ Queries: 14 (0.0059s) ][ GZIP on ]