sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
From: Rich Salz <rsalz@osf.org>
To: sam-fans@hawkwind.utcs.toronto.edu
Subject: Diffs to latest sam
Date: Tue, 27 Dec 1994 13:27:59 -0500	[thread overview]
Message-ID: <9412271827.AA16601@sulphur.osf.org> (raw)

Thanks, as always, for the update Bob!

The "install" rules for all the makefiles in the "sam" directory have
a typo in the last line.  I think the stanze should be:
	install:	sam
		cp sam $(SAMDIR)/$(RSAMNAME)
		cp samsave $(SAMESAVDIR)/samesave
		chmod +x $(SAMESAVEDIR)/samesave
			 ^^^^^^^^^^^^^^^ missing

It would be nice if SAM and SAMTERMDIR in samterm/Makefile were more
similar to RSAMNAME, TERMNAME, SAMDIR, and SAMSAVEDIR in sam/Makefile.

Finally, I always put this patch back in.  If $sampipe exists, it names
the pipe sam uses for its command channel.  I set it in my .rcrc
*** unix.c.save	Tue Dec 27 12:58:51 1994
--- unix.c	Tue Dec 27 13:01:27 1994
***************
*** 90,97 ****
  
  	user = getuser();
  	disp = getenv("DISPLAY");
  
! 	if (disp) {
  		exname = (char *)alloc(4 + 6 + strlen(user) + 1 + strlen(disp) + 1);
  		sprint(exname, "/tmp/.sam.%s.%s", user, disp);
  	} else { 
--- 90,102 ----
  
  	user = getuser();
  	disp = getenv("DISPLAY");
+ 	exname = getenv("sampipe");
  
! 	if (exname) {
! 	    exname = (char *)alloc(strlen(exname) + 1);
! 	    strcpy(exname, getenv("sampipe"));
! 	}
! 	else if (disp) {
  		exname = (char *)alloc(4 + 6 + strlen(user) + 1 + strlen(disp) + 1);
  		sprint(exname, "/tmp/.sam.%s.%s", user, disp);
  	} else { 


                 reply	other threads:[~1994-12-27 18:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9412271827.AA16601@sulphur.osf.org \
    --to=rsalz@osf.org \
    --cc=sam-fans@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).