sillysloft / fluxbox

Fluxbox Window Manager (Mirror)
http://fluxbox.org/news/
Other
0 stars 1 forks source link

fluxbox menu -> About doesn't work when user's shell is tcsh #808

Open sillysloft opened 16 years ago

sillysloft commented 16 years ago

The About item in the fluxbox menu doesn't work when the user's shell is /bin/tcsh

% tcsh --version tcsh 6.13.00 (Astron) 2004-05-19 (i386-intel-linux) options 8b,nls,dl,al,kan,rh,color,dspm,filec

% fluxbox-generate_menu -k -g -B -t konsole -b firefox2

the About menu command runs:

(fluxbox -v; fluxbox -info | sed 1d) 2> /dev/null | xmessage -file - -center

removing the 2> /dev/null fixes the problem. What's the point of redirecting stderr to /dev/null for that command anyways?

Reported by: t35t0r

sillysloft commented 16 years ago

Logged In: YES user_id=1538990 Originator: NO

Well, I'm putting this one down as a tcsh bug, but I guess it doesn't have to be there. We redirect stderr because we don't want to be spewing random things onto stderr (it sometimes happens with those commands when using nls). So, yeah, "fixed".

Original comment by: mark-t

sillysloft commented 16 years ago

Original comment by: mark-t