Bug 49851 - The man command hung up in complete process on tcsh (/etc/profile.d/tcsh-complete).
|
Bug#:
49851
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: grobian@gentoo.org
|
Reported By: hao50750@rio.odn.ne.jp
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: The man command hung up in complete process on tcsh (/etc/profile.d/tcsh-complete).
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-05-03 08:25 0000
|
When I try man command, the command hung up in complete process (use tab key).
While freezing, 'top' command shows that 'sed' is no control. Probably, there
are some problems on 'complete man ......' lines in
/etc/profile.d/tcsh-complete, and there is a lot of files in $MANPATH on my
computer because of emerged manpages-jp.
Reproducible: Always
Steps to Reproduce:
1. # USE="cjk" emerge tcsh
# emerge jless-iso254
# emerge manpages-ja
2. % setenv LANG ja_JP.eucJP
% setenv PAGER "jless"
% setenv JLESSCHARSET "ja"
3. % man <tab>key
Actual Results:
The shell hung up until press ctrl-c.
Expected Results:
A ablable list was showed.
This is not caused by manpages-ja. The problem is in tcsh-complete
itself. Even though I removed manpages-ja (I have man and man-pages),
tcsh hangs when I run `man man`. `alias myman man; myman man` runs
perfectly fine, so there is something wrong in man completion code in
tcsh-complete.
I'm experiencing the same problem, but I've noticed that it only hangs when I
supply a manual page as an argument to man. If I just enter 'man' on its own, I
get:
> man
What manual page do you want?
If I specify a command line option, I get:
> man -v
man, version 1.5m
-h works too, so does -k and apropos. But as soon as I specify a man page that
I want to look at, it just freezes.
Also what's interesting is that if I specify the full path to man, it works
perfectly. Like this: > /usr/bin/man ls
Running "which man" does return "/usr/bin/man" though... so it's not a problem
there.
I hope this helps!
BTW, "unsetenv LANG" works as expected
> unsetenv LANG
> man man