From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from postman.osf.org ([130.105.1.152]) by hawkwind.utcs.utoronto.ca with SMTP id <24152>; Tue, 27 Dec 1994 13:31:47 -0500 Received: from sulphur.osf.org (sulphur.osf.org [130.105.1.123]) by postman.osf.org (8.6.9/8.6.x) with SMTP id NAA27624 for ; Tue, 27 Dec 1994 13:31:45 -0500 From: Rich Salz Received: by sulphur.osf.org (1.37.109.4/4.7) id AA16601; Tue, 27 Dec 94 13:27:59 -0500 Date: Tue, 27 Dec 1994 13:27:59 -0500 Message-Id: <9412271827.AA16601@sulphur.osf.org> To: sam-fans@hawkwind.utcs.toronto.edu Subject: Diffs to latest sam 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 {