ncurses wasn't installed -> no tput/clear/reset commands

Chuck Anderson cra at WPI.EDU
Fri Oct 31 01:36:52 UTC 2008


Apparently nothing in the default install set requires ncurses, so 
that leaves the system missing the commands "tput", "clear" and 
"reset", the first of which at least is used by the default login 
scripts:

#grep -r tput /etc/profile*
/etc/profile.d/colorls.csh:  if ( "`tput colors`" == "256" ) then
/etc/profile.d/colorls.sh:      [ "x`tput colors 2>/dev/null`" = 
"x256" ] && \

I get an error when I open a new shell with tcsh:

tput: Command not found.

I guess the provider of /etc/profile.d/colorls.* (coreutils) should 
Requires: ncurses?  Or should this be put into comps?

"clear" and "reset" are such a basic commands I'd expect them to 
always be there.  My .logout has had "clear" in it for more than 10 
years...

https://bugzilla.redhat.com/show_bug.cgi?id=469277




More information about the fedora-test-list mailing list