From owner-freebsd-stable Fri Feb 26 18: 5: 0 1999 Delivered-To: freebsd-stable@freebsd.org Received: from soda.CSUA.Berkeley.EDU (soda.CSUA.Berkeley.EDU [128.32.43.52]) by hub.freebsd.org (Postfix) with ESMTP id BF53614EF9 for ; Fri, 26 Feb 1999 18:04:51 -0800 (PST) (envelope-from dbushong@CSUA.Berkeley.EDU) Received: (from dbushong@localhost) by soda.CSUA.Berkeley.EDU (8.8.8/) id SAA01125; Fri, 26 Feb 1999 18:04:34 -0800 (PST) env-from (dbushong) From: dbushong@CSUA.Berkeley.EDU (David Bushong) Message-Id: <199902270204.SAA01125@soda.CSUA.Berkeley.EDU> Subject: Re: Weird perl behavior In-Reply-To: from Brian Tiemann at "Feb 26, 99 04:46:57 pm" To: btman@ugcs.caltech.edu (Brian Tiemann) Date: Fri, 26 Feb 1999 18:04:34 -0800 (PST) Cc: freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This isn't perl. It's stty. Do an stty -a, and see that "status" is set to. For example: % stty -a ... cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; eol2 = ; erase = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; Note I have it set to ^T. So if i run % perl and hit ^T, I get: load: 0.06 cmd: perl5.00502 21939 [ttyin] 0.00u 0.00s 0% 860k but of course I could also run cat % cat load: 0.07 cmd: cat 21938 [ttyin] 0.00u 0.00s 0% 88k You must have status bound to whatever backspace is. To see what backspace is sending for you, type ^V then backspace (^V means control-V of course). --David Bushong > > Perl seems to be doing some odd things on my 3.1-STABLE box (last > built 2/23). Here's a sample script: > > > #!/usr/bin/perl > > print "Type: "; > $input = ; > > > At the prompt, if you hit Backspace, it prints out this line: > > load: 1.14 cmd: perl 83389 [ttyin] 0.00u 0.00s 0% 980k > > This doesn't happen on my other box, running 2.2.8-STABLE. > Has anyone else seen this? > > Brian > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message