Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2001 17:41:21 -0500
From:      "Steven Ames" <steve@virtual-voodoo.com>
To:        <kc5vdj@yahoo.com>
Cc:        <FreeBSD-hackers@FreeBSD.ORG>
Subject:   Re: TCSH bug...
Message-ID:  <004801c12f49$66cccb20$28d90c42@eservoffice.com>
References:  <3B8AC157.5000203@yahoo.com> <020701c12f43$8e0e2310$28d90c42@eservoffice.com> <3B8AC8DB.5090603@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> -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" <kc5vdj@yahoo.com>
> > To: <FreeBSD-hackers@FreeBSD.ORG>
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004801c12f49$66cccb20$28d90c42>