[2128] in testers
rt 7.4F: olcr, olc
daemon@ATHENA.MIT.EDU (mhpower@Athena.MIT.EDU)
Thu Jun 18 13:55:41 1992
From: mhpower@Athena.MIT.EDU
To: testers@Athena.MIT.EDU
Date: Thu, 18 Jun 92 13:55:14 EDT
System name: steve-dallas
Type and version: RTPC-ROMPC 7.4F (1 update(s) to same version)
Display type: apa16
What were you trying to do?
Use a command with a -editor option, without an EDITOR
environment variable set.
What's wrong:
It seems to have done an execlp of /usr/athena/emacs.
What should have happened:
It should have been /usr/athena/bin/emacs (actually, I'd
prefer that it just do an execlp of "emacs", but I realize that this
would impact users who wish to edit long messages about their PATH
being set wrong). Patches to olc_tty.h, lib/olc_help/send.nroff, and
lib/olcr_help/{comment,mail,send}.nroff:
*** olc_tty.h.old Thu Jun 18 13:19:59 1992
--- olc_tty.h Thu Jun 18 13:20:55 1992
***************
*** 26,32 ****
extern int OLC, OLCR, OLCA;
! #define DEFAULT_EDITOR "/usr/athena/emacs"
#define NO_EDITOR "NO_EDITOR"
#ifdef __STDC__
# define P(s) s
--- 26,32 ----
extern int OLC, OLCR, OLCA;
! #define DEFAULT_EDITOR "/usr/athena/bin/emacs"
#define NO_EDITOR "NO_EDITOR"
#ifdef __STDC__
# define P(s) s
*** send.nroff.old Thu Jun 18 13:21:36 1992
--- send.nroff Thu Jun 18 13:22:07 1992
***************
*** 30,36 ****
To specify an editor in which to edit the message. If the editor
argument is missing, the editor used is that specified by your EDITOR
environment variable, if it is set; otherwise, by default,
! /usr/athena/emacs will be used.
.TP
.B \-file <file name>
Normally, the file /tmp/OLC<pid> is used as a temporary file
--- 30,36 ----
To specify an editor in which to edit the message. If the editor
argument is missing, the editor used is that specified by your EDITOR
environment variable, if it is set; otherwise, by default,
! /usr/athena/bin/emacs will be used.
.TP
.B \-file <file name>
Normally, the file /tmp/OLC<pid> is used as a temporary file
*** comment.nroff.old Thu Jun 18 13:41:16 1992
--- comment.nroff Thu Jun 18 13:42:21 1992
***************
*** 29,35 ****
To specify an editor in which to edit the message. If the editor
argument is missing, the editor used is that specified by your EDITOR
environment variable, if it is set; otherwise, by default,
! /usr/athena/emacs will be used.
.TP
.B \-file <file name>
Normally, the file /tmp/OLC<pid> is used as a temporary file
--- 29,35 ----
To specify an editor in which to edit the message. If the editor
argument is missing, the editor used is that specified by your EDITOR
environment variable, if it is set; otherwise, by default,
! /usr/athena/bin/emacs will be used.
.TP
.B \-file <file name>
Normally, the file /tmp/OLC<pid> is used as a temporary file
*** mail.nroff.old Thu Jun 18 13:41:22 1992
--- mail.nroff Thu Jun 18 13:42:31 1992
***************
*** 31,37 ****
To specify an editor in which to edit the message. If the editor
argument is missing, the editor used is that specified by your EDITOR
environment variable, if it is set; otherwise, by default,
! /usr/athena/emacs will be used.
.TP
.B \-file <file name>
Normally, the file /tmp/OLC<pid> is used as a temporary file
--- 31,37 ----
To specify an editor in which to edit the message. If the editor
argument is missing, the editor used is that specified by your EDITOR
environment variable, if it is set; otherwise, by default,
! /usr/athena/bin/emacs will be used.
.TP
.B \-file <file name>
Normally, the file /tmp/OLC<pid> is used as a temporary file
*** send.nroff.old Thu Jun 18 13:24:16 1992
--- send.nroff Thu Jun 18 13:24:39 1992
***************
*** 27,33 ****
To specify an editor in which to edit the message. If the editor
argument is missing, the editor used is that specified by your EDITOR
environment variable, if it is set; otherwise, by default,
! /usr/athena/emacs will be used.
.TP
.B \-file <file name>
Normally, the file /tmp/OLC<pid> is used as a temporary file
--- 27,33 ----
To specify an editor in which to edit the message. If the editor
argument is missing, the editor used is that specified by your EDITOR
environment variable, if it is set; otherwise, by default,
! /usr/athena/bin/emacs will be used.
.TP
.B \-file <file name>
Normally, the file /tmp/OLC<pid> is used as a temporary file
Please describe any relevant documentation references:
"FILESYSTEM CLEANLINESS ACT OF 1991"
olc(1), olcr(1)