From owner-freebsd-hackers Mon Aug 27 15:45:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from virtual-voodoo.com (bdsl.66.12.217.106.gte.net [66.12.217.106]) by hub.freebsd.org (Postfix) with ESMTP id 2C41E37B403 for ; Mon, 27 Aug 2001 15:45:12 -0700 (PDT) (envelope-from steve@virtual-voodoo.com) Received: from inlafrec (bdsl.66.12.217.40.gte.net [66.12.217.40]) (authenticated) by virtual-voodoo.com (8.11.6/8.11.5) with ESMTP id f7RMj2r86432; Mon, 27 Aug 2001 17:45:04 -0500 (EST) (envelope-from steve@virtual-voodoo.com) Message-ID: <004801c12f49$66cccb20$28d90c42@eservoffice.com> From: "Steven Ames" To: Cc: References: <3B8AC157.5000203@yahoo.com> <020701c12f43$8e0e2310$28d90c42@eservoffice.com> <3B8AC8DB.5090603@yahoo.com> Subject: Re: TCSH bug... Date: Mon, 27 Aug 2001 17:41:21 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > -current from saturday... > > And I've noticed it for a few months, just forgot about it until last night... > > Also, you failed to duplicate the test... Try answering "NO" when it asks... OK. Yep. I see the same results. I believe that when you say 'no' tcsh tries to get clever and remove that command from your command stack (history). The relevent code is in tc.func.c starting at line 1238. I don't see anything obviously silly... I'll do a bit of debugging though. -Steve > Steven Ames wrote: > > > Under -CURRENT? > > > > virtual-voodoo# touch 0 1 2 3 4 5 6 7 8 9 > > virtual-voodoo# ls > > 0 1 2 3 4 5 6 7 8 9 > > virtual-voodoo# set rmstar > > virtual-voodoo# rm * > > Do you really want to delete all files? [n/y] y > > virtual-voodoo# ls > > virtual-voodoo# > > > > version tcsh 6.10.00 (Astron) 2000-11-19 (i386-intel-FreeBSD) options > > 8b,nls,dl,al,kan,sm,rh,color,dspm > > > > I'm not seeing this problem... This is from -CURRENT from about 2 hours ago. > > > > -Steve > > > > ----- Original Message ----- > > From: "Jim Bryant" > > To: > > Sent: Monday, August 27, 2001 4:53 PM > > Subject: TCSH bug... > > > > > > > >>Sorry if this doesn't go here... I don't know where else to put it... > >> > > Please forward it to the correct people. > > > >>With: > >> > >>set rmstar > >> > >>in your .cshrc, perform the following operations: > >> > >>-------------------------------------------------------------- > >> 4:49:49pm wahoo(49): tcsh > >> 4:49:51pm wahoo(1): mkdir bs > >> 4:49:54pm wahoo(2): cd bs > >> 4:49:56pm wahoo(3): touch 1 2 3 4 5 6 7 8 9 0 > >> 4:50:02pm wahoo(4): ls > >>. .. 0 1 2 3 4 5 6 7 > >> > > 8 9 > > > >> 4:50:05pm wahoo(5): rm * > >>Do you really want to delete all files? [n/y] n > >>Bus error (core dumped) > >> 4:50:10pm wahoo(50): cd bs > >> 4:50:19pm wahoo(51): ls > >>. .. 0 1 2 > >> > > 3 4 5 6 > > > >> 7 8 9 tcsh.core > >> 4:50:20pm wahoo(52): > >>--------------------------------------------------------------- > >> > >>Whazzup? This will always happen, iff you select to not rm * > >> > >>jim > >>-- > >>ET has one helluva sense of humor! > >>He's always anal-probing right-wing schizos! > >> > >> > >>_________________________________________________________ > >>Do You Yahoo!? > >>Get your free @yahoo.com address at http://mail.yahoo.com > >> > >> > >>To Unsubscribe: send mail to majordomo@FreeBSD.org > >>with "unsubscribe freebsd-hackers" in the body of the message > >> > >> > > > > > -- > ET has one helluva sense of humor! > He's always anal-probing right-wing schizos! > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message