Author Topic: Listing Command Line History  (Read 4259 times)

kenkahn

  • Community Member
  • Posts: 33
  • Hero Points: 1
Listing Command Line History
« on: February 01, 2007, 02:47:03 pm »
Is there a built-in command or available macro that will list out the command line history, allowing selection of an entry?  There used to be one in the macro download section (many years ago) but I don't see it any longer.  I often enter some elaborate replace commands; I can recall them one at a time using the arrow keys, but it would make life easier if I could list all previous commands and select the one I need.

hs2

  • Senior Community Member
  • Posts: 2737
  • Hero Points: 288
Re: Listing Command Line History
« Reply #1 on: February 01, 2007, 04:04:08 pm »
A while ago I've written macro support for that...
Just load the attached module and use ListCommands on cmdline or bind it to a key ...

Have fun,

HS2

kenkahn

  • Community Member
  • Posts: 33
  • Hero Points: 1
Re: Listing Command Line History
« Reply #2 on: February 01, 2007, 05:32:30 pm »
Exactly what I was looking for.. Thanks...

kenkahn

  • Community Member
  • Posts: 33
  • Hero Points: 1
Re: Listing Command Line History
« Reply #3 on: February 02, 2007, 01:53:15 am »
If possible, I'd like to copy some of the commands between SE's running on different systems.  Where is the command history kept?  I couldn't find it anywhere.

hs2

  • Senior Community Member
  • Posts: 2737
  • Hero Points: 288
Re: Listing Command Line History
« Reply #4 on: February 02, 2007, 09:20:44 am »
It's stored in <slick config dir>\vrestore.slk.

HS2

Lisa

  • Senior Community Member
  • Posts: 238
  • Hero Points: 23
  • User-friendly geek-speak translator extraordinaire
Re: Listing Command Line History
« Reply #5 on: February 02, 2007, 10:52:06 pm »
Great thread, and the command history location needs to be documented. Duly noted.

-Lisa