[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: kmapnotify, LD_PRELOAD, (t)csh and aaarrgh! I'll die today! :-)
From: Matthias Hoelzer-Kluepfel <mhk () caldera ! de>
Date: 2000-05-29 10:57:51
[Download RAW message or body]
On Mon, 29 May 2000, Rik Hemsley wrote:
> #if Cristian Tibirna
> > > I guess it means that you can't type tcsh shell expressions via Alt-F2 any
> > > longer. (Only /bin/sh expressions)
> >
> > It could be a workaround, but it ain't solution. Not being able to use
> > 'foreach...' or things in the Alt-F2 is not so bad. Not being able to
> > access my personal $PATH in the minicli *is* bad.
>
> Well I committed the change to using /bin/sh then went to bed, then got
> up and reverted it :) There must be a way to keep the user's SHELL
> setting.
>
> One thing I thought of was to detect if the user's SHELL ends in '/tcsh'
> or '/csh', and use csh syntax for setting LD_PRELOAD if so. That's a
> hack though.
Hm, what about
set LD_PRELOAD=hallo || LD_PRELOAD=hallo ; echo $LD_PRELOAD
Works with both shells.
Bye,
Matthias.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic