sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
* (no subject)
@ 1996-06-25 16:21 bob flandrena
  0 siblings, 0 replies; only message in thread
From: bob flandrena @ 1996-06-25 16:21 UTC (permalink / raw)
  To: sam-fans

> 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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-06-25 16:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-25 16:21 bob flandrena

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).