First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 49851
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Fabian Groffen <grobian@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: hao50750@rio.odn.ne.jp
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
tcsh-complete.patch a patch to /etc/profile.d/tcsh-complete text/plain Tomoyuki Sakurai (RETIRED) 2005-09-03 21:08 0000 781 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 49851 depends on: Show dependency tree
Bug 49851 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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.

------- Comment #1 From Mamoru KOMACHI (RETIRED) 2004-05-03 12:18:31 0000 -------
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.

------- Comment #2 From Eitan Levi 2005-01-06 23:11:24 0000 -------
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!

------- Comment #3 From Tomoyuki Sakurai (RETIRED) 2005-02-10 21:21:25 0000 -------
BTW, "unsetenv LANG" works as expected
> unsetenv LANG
> man man

------- Comment #4 From Tomoyuki Sakurai (RETIRED) 2005-09-03 21:08:25 0000 -------
Created an attachment (id=67606) [details]
a patch to /etc/profile.d/tcsh-complete

try this patch.
if you have better regex, submit a patch.

------- Comment #5 From Fabian Groffen 2005-09-27 12:25:06 0000 -------
note to self: done

------- Comment #6 From Fabian Groffen 2005-09-30 12:38:42 0000 -------
Fixed in 6.14-r1

First Last Prev Next    No search results available      Search page      Enter new bug