X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: Yes, hits=6.2 required=5.0 tests=AWL,BAYES_50,DONT_USE_RAW_EMAIL_IN_BODY,T_HK_NAME_DR,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Resent-From: "Dr Rainer Woitok" Resent-Message-ID: <19565 DOT 12210 DOT 302102 DOT 403817 AT cssun DOT rrze DOT uni-erlangen DOT de> Resent-Date: Thu, 19 Aug 2010 15:20:50 +0200 Resent-To: Cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19563.64200.401182.452723@cssun.rrze.uni-erlangen.de> Date: Wed, 18 Aug 2010 17:22:48 +0200 From: "Dr. Rainer Woitok" To: Cygwin AT cygwin DOT com Subject: Bash file completion (Tab) produces "-sh: exclude: unbound variable" X-Spam-PYZOR: Reported 0 times. X-Spam-DCC: rrze-dcc:boeck2 1202; Body=1 Fuz1=1 Fuz2=1 X-Spam-RBL: X-Spam-Eval: ham X-Spam-RRZE-Info: Diese Mail wurde einer automatischen Spam-Analyse unterzogen, siehe: http://www.rrze.uni-erlangen.de/dienste/e-mail/spam-analyse/ Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Greetings, after having recently upgraded Cygwin on my laptop running Windows Vista the Bash Shell started misbehaving by issuing "-sh: exclude: unbound variable" whenever I hit "Tab" for file name completion. After trying the obvious (that is, issuing "set +u") and even having success with it, I checked the Cygwin mailing list archives but only found a single thread ending with "Problem solved, use 'set -o nounset'". Now, in my opinion this only is a temporary workaround, but never a fix, so my question is: is there a real fix for the problem which allows to have "set -u" (or "set -o unset") and tab completion at the same time? This is my third try to send mail to . The first two times I didn't even get a rejection message, just nothing, but my mail never showed up in the mailing list archives. Therefore I'll this time not attach the output from "cygcheck -s -v -r" but will rather only quote below the few lines from it having to do with "bash". Sincerely Rainer PS: Please also respond via personal e-mail since I'm not regularly reading this list. Thankyou. HKEY_CURRENT_USER\Console\Cygwin Bash Shell (default) = 0x000000f0 PopupColors = 0x000000f9 ColorTable00 = 0x00000000 ColorTable01 = 0x00800000 ColorTable02 = 0x00008000 ColorTable03 = 0x00808000 ColorTable04 = 0x00000080 ColorTable05 = 0x00800080 ColorTable06 = 0x00008080 ColorTable07 = 0x00c0c0c0 ColorTable08 = 0x00808080 ColorTable09 = 0x00ff0000 ColorTable10 = 0x0000ff00 ColorTable11 = 0x00ffff00 ColorTable12 = 0x000000ff ColorTable13 = 0x00ff00ff ColorTable14 = 0x0000ffff ColorTable15 = 0x00ffffff InsertMode = 0x00000001 QuickEdit = 0x00000001 FullScreen = 0x00000000 ScreenBufferSize = 0x03e70050 WindowSize = 0x00060050 FontSize = 0x000c0008 FontFamily = 0x00000030 FontWeight = 0x00000190 FaceName = 'Terminal' CursorSize = 0x00000019 HistoryBufferSize = 0x000003e7 NumberOfHistoryBuffers = 0x00000004 HistoryNoDup = 0x00000000 WindowPosition = 0x029e0000 HKEY_CURRENT_USER\Console\Cygwin Bash Shell (2) (default) = 0x000000f0 PopupColors = 0x000000f9 ColorTable00 = 0x00000000 ColorTable01 = 0x00800000 ColorTable02 = 0x00008000 ColorTable03 = 0x00808000 ColorTable04 = 0x00000080 ColorTable05 = 0x00800080 ColorTable06 = 0x00008080 ColorTable07 = 0x00c0c0c0 ColorTable08 = 0x00808080 ColorTable09 = 0x00ff0000 ColorTable10 = 0x0000ff00 ColorTable11 = 0x00ffff00 ColorTable12 = 0x000000ff ColorTable13 = 0x00ff00ff ColorTable14 = 0x0000ffff ColorTable15 = 0x00ffffff InsertMode = 0x00000001 QuickEdit = 0x00000001 FullScreen = 0x00000000 ScreenBufferSize = 0x03e70050 WindowSize = 0x003c0050 FontSize = 0x000c0008 FontFamily = 0x00000030 FontWeight = 0x00000190 FaceName = 'Terminal' CursorSize = 0x00000019 HistoryBufferSize = 0x000003e7 NumberOfHistoryBuffers = 0x00000004 HistoryNoDup = 0x00000000 ... Found: C:\cygwin\bin\bash.exe ... bash 3.2.49-23 bash-completion 1.2-1 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple