Re: Invalid Operating System

[prev] [thread] [next] [lurker] [Date index for 2006/12/11]

From: H.Merijn Brand
Subject: Re: Invalid Operating System
Date: 07:44 on 11 Dec 2006
On Sun, 10 Dec 2006 15:35:16 -0800, jrodman@xxxx.xxxxxxxxxx.xxx wrote:

> On Sun, Dec 10, 2006 at 05:10:26PM -0600, Peter da Silva wrote:
> > >  - You are one of the people who likes tcsh, [...] Your company has some
> > >    network thing that [...] uses fixed paths to specify shells, and cannot
> > >    specify multiple paths to try. 
> > 
> > % chsh /bin/sh
> > % cat > ~/.profile
> > exec tcsh -l
> > ^D
> > % #done
> 
> Yes, there are workarounds, and they are hateful.

But you only have to do it once. Not hateful enough not to consider them
I often come to work on systems that have the choice between the posix shell
and csh. No ksh, bash, zsh, or whatever `better' shell there might be. I can
hardly survive i n those environments, so, if I have to do many things, I
first build a new tcsh, install it in my $PATH and copy my .tcshrc to the
target box, and exec tcsh.
There is one very big advantage here: using tcsh will not bug other people on
the same account, as they are likely to use sh/csh and neither reads .tcshrc

> You presume far too much, though.  In my experience, the forces that be
> are capable of:
>   1) Keeping tcsh off the path on some of the systems.
>   2) Managing to drop some broken version of tcsh on some dark corner
>      the path on some systems which exits on exec, logging you out.  

That is not limited to tcsh. Any (or maybe even every) shell has broken
versions shipped on some systems. Broken even might being defined as not
being compiled with the options you desire.

e.g. I absolutely *need* a working utf8 environment. This often means that I
have to compile my own xterm and tcsh to have it wide-char enabled, just to
use it from the command line. I don't think it sucks. It is based on what
people need to get the job done. Some need A, some need B.

RedHat makes different choices than SuSE. AIX was shipped with more and worse
and outdated crap than HP-UX. Solaris is shipping its utilities more
conservative than Linux. These OS decisions also make *you* decide what OS
you prefer to run your development on.

-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.9.x   on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.0 & 10.1, AIX 4.3 & 5.2, and Cygwin. http://qa.perl.org
http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
                        http://www.goldmark.org/jeff/stupid-disclaimers/
There's stuff above here

Generated at 22:02 on 27 Dec 2006 by mariachi 0.52