Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Robert Katz <katz@hp.com>
Subject: Re: Edauth usage (help - newbie)
Date: Sat, 14 Dec 2002 01:09:34 -0600	[thread overview]
Message-ID: <LOAK9.92$8J1.2949141@news.cpqcorp.net> (raw)
In-Reply-To: <3DF8A5C8.4070308@hp.com>

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





      parent reply	other threads:[~2002-12-14  7:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-12 14:21 Edauth usage (help - newbie) Martin Brodie
2002-12-12 15:05 ` John Ferlan
2002-12-13 13:40   ` Martin Brodie
2002-12-14  7:09   ` Robert Katz [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox