sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
* new sam for unix
@ 2000-05-25 19:37 Scott Schwartz
  0 siblings, 0 replies; only message in thread
From: Scott Schwartz @ 2000-05-25 19:37 UTC (permalink / raw)
  To: sam-fans

[-- Attachment #1: Type: text/plain, Size: 884 bytes --]

Hi all,
  Rob Pike was kind enough to send me the source for the new
sam, and I've gone through and made the changes necessary to get
it to compile under unix.  I found one bug in the process, so 
I hope everyone else will look things over carefully too.

The changes: 
- replaced anonymous unions with ansi-std ones.
- used a plan9-flavor print library instead of stdio (mostly).
- the sam err file in tmp is now given a unique name, to
   avoid symlink races.  mktemp used where necessary.
- all plumbing is stubbed out.  maybe we can revisit this after the
   next edition of plan 9 is published.

This version appears to work with samterm, but it does exercise what I
think is a problem with the X11 version of that.  If I create a large
file, all lines the same length, and make a global substitution, and
then repeatedly undo and redo, samterm appears to miss some
characters.


[-- Attachment #2: sam.tar.gz --]
[-- Type: application/octet-stream, Size: 192512 bytes --]

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

only message in thread, other threads:[~2000-05-26 19:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-25 19:37 new sam for unix Scott Schwartz

sam-fans - fans of the sam editor

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/sam-fans

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 sam-fans sam-fans/ http://inbox.vuxu.org/sam-fans \
		sam-fans@hawkwind.utcs.toronto.edu
	public-inbox-index sam-fans

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.sam-fans


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git