On Thu, Aug 17, 2006 at 07:51:59PM +0300, Aviv Ben-Yosef wrote:
> Hello,
> 
> About a week ago, a weird thing started happening when I logged into
> my account at work.
> After KDE started, whenever I clicked the Konsole button it opened for
> about 2 seconds and then closed. The same thing happened on gnome /
> xfce / blackbox etc, and with gnome-terminal, xterm etc. Even when I
> tried KDE's ALT+F2 (run command) the same thing happened. All the
> terminals opened for 2 seconds or less, and then simply closed.
> 
> When I logged in the console and ran the terminal from there, it
> opened just fine in the X display.
> 
> After some digging (which means, moving close to every dot-file in my
> home dir and checking what happens) I noticed that when I removed my
> login file the problem disappeared.
> Some more digging showed that the problem was actually this line:
> setenv PATH ${PATH}:/data.dir/program/bin
> 
> Once commented out things were great.
> When I moved it to .tcshrc it worked great as well.
> I was able to reproduce this and everything in my account, but not here at 
> home.

my csh is rather rusty, but wouldn't it be better to use:

  set path ($path /data.dir/program/bin)

IIRC this does set PATH for child processes.


One thing I normally use to debug bourne shell scripts is to add near
the top:

exec &2>/tmp/trace
set -x

Any tcsh equivalent?

> 
> I have no clue whatsoever as to what may cause this, and I am pretty
> "stunned" ;)
> Does anyone have any ideas as to what the heck is going on?
> 
> A few "background" details - Linux 2.4, kde version at least 1.5 years
> old, and its an organization, so lots of stuff are loaded etc' (group
> environment settings etc).

What distro? What version of tcsh?

-- Tzafrir

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to