Console2 how to repeat last command?

14

1

Is there any way how to repeat last executed command (like up arrow does is cmd.exe) in Console2?

Marek Osvald

Posted 2012-09-14T12:25:28.790

Reputation: 145

The manual does say: Windows (CR+LF) - If selected the copy operation will convert the carriage return using the Windows convention. I don't know what that actually means but may be it will help – Dave – 2012-09-14T12:39:11.550

1Um... I use Console2, and the up arrow works... – SaintWacko – 2012-09-14T13:10:55.107

Yeah, I tried walkthough in this article: http://www.instructables.com/id/%22Drop-Down%22%2c-Quake-style-command-prompt-for-Window/?ALLSTEPS and it sort of stopped working (probably).

– Marek Osvald – 2012-09-14T13:50:30.090

Answers

2

[I stand corrected, as per comments, ctrl + works]

From the developers themselves (at least, their source code):

NOTE: Console is NOT a shell. Therefore, it does not implement shell features like...command history

Source: http://console.git.sourceforge.net/git/gitweb.cgi?p=console/console;a=blob;f=help/html/introduction.html;h=3b7e5dcc8948366941e371dfe4946e2431d4e434;hb=041d573f735c50926185657558fb5491f0871dfd

PatKilg

Posted 2012-09-14T12:25:28.790

Reputation: 755

Shift+up did not work for me. @bitmind had the solution for me... – Per Hornshøj-Schierbeck – 2014-08-26T08:55:06.730

Ha! Nevermind, i figured it out. All you have to do is press Ctrl+Up. Weird that the developers say the application does not support this function though. – Marek Osvald – 2012-09-14T12:46:11.753

1Haha, well, to be fair the help file is usually the last thing I remember to update too. – PatKilg – 2012-09-14T12:48:31.547

1You make a help file?! I just assume everyone will know by magic :) – Dave – 2012-09-14T12:49:02.110

1I make a help file because I forget the s**t I code sometimes. – PatKilg – 2012-09-14T12:59:14.980

I just discovered that Shift + ↑ works as well. – Marek Osvald – 2012-09-18T09:49:08.947

23

You have to go to Settings -> Hotkeys and disable Use scroll lock for scrolling. This worked fine for me!

bitmind

Posted 2012-09-14T12:25:28.790

Reputation: 331

1This fixed the case where arrow keys (both up/down and left/right) cause scrolling instead of keypresses being passed on to the actual interpreter. Thanks! – efdee – 2015-03-03T15:29:29.173

thx, save my time – slier – 2013-09-18T15:44:25.443

11

If it was working previously, and suddenly stopped, you may have hit the scroll lock key.

Jack M

Posted 2012-09-14T12:25:28.790

Reputation: 318

1I have had this issue a couple of times now and I would have never figured out. Is the first time that I find a usage for the scroll lock key, even if it is annoying. – Igor Rodriguez – 2015-09-22T12:56:43.833

2

I had the same issue and none of the instructions above worked for me.

In my case noticed that in Settings -> Hotkeys UP and DOWN were assigned to "Scroll Buffer row up" and "Scroll Buffer row down", so I assigned something else to these Commands (ie: Crtl + UP, Crtl + DOWN) and the UP and DOWN keys started working again to navigate the history.

lgrosales

Posted 2012-09-14T12:25:28.790

Reputation: 121

0

As a work around, in the Settings - Behavior screen under Copy and Paste you can select Copy on Select. I know not ideal but may be the closest you can get.

Dave

Posted 2012-09-14T12:25:28.790

Reputation: 24 199