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-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: ls Question + bug? Date: Tue, 1 Apr 2003 00:28:50 +0200 Lines: 46 Message-ID: <17x3k3weekv90.dlg@thorstenkampe.de> References: <8D861ADC5B8FD211B4100008C71EA7DA04F70FBB AT kjsdemucshrexc1 DOT eu DOT pm DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: 40tude_Dialog/2.0.3.1 * 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: > [...] > 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/