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: ls Question + bug?


* Hannu E K Nevalainen (garbage mail) (03-04-01 00:05 +0100)
>> From: cygwin-owner at cygwin dot com [mailto:cygwin-owner at cygwin dot com]On Behalf
>> Of Demmer, Thomas
>> I have
>> alias ls=/bin/ls.exe --show-control-chars
>>
>> in my /etc/profile.
>>
> According to Bash info-pages: Seems to me that it is better to define a
> shell function...
> 
> It should be something like:
> [...]
> 
> NOTE: Do NOT change "/bin/ls" into just "ls",

"command ls"

> I believe this creates a hazardous back/loop reference which will eventually
> hang the computer.
> [...]
> Before realizing the potenial problem I had it hang my machine.
> 
> How to do "the hang"... ;-)
> 
> Windows 98SE:
> Right klick on desktop -> New -> Shortcut ->
> Enter this:
> C:\WINDOWS\COMMAND.COM /E:30720 /c C:\Program\cygwin\cygwin.bat
> Click "Next" and then "Finish"
> Now start Bash with the new shortcut and enter the following:
> [...]
> <long delay> consuming memory...
> CTRL-C seems to work...
> 3) $ ls
> Really soon -> a dead computer. (Powercycling is all that works after that)

Your computer cannot be more dead than Windows 98 already is. Using an 
Operating System would you give something like "maximum recursion 
limit exceeded".

Thorsten
-- 
 Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory)
 Content-Transfer-Warning: message contains innuendos not suited for
 children under the age of 18


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