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

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

 



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@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- 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:-)

--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux