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

2007-12-21 Thread Anselm R. Garbe
On Thu, Dec 20, 2007 at 07:27:19AM -0800, mikshaw wrote: --- Richard Pöttler [EMAIL PROTECTED] 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

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

2007-12-20 Thread mikshaw
--- Richard Pöttler [EMAIL PROTECTED] 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

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

2007-12-20 Thread Giorgio Lando
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 make the same thing. I use fish as a shell and it sets the variables with set as tcsh and has also

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

2007-12-20 Thread Panos P.
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

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

2007-12-20 Thread Sebastian A. Liem
On Dec 20, 2007 4:44 PM, Panos P. [EMAIL PROTECTED] wrote: 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... I thought ksh is a Bourne shell derivative. Anyway, use /bin/sh if portability matters.

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

2007-12-20 Thread Ricardo Lanziano
On Dec 20, 2007 1:55 PM, Sebastian A. Liem [EMAIL PROTECTED] wrote: On Dec 20, 2007 4:44 PM, Panos P. [EMAIL PROTECTED] wrote: 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... I thought ksh is a

[dwm] executing programs won't work with tcsh

2007-12-19 Thread Richard Pöttler
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