Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36992 - pnmindex fails, claims "Unknown colorls variable `do'."
Summary: pnmindex fails, claims "Unknown colorls variable `do'."
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://www.sleepdeprived.org/files/di...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-01 21:36 UTC by bugs
Modified: 2004-10-03 00:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugs 2004-01-01 21:36:27 UTC
$ pnmindex
Unknown colorls variable `do'.
Segmentation fault

Some googling revealed this as a bug in some shells processing of DIR_COLORS  DOORS.

The above link claims to be a patch for this behaviour, although I have not tried it.
Comment 1 bugs 2004-01-01 21:41:22 UTC
p.s. - the workaround was just to delete DOORS from DIR_COLORS :)
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2004-01-05 15:39:56 UTC
Works fine here.  BTW, what shell ... ?
Comment 3 bugs 2004-01-12 20:33:29 UTC
Using bash as my shell.
GNU bash, version 2.05b.0(1)-release (i686-pc-linux-gnu)
Not certain what pnmindex is invoking.

I *have* added some file extensions to DIR_COLORS, but nowhere in that area.
Comment 4 bugs 2004-01-13 23:06:45 UTC
Oh. I'm a little slow.
Direct from sleepdeprived.org
"Here is a small patch for fileutils 4.1's dircolors to prevent tcsh and possibly other shells from bombing or complaining on startup due to the color code for "doors" (the Unknown colorls variable `do'. error) - added 30.Jul.2001"
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2004-01-13 23:39:56 UTC
hmm, that patch basically comments out the door thing, which I'm not comfortable doing to coreutils.  I'd rather find a fix for tcsh.
Comment 6 SpanKY gentoo-dev 2004-10-03 00:25:59 UTC
root@vapier 0 groff # pnmindex 
usage: /usr/bin/pnmindex [-size N] [-across N] [-colors N] [-black] pnmfile ...

seems to be fixed now; please re-open if it is not