Mailinglist Archive: opensuse-factory (914 mails)

< Previous Next >
Re: [opensuse-factory] Re: aaa_base breaks ~/.tcshrc and ~/.cshrc
On Mon, 5 Jun 2017 10:44:19 +0200, "H.Merijn Brand"
<h.m.brand@xxxxxxxxx> wrote:

On Sun, 04 Jun 2017 15:58:50 +0200, Dominique Leuenberger
<dimstar@xxxxxxx> wrote:

Packages changed:
aaa_base (13.2+git20170504.927b15d -> 13.2+git20170512.8fa87a3)

This update adds a line to /etc/csh.login (line 29) that will cause
major havoc for all users that use a csg or tcsh and have builtin lines
like that, causing misbehaving termininals

backups++

That line should be removed instantly. It *may* be put in skeleton
files that new csh/tcsh users get installed in their $HOME, but it
should not/never be in /etc/csh.login

/etc$ diff csh.login /media/Backup/etc/csh.login
29d28
< if ( $TERM =~ screen.* -a && ! -e /usr/share/terminfo/s/$TERM) setenv
TERM screen

Can I please ask if that change can be reverted?


It is even worse:

csh> source /etc/csh.login
if: Expression Syntax.


if ( $TERM =~ screen.* -a && ! -e /usr/share/terminfo/s/$TERM) setenv TERM
screen
^^^^^

=>

if ( $TERM =~ screen.* && ! -e /usr/share/terminfo/s/$TERM) setenv TERM
screen

With that line fixed, I think the problem also goes away for 95% of the
users. Only those that do not catch "screen" might be surprised

--
H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/
using perl5.00307 .. 5.27 porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/
http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
< Previous Next >