[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Chuck Anderson wrote:
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


bash should require it, the file below is part of the bash package.

11:13 [summer numbat ~]$ rpm -qf /etc/skel/.bash_logout
bash-3.1-16.1
11:16 [summer numbat ~]$

Possibly, mingetty too, it clears the screen.

--

Cheers
John

-- spambait
1aaaaaaa coco merseine nu  Z1aaaaaaa coco merseine nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]