On Fri, 27 Aug 2004, Igor Pechtchanski wrote: > [snip] > Or you could try to get a SYSTEM-owned shell, and remove it from there. > FWIW, I have a handy shortcut for that (see below).
Sorry, I forgot to include the promised shortcut. Here it is: C:\cygwin\bin\bash.exe -c "at $(date +%H):$(($(date +%M) + 1)) /interactive 'c:\cygwin\bin\bash.exe' --login -i; secs=$((60 - $(date +%S))); while [ $secs -ne 0 ]; do echo -ne 'Please wait '$secs' seconds for the shell \r'; sleep 1; secs=$(($secs - 1)); done" Just paste the above line in the "Target:" field of the shortcut. What this will do is show a window with the countdown until the system-owned login shell pops up. If you want to make it really nice, set the width of the shortcut screen buffer (in the Layout tab) to 38 and the height to 1. The above assumes you installed Cygwin in c:/cygwin. If you installed it somewhere else, the shortcut needs to be modified accordingly. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing." -- Dr. Jubal Harshaw -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/