Re: tcsh and chere-0.3-1

2004-10-14 Thread Andrew Grimm
Igor Pechtchanski said: > > Does anyone know of a way to get a `-` at the start of $0? I believe > > this will force all the shells to start as login shells and is the > > most generic solution. > > Sure. 'bash -c "exec -l $PROG $ARGS"'. :-) Ya beat me to it :) Although, in the current design, t

Re: tcsh and chere-0.3-1

2004-10-13 Thread Andrew Grimm
On Wed, Oct 13, 2004 at 07:02:13PM -0400, Christopher Faylor wrote: >Actually, All shells which support -l seem to cd to the home directory. >I'm not sure what the -l adds to the above since the above code just >calls the shell again after cd'ing to the directory. I think the purpose of that is to

Re: tcsh and chere-0.3-1

2004-10-13 Thread Andrew Grimm
Actually I made a minor goof, the order should be: /etc/csh.cshrc /etc/csh.login ~/.tcshrc ~/.login There is also the possibility that ~/.tcshrc does not exist, if that is the case ~/.cshrc should be read (but not both). I didn't bother with that as I use ~/.tcshr

tcsh and chere-0.3-1

2004-10-13 Thread Andrew Grimm
The new (very cool!) chere package doesn't work with tcsh, at least on my system. The problem is that "tcsh -l" doesn't work with any additional arguments. There is even a comment to that effect in the script: tcsh ) # Apparently -l only applies if it is the only argument # so th

package installation probs

2003-11-07 Thread Andrew Grimm
First off, it looks like the postinstall for lftp-2.6.8-1 is expecting user input, and therefore hangs when run in the Cygwin installer (which no longer pops up a postinstall output window). Also (and it might just be me, I dunno) I can download/install gcc-core and gcc-testsuite-3.3.1-3, but they

Re: problem with tcsh-6.12.00-7.tar.bz2

2003-10-09 Thread Andrew Grimm
>> This package includes /etc/csh.login which has the line: >> >> set TERM=cygwin >> >> This should instead read: >> >> set term=cygwin >> >> which will set the shell variable term and the environment variable >> TERM correctly when tcsh is used as the base shell for the Cygwin shell >> w

problem with tcsh-6.12.00-7.tar.bz2

2003-10-08 Thread Andrew Grimm
This package includes /etc/csh.login which has the line: set TERM=cygwin This should instead read: set term=cygwin which will set the shell variable term and the environment variable TERM correctly when tcsh is used as the base shell for the Cygwin shell window. -Andy -- Unsu

problem with tcsh-6.12.00-3

2003-02-11 Thread Andrew Grimm
The major problem is that $shell and $SHELL are now getting set to /tmp/install/usr/bin/tcsh instead of /usr/bin/tcsh. This is causing the shell to fail, say in an xterm, trying to exec $SHELL. I verified that this problem resides in the executable rather than my configuration files by examining

/etc/csh.login problems

2002-11-22 Thread Andrew Grimm
There is a problem with the /etc/csh.login included in Cygwin package tcsh-6.11.0-4 (current). Embedded spaces in path elements are not preserved when the path is modified. As a UNIX user I naturally try to avoid spaces in pathnames as bad form, but the inherited Windows path is likely to have sp