Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 1998 22:28:26 -0700 (PDT)
From:      "Kevin G. Eliuk" <kevin_eliuk@sunshine.net>
To:        Johann Visagie <wjv@cityip.co.za>
Cc:        Chris Browning <brownicm@netunlimited.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Doskey
Message-ID:  <Pine.BSF.3.96.980715222344.432D-100000@vanessa.eliuk.org>
In-Reply-To: <19980715204302.A17838@cityip.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 Jul 1998, Johann Visagie wrote:

=> Most shells have very complex history manipulation features.  If you use
=> bash, try "help history", or search the man page for "HISTORY".  AFAIK, bash
=> inherits most of its history features from csh, so most csh-like shells and
=> derivatives will have similar mechanisms.  Personally, I find csh-like
=> history constructs like !!, !$, and ^..^.. much more convenient than any
=> history window.  But that's just me.  :-)
=> 
=> -- V

I am surprised that noone has mentioned uncommenting this in ~/.profile
in 2.2.5 and earlier and ~/.shrc in 2.2.6.

# Uncomment next line to enable the builtin emacs(1) command line editor
# in sh(1), e.g. C-a -> beginning-of-line.
set -o emacs

and it enables the same feature as `Doskey' as well as others.
                              
                                                  Regards,
Discover Rock Solid                               Kevin G. Eliuk
Discover FreeBSD
http://www.FreeBSD.Org
--==**==-- --==**==-- --==**==----==**==-- --==**==-- --==**==--
 All of my opinions are my own and in no way reflect those of my
  employers, past, present, or future, either real or imagined.
     --==**==-- --==**==-- --==**==-- --==**==-- --==**==--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980715222344.432D-100000>