rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* Re: 'sam' available from research.att.com!
@ 1992-11-18 18:16 Byron Rakitzis
  1992-11-18 18:27 ` Chris Siebenmann
  1992-11-18 20:36 ` Byron's comments John Mackin
  0 siblings, 2 replies; 3+ messages in thread
From: Byron Rakitzis @ 1992-11-18 18:16 UTC (permalink / raw)
  To: cks, rc

>For the interested, I have a small set of modifications[...]

I have also hacked sam in a couple of ways:

1) I make command window appear on the left by default. i.e.,
the window is tall&thin, not short&fat. Since most commands
are only a couple of letters long (/foo, x/foo/c/bar, etc.)
it means that you can have a lot more history visible in the
editor than with the short&fat command window. The occasional
long line doesn't bother me.

2) I hacked the selection-positioning code so that that
when the current selection is skipped to, that selection
is in the middle of the screen rather than right at the top.
This makes it a lot easier to take in the context of the
thing you just skipped to. (I dunno, maybe I'm used to it
because vi does it that way.)

3) I fixed an array indexing error in main which causes sam
to dump core when you give it a bad option. (sigh) In general,
I have found that sam likes to dump core all too frequently
under SunOS. Some of the dumps seem to be related to synchronization
problems between sam & samterm: as soon as one goes out of
whack it panics & dumps core.

All these fixes are 1 line fixes, btw, which is nice. Modifying
sam to use, for example, ctags, might be more of a challenge.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1992-11-18 21:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1992-11-18 18:16 'sam' available from research.att.com! Byron Rakitzis
1992-11-18 18:27 ` Chris Siebenmann
1992-11-18 20:36 ` Byron's comments John Mackin

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