Subject: bin/2520: pw_edit (libutil) only supports a simple EDITOR setting
To: None <gnats-bugs@NetBSD.ORG>
From: Jason Downs <downsj@teeny.org>
List: netbsd-bugs
Date: 06/05/1996 10:42:15
>Number:         2520
>Category:       bin
>Synopsis:       pw_edit (libutil) only supports a simple EDITOR setting
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun  5 14:05:03 1996
>Last-Modified:
>Originator:     Jason Downs
>Organization:
Jason Downs		   (503) 256-8535 -/- (503) 952-3749
downsj@teeny.org  --> teeny.org: Free Software for a Free Internet <--
http://www.teeny.org/
	   Powered by ... pentium/romp/sparc/ka630/68030/68020/68010
>Release:        NetBSD-current 05/18/96
>Environment:
System: NetBSD threadway 1.1B NetBSD 1.1B (THREADWAY-DDB) #4: Fri May 24 00:35:58 PDT 1996 downsj@threadway:/usr/src/sys/arch/i386/compile/THREADWAY-DDB i386


>Description:
	pw_edit(), now in libutil, only supports a simple EDITOR setting.
	This becomes a rather major problem if, say, you're running a
	huge ISP where the default EDITOR is 'pico -t'.
>How-To-Repeat:
	setenv EDITOR 'pico -t'
	chfn
>Fix:
	Parsing the entire thing into argv/argc and switching exec*()
	calls is the only thing I can think of.
>Audit-Trail:
>Unformatted: