On 4/18/06, Loïc Minier <lool+debian@via.ecp.fr> wrote: > reassign 363250 man-db > retitle 363250 please clarify in the man manpage how $PAGER is invoked > stop > > Hi, > > On Tue, Apr 18, 2006, Rohan Dhruva wrote: > > I suggest you use: > > export PAGER="sh -c \"col -b | view -c 'set ft=man nomod nolist > > titlestring=MANPAGE' -\"" > > That didnt work. > > It works here, under zsh as well as under bash. Check with a new user. > Are you using aliases? "test" is an absolutely new freshly created user. test@debian:~$ echo $PAGER sh -c "col -b | view -c 'set ft=man nomod nolist titlestring=MANPAGE' -" test@debian:~$ man vim Reformatting vim(1), please wait... view: -s option is only applicable to ex. man: command exited with status 256: /usr/bin/zsoelim /tmp/zmanujhMpV | /usr/bin/tbl | /usr/bin/nroff -mandoc -rLL=89n -rLT=89n -Tutf8 | sh -c col -b | view -c 'set ft=man nomod nolist titlestring=MANPAGE' - test@debian:~$ > > man: command exited with status 256: /usr/bin/zsoelim /tmp/zmanqn0tzd | /usr/ > > bin/tbl | /usr/bin/nroff -mandoc -rLL=89n -rLT=89n -Tutf8 | sh -c col -b | view > > -c 'set ft=man nomod nolist titlestring=MANPAGE' - > > I don't see anything similar being called on my system. > > I suggest you run something like: > strace -o foo.strace -f -e execve -e signal= -q -v -s 200 man vim > and attach the resulting foo.strace (warning: contains sensitive > information). Attached file -- man.strace > > Also, please mention the version of man you are using (dpkg -l man-db), > and your environment (env > foo.env, warning: contains sensitive > information). [rohan@debian ~]$ dpkg -l man-db Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=================-=================-================================================== ii man-db 2.4.3-3 The on-line manual pager Attached file - man.env Thanks for the help, in case any more information is needed, please dont hesitate to ask. Also, the alias'es I use the are same as the ones in other distros, including sarge. I am attaching my .bashrc too, for reference. Regards, Rohan. -- Rohan Dhruva Proud GNU/Linux user. Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming or what?" http://www.dhruva.be/
Attachment:
bashrc
Description: Binary data
Attachment:
man.env
Description: Binary data
Attachment:
man.strace
Description: Binary data