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