NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /bin/sh command history in NetBSD/i386



    Date:        Wed, 1 Feb 2017 18:01:59 +0100 (CET)
    From:        Marco Beishuizen <mbeis%xs4all.nl@localhost>
    Message-ID:  <alpine.BSF.2.20.1702011801180.8014@localhost>

  | This gives:
  | ^[[C

As long as that was from the right arrow key, that's fine (up arrow,
the most relevant for getting started with cmd line editing should have
A instead of C)

I got your off-list message, not terribly useful, mostly because I had
a brain fade, and asked for the wrong stuff ...

But in that you didn't have editing enabled (no "set -o emacs" or "set -o vi")
or if you had attempted one of those, it didn't work.

Make sure you've done that (or the equiv "set -E" or "set -V" (which to use
depends whether you prefer emacs (ugh!) or vi (yay) editing commands...)

Then try
	fc -l
and verify that it lists the commands that you have entered.

kre



Home | Main Index | Thread Index | Old Index