From cse.psu.edu!9fans-outgoing-owner Wed Apr 10 16:44:35 1996
Received: from colossus.cse.psu.edu ([130.203.1.2]) by cannon.ecf.toronto.edu with SMTP id <2126>; Wed, 10 Apr 1996 16:44:25 -0400
Received: by colossus.cse.psu.edu id <78382>; Wed, 10 Apr 1996 16:33:58 -0400
Received: from plan9.bell-labs.com ([192.20.225.253]) by colossus.cse.psu.edu with SMTP id <78389>; Wed, 10 Apr 1996 10:51:30 -0400
From:	"bob flandrena" <bobf@plan9.bell-labs.com>
To:	9fans@cse.psu.edu
Date:	Wed, 10 Apr 1996 10:40:56 -0400
Subject: Re: samterm (X version) dumping core on {}
Message-Id: <96Apr10.105130edt.78389@colossus.cse.psu.edu>
Sender: owner-9fans@cse.psu.edu
Precedence: bulk
Reply-To: 9fans@cse.psu.edu
Status: RO

> samterm seems to respond fairly badly to an input of {} if it has no
> files open.
> 

% diff /sys/src/cmd/sam/xec.c /n/juke/plan_9/sys/src/cmd/sam/xec.c
29c29
< 	    !utfrune("bBnqUXY!", cp->cmdc) &&
---
> 	    !utfrune("bBnqUXY!{", cp->cmdc) &&
33c33
< 	if(i >= 0 && cmdtab[i].defaddr != aNo){
---
> 	if(cmdtab[i].defaddr != aNo){

for both plan 9 and unix versions of sam.

i also put a sam boddle containing several changes
in the update directory.
see http://plan9.att.com/plan9/update/CHANGES.txt.

the changes in the boddle probably also
apply to the unix version of sam, but i haven't
tested it yet.



