Summary: | Matlab like history completion | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | yuval aviel <yuval> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | 1.6.5 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
yuval aviel
2007-01-16 14:41:01 UTC
Hello Yuval, I think you can get what you are after by pressing Ctrl+R in the terminal and then typing in the first few characters of your command. Press Ctrl+R and you will see a line like this: (reverse i-search: '') If you have typed in "make install" previously, type in "mak" and it should prompt you with "make install". Press enter to execute the command. More information can be found here: http://www.faqs.org/docs/bashman/bashref_95.html This assumes that you are using a Bash shell ( you can find out by running "echo $SHELL" in the terminal, it will print "/bin/bash" if you are ) Other than that, it is important to understand the difference between Konsole and the program running in the shell. Konsole is a "terminal emulator", in other words, a window in which command-line programs can run, accept user input and print output. It isn't responsible for any of the text you see inside the window or doing anything useful with the input. That is done by the shell process, typically called bash. See the web page linked above for bash documentation. Not a Konsole bug - closing for now. Forgot to mention that I am aware of the ctrl-r option. There is a big difference between the two; in Matlab you can *scroll* between completions, whereas with ctrl-r you can't. That is if you typed before make clean make all make install then you type 'ma' you can scroll between all these optional completions! Not to mention that the up arrow is match more convenient than ctrl-r :( Hi, I wouldn't be surprised if other shells provide this facility. The fish shell provides something fairly similar with Up and Down arrows. You can use them with Konsole instead of bash. Go to Settings -> Configure Konsole -> Session Tab. Select the "Shell" session type and enter the name of the terminal program you want to use in the "Execute" box. Thank you for the reference to FISH. An excellent shell. Wish i knew about it earlier ... |