[Bug 248865] New: bash completion does not allow local manual pages
https://bugzilla.novell.com/show_bug.cgi?id=248865 Summary: bash completion does not allow local manual pages Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Basesystem AssignedTo: werner@novell.com ReportedBy: bg@novell.com QAContact: qa@suse.de the bash completion should display local man pages if those are preceeded with "./" For example, if you have a manual page foo.1, man will work when doing: man ./foo.1 while man foo.1 will not display the man page. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=248865 ------- Comment #1 from werner@novell.com 2007-02-26 04:00 MST ------- `man man' states: -l, --local-file Activate `local' mode. Format and display local manual files instead of searching through the system's manual collection. Each manual page argument will be interpreted as an nroff source file in the correct format. No cat file is produced. If '-' is listed as one of the arguments, input will be taken from stdin. When this option is not used, and man fails to find the page required, before displaying the error message, it attempts to act as if this option was supplied, using the name as a filename and looking for an exact match. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=248865 ------- Comment #2 from bg@novell.com 2007-02-26 04:14 MST ------- The last sentence seems to indicate, that a manual page that is not in $MANPATH should be displayed if it is local in the directory. However, this does not work. To complete the example from comment #1 with a local file foo.1: Working: man ./foo.1 man -l foo.1 man -l ./foo.1 Not working: man foo.1 man foo man -l foo I am not sure, if there is a problem with man in this regard. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=248865 ------- Comment #3 from werner@novell.com 2007-02-26 04:21 MST -------
Not working: man foo.1
the manual page `foo.1' does not exist in the sytem manpath
man foo
ditto
man -l foo
there is no file with name `foo'. IMHO the manual page of man is fully correct. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=248865 ------- Comment #4 from bg@novell.com 2007-02-26 04:26 MST ------- The only thing irritating me was that last sentence: When this option is not used, and man fails to find the page required, before displaying the error message, it attempts to act as if this option was supplied, using the name as a filename and looking for an exact match. which indicates that a) if the option (-l) is not used b) if man fails to find the required page -> it attempts to use the option -l and uses the requested page as filename. However, I do not mind if that is not the real behavior, because the version ./ still works. And all I wanted in the first place is a change to the bash completion to match that. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=248865 werner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #5 from werner@novell.com 2007-02-26 08:39 MST ------- fixed even for tcsh. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com