Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2003 11:30:50 -0500 (EST)
From:      David Gilbert <dgilbert@velocet.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/48461: $EDITOR on the fixit CD is wrong.
Message-ID:  <20030219163050.911CE74625@trooper.velocet.ca>

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

>Number:         48461
>Category:       misc
>Synopsis:       $EDITOR on the fixit CD is wrong.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 19 08:40:10 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Gilbert
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
Velocet Communications
>Environment:
System: FreeBSD trooper.velocet.ca 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Mon Nov 18 10:08:06 EST 2002 root@trooper.velocet.ca:/usr/src/sys/compile/TROOPER i386

This occurs on the 4.7-disc2.iso distributed from the canonical FTP site.

>Description:
	In my case, I was using disklabel -e and it tries to run
/mnt2/stand/vi ... which is not present.  Maybe this is a floppy
thing... but we should be able to make this work in both places.
My simple patch doesn't address the floppy issue, I don't think.
>How-To-Repeat:
	
	run disklabel -e from the fixit CD.
>Fix:


--- fixit.profile.orig	Wed Feb 19 11:18:14 2003
+++ fixit.profile	Wed Feb 19 11:23:59 2003
@@ -3,8 +3,8 @@
 
 export BLOCKSIZE=K
 export PS1="Fixit# "
-export EDITOR="/mnt2/stand/vi"
-export PAGER="/mnt2/stand/more"
+export EDITOR="/mnt2/usr/bin/vi"
+export PAGER="/mnt2/usr/bin/more"
 export SCSI_MODES="/mnt2/usr/share/misc/scsi_modes"
 # the root MFS doesn't have /dev/nrsa0, pick a better default for mt(1)
 export TAPE=/mnt2/dev/nrsa0

>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?20030219163050.911CE74625>