Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Sun, 20 Oct 2002 00:04:30 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: mike parks cc: cygwin AT cygwin DOT com Subject: Re: Fw: problem with ls and similar commands in tcsh In-Reply-To: <000b01c277e5$6837aad0$2c0f530c@mike> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 19 Oct 2002, mike parks wrote: > Igor, > > let me back up a little here. i am trying to setup my pc at home as a > work station. this is relatively new for me because in the past at > various jobs it was already done. > > so some of the things you ask about i am not certain, like the glob. > > > Does the glob expansion function of tcsh (^X-*) work? > how can i tell if it works? Mike, On the tcsh command line, type 'ls temp*' (no Enter), then press Ctrl-X and then press '*'. This should expand to the three filenames below. If it instead expands to 'temp\*', you probably have noglob set, as Jon LaBadie suggested (see http://www.cygwin.com/ml/cygwin/2002-10/msg01167.html ). Another way of checking whether noglob is set is 'set | grep noglob' at the tcsh prompt. If noglob is set, try 'unset'ting it and executing 'ls temp*' again. If that makes it work, you have to track down which startup script sets noglob (probably ~/.tcshrc, ~/.cshrc or /etc/csh.cshrc). Try starting tcsh with the '-f' option to not execute those scripts, and see if it fixes the problem. You will then want to edit the offending script and comment out the 'set noglob' line. FYI, to find out *exactly* what is executed on tcsh startup, run 'tcsh -X -c "exit" 2>&1' and capture the output (note the capital X). Everything printed before 'exit' is in your startup scripts. Igor > > What *are* the exact filenames (as returned by 'ls' in bash)? > the filenames are > temp temp2 temp3 (i created these for test purposes only) > > thanks for the help Igor. > mike -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/