9fans archive / 1996 / 04 / 32 / prev next
From: bob flandrena bobf@pla...
Subject: samterm (X version) dumping core on {}
Date: Wed, 10 Apr 1996 10:40:56 -0400
> 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.