From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from plan9.bell-labs.com ([204.178.16.2]) by hawkwind.utcs.utoronto.ca with SMTP id <24393>; Tue, 25 Jun 1996 12:43:09 -0400 From: "bob flandrena" To: sam-fans@hawkwind.utcs.toronto.edu Date: Tue, 25 Jun 1996 12:21:17 -0400 Message-Id: <96Jun25.124309edt.24393@hawkwind.utcs.utoronto.ca> > samterm seems to respond fairly badly to an input of {} > if it has no files open. i posted a fix to this several months ago: % diff /n/dump/1995/0401/sys/src/cmd/sam/xec.c xec.c 29c29 < !utfrune("bBnqUXY!{", cp->cmdc) && --- > !utfrune("bBnqUXY!", cp->cmdc) && 33c33 < if(cmdtab[i].defaddr != aNo){ --- > if(i >= 0 && cmdtab[i].defaddr != aNo){ there are several other bug patches for sam in the boddle package available by anonymous ftp at plan9.att.com in plan9/update/cmd/sam/829146783.rc. the diff's are relative to the plan 9 version of sam and require rc to unpack, but are easy to extract by hand and apply to the unix version.