From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,6e5a99e2eca332e6 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-12-13 23:09:32 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail From: Robert Katz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Edauth usage (help - newbie) References: <4bb16963.0212120621.587131a@posting.google.com> <3DF8A5C8.4070308@hp.com> In-Reply-To: <3DF8A5C8.4070308@hp.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Sat, 14 Dec 2002 01:09:34 -0600 NNTP-Posting-Host: 16.47.218.157 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1039849771 16.47.218.157 (Fri, 13 Dec 2002 23:09:31 PST) NNTP-Posting-Date: Fri, 13 Dec 2002 23:09:31 PST Organization: Hewlett-Packard Company Xref: archiver1.google.com comp.unix.tru64:9267 John Ferlan wrote: > You're in the default shell editor... > > edauth honors the EDITOR environment variable.. > > EDITOR=/usr/bin/vi;export EDITOR > edauth -dd default > > will dump you into vi > > > on the command line it'd be (assuming u_minlen was say 5 in the current > entry) > > edauth -g -dd default | sed 's/:u_minlen#5:/:u_minlen#8:/g' | edauth -s -dd > > Martin Brodie wrote: > >> How do I really use edauth? >> >> when I perform >> # edauth -dd default >> >> I get the following 2 lines below. I guess this is a line editor I am >> in, but what commands do I use here. >> >> "/tmp/edaBIguCe" 20 lines, 964 characters >> : >> The colon (:) represents the prompt from `ex', the default EDITOR for edauth. All you have to do is :1vi and you'll switch from ex (line mode) to vi (visual mode). The 1 brings you to the top of the file. ex and vi are two of the five hard links to the same inode. [ . . . ] -- Regards, ---Robert