From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 10 Apr 1996 10:40:56 -0400 From: bob flandrena bobf@plan9.bell-labs.com Subject: samterm (X version) dumping core on {} Topicbox-Message-UUID: 42c8ab8c-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19960410144056.W__ZIZpKWQ4oeZaLVhpu52AvzXY04YApHxcnI3QDdIc@z> > 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.