Subject: Small kdm/Xsession path bug with tcsh?
To: None <tech-pkg@netbsd.org>
From: Andrew Gillham <gillham@gmail.com>
List: tech-pkg
Date: 01/20/2006 18:51:47
------=_Part_17334_3422804.1137811907107
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I'm using kde 3.5.0 on NetBSD/i386 3.0 with X.org as well.  My shell is
tcsh.

When logging in via kdm it appears that Xsession has a bug and doesn't
pickup the path properly.
My patch:
34c34
<     eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login >
/dev/null; if (-f ~/.login) source ~/.login > /dev/null; /bin/sh -c export'=
`
---
>     eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login >
/dev/null; if (-f ~/.login) source ~/.login > /dev/null; /bin/sh -c "export
-p"'`

Is anyone else having this problem?

-Andrew

------=_Part_17334_3422804.1137811907107
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I'm using kde 3.5.0 on NetBSD/i386 3.0 with <a href=3D"http://X.org">X.org<=
/a> as well.&nbsp; My shell is tcsh.<br><br>When logging in via kdm it appe=
ars that Xsession has a bug and doesn't pickup the path properly.<br>My pat=
ch:<br>
34c34<br>&lt;&nbsp;&nbsp;&nbsp;&nbsp; eval `$SHELL -c 'if (-f /etc/csh.logi=
n) source /etc/csh.login &gt; /dev/null; if (-f ~/.login) source ~/.login &=
gt; /dev/null; /bin/sh -c export'`<br>---<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; e=
val `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login &gt; /dev/null=
; if (-f ~/.login) source ~/.login &gt; /dev/null; /bin/sh -c &quot;export =
-p&quot;'`
<br><br>Is anyone else having this problem?<br><br>-Andrew<br><br>

------=_Part_17334_3422804.1137811907107--