This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fw: problem with ls and similar commands in tcsh


Igor,

> 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

> Another way of checking whether noglob is set is 'set | grep noglob' at
> the tcsh prompt.

    'ls temp* Ctrl-X *' gets expanded to
        temp/*

    i have not (yet) set up any .[c,t]shrc files yet.

> 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.

    'unset noglob' fixed the problem.

many thanks Igor!
mike

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]