Re: [dwm] executing programs won't work with tcsh

From: Panos P. <mallinanga_AT_gmail.com>
Date: Thu, 20 Dec 2007 16:44:02 +0100

actually all FreeBSD based OS's use some variation of csh for a long time now,
whether it's tcsh or plain old csh.

the other BSD's too use other than (ba)sh as their login/interactive shell..
AFAIK OpenBSD and NetBSD use ksh (also a derivative of csh) so...

it's not uncommon in a non-linux/windows world to have other shell as
the default :)

On 20-12-2007 07:27, mikshaw <mrblog_AT_yahoo.com> wrote:
>
> --- Richard Pöttler <richard.poettler_AT_gmail.com>
> wrote:
>
> > hi,
> >
> > I am using tcsh and got some problems, when i want
> > to start a program
> > with M+p. The problem is, that tcsh assigns
> > variables with "set <name>
> > <value>" and not like the sh shells with
> > "<name>=<value>". I patched
> > the config.def.h (patch is attached) to directly
> > exec the output of
> > dmenu and mailed it to Anselm, but he pointed out,
> > that there will be
> > problems if the user presses Esc, which causes exec
> > to execute "".
> >
> > Does anyone of you know a solutions for this
> > problem?
> >
> > bye
> > richi
> >
>
> My preference is to not rely on config.h for dmenu
> behavior. One solution is to write a script and put
> that script in config.h instead. You can make changes
> without rebuilding dwm every time.
> I think the main thing is to do a check of the dmenu
> output, and only execute if it's a non empty string.
>
> So you're using tcsh for a login shell? How's that
> treating you?
>
>
> ____________________________________________________________________________________
> Never miss a thing. Make Yahoo your home page.
> http://www.yahoo.com/r/hs
>

-- 
Panagiotis Paganis (aka Mallinanga)
<mallinanga_AT_gmail.com>
GPG/PGP Key-ID: 0xC590FF74
http://www.mallinanga.de/pubkey.asc
FreeBSD 6.2-RELEASE-p9

Received on Thu Dec 20 2007 - 16:44:19 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:13:10 UTC