This is driving me nuts. I am using ngspice in interactive mode on Ubuntu. I expected the up and down arrows to scroll through previous commands just like in bash or pretty much any CLI ever. However doing so in ngspice just prints out "^[" or "[A". There is a history command and I am able to use "!" to execute previously executed commands just like in bash but what I want to do is bring up a previous command and edit it (like I can by pressing the up arrow in bash). Is there any way to so this in ngspice or do I really have to keep typing out the command from scratch if I want to change it?
migrated from electronics.stackexchange.com Jan 4 at 5:42
This question came from our site for electronics and electrical engineering professionals, students, and enthusiasts.
I would upgrade to Quantal or later so the editline support be activated without having to compile stuff, but if you feel hacky you can do this easily (you must make sure that you have the sources repositories activated):
So if you install on 12.04 or older you will have this problem, if you install on 12.10 or newer you won't.
To solve this on 12.04 you can try compiling