From owner-freebsd-bugs Sun Jul 21 8:40:32 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7830737B406 for ; Sun, 21 Jul 2002 08:40:07 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DCBF43E70 for ; Sun, 21 Jul 2002 08:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6LFe3JU092945 for ; Sun, 21 Jul 2002 08:40:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6LFe3Tc092944; Sun, 21 Jul 2002 08:40:03 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E9E537B400 for ; Sun, 21 Jul 2002 08:34:54 -0700 (PDT) Received: from mx1.eskimo.com (mx1.eskimo.com [204.122.16.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9662143E3B for ; Sun, 21 Jul 2002 08:34:53 -0700 (PDT) (envelope-from ripper@eskimo.com) Received: from eskimo.com (ripper@eskimo.com [204.122.16.13]) by mx1.eskimo.com (8.9.1a/8.8.8) with ESMTP id IAA04514 for ; Sun, 21 Jul 2002 08:34:51 -0700 Received: (from ripper@localhost) by eskimo.com (8.9.1a/8.9.1) id IAA04779; Sun, 21 Jul 2002 08:34:52 -0700 (PDT) Message-Id: <200207211534.IAA04779@eskimo.com> Date: Sun, 21 Jul 2002 01:26:21 -0400 (EDT) From: Ross Lippert To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/40843: ee should be default editor of root Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 ----- ... 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: Received: from laverne.home (localhost [127.0.0.1]) by laverne.home (8.12.3/8.12.3) with ESMTP id g6L5QNJC007725 for ; 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" Reply-To: "Ross A. Lippert" 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