Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2002 01:26:21 -0400 (EDT)
From:      Ross Lippert <ripper@eskimo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/40843: ee should be default editor of root
Message-ID:  <200207211534.IAA04779@eskimo.com>

next in thread | raw e-mail | index | archive | help

>Number:         40843
>Category:       misc
>Synopsis:       ee should be default editor of root
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 21 08:40:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ross A. Lippert
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
>Environment:
System: FreeBSD laverne.home 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386
>Description:
Although ee is used as the editor during install, vi remains the default
editor for some system critical functions like vipw and (if one is using
sudo) visudo.

This effectively forces a newbie to learn vi in order to correctly maintain
their FreeBSD system.  The whole point of introducing ee was so that newbies
could use ee anywhere they had, heretofore, needed vi.

So long as functions like vipw default to vi, the newbie user needs to learn
a bit about vi.

Or, to make a long story short, it is very inconvenient to have to teach
a newbie vi in order to teach the newbie about FreeBSD.  I'd rather ee be
the default which vi-accustomed people like myself change to vi than have vi be
the default.

>How-To-Repeat:
Do a fresh install of FreeBSD 4.6 or lower and run vipw or send-pr and see that
the editor is vi.

>Fix:
modify
 src/etc/root/dot.profile
by adding the lines
 EDITOR=ee
 export EDITOR

modify
 src/etc/root/dot.login
by adding the line
 setenv EDITOR ee



 -=- MIME -=- 
This is a MIME-encapsulated message

--g6L9VBJD055018.1027243964/laverne.home

    **********************************************
    **      THIS IS A WARNING MESSAGE ONLY      **
    **  YOU DO NOT NEED TO RESEND YOUR MESSAGE  **
    **********************************************

The original message was received at Sun, 21 Jul 2002 01:26:24 -0400 (EDT)
from localhost [127.0.0.1]

   ----- Transcript of session follows -----
<FreeBSD-gnats-submit@freebsd.org>... Deferred: Connection refused by mx1.freebsd.org.
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old

--g6L9VBJD055018.1027243964/laverne.home
Content-Type: message/delivery-status

Reporting-MTA: dns; laverne.home
Arrival-Date: Sun, 21 Jul 2002 01:26:24 -0400 (EDT)

Final-Recipient: RFC822; FreeBSD-gnats-submit@freebsd.org
Action: delayed
Status: 4.4.1
Remote-MTA: DNS; mx1.freebsd.org
Last-Attempt-Date: Sun, 21 Jul 2002 05:32:44 -0400 (EDT)
Will-Retry-Until: Fri, 26 Jul 2002 01:26:24 -0400 (EDT)

--g6L9VBJD055018.1027243964/laverne.home
Content-Type: message/rfc822

Return-Path: <ripper@laverne.home>
Received: from laverne.home (localhost [127.0.0.1])
	by laverne.home (8.12.3/8.12.3) with ESMTP id g6L5QNJC007725
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Jul 2002 01:26:24 -0400 (EDT)
	(envelope-from ripper@laverne.home)
Received: (from root@localhost)
	by laverne.home (8.12.3/8.12.3/Submit) id g6L5QLIW007706;
	Sun, 21 Jul 2002 01:26:21 -0400 (EDT)
Date: Sun, 21 Jul 2002 01:26:21 -0400 (EDT)
Message-Id: <200207210526.g6L5QLIW007706@laverne.home>
To: FreeBSD-gnats-submit@freebsd.org
Subject: ee should be default editor of root
From: "Ross A. Lippert" <ripper@laverne.home>
Reply-To: "Ross A. Lippert" <ripper@laverne.home>
Cc: 
X-send-pr-version: 3.113
X-GNATS-Notify: 
MIME-Version: 1.0


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207211534.IAA04779>