-
Junior Member
registered user
konsole backward predictive typing
I suggest that konsole modified to be backward predictive when typing commands in. What this means is that you can simply type maybe the first 2 letters of a previous command typed in the same session and simple press the <tab> reveiling all possibilities. Example:
>> mount -w /dev/hdd1 /mnt/gamedrive
after multiple commands being entered then simply type the following:
>> mou <tab> and console would load the command above!
This function is the core of simplicity for those who have programmed in MATLAB, it realy makes things easy
Mduduzi
-
Senior Member
registered user
But you already have that, it's standard Linux/Unix. Assuming the bash shell, in your example, insteat of "mou tab" try typing "!mou". (without the double quotes, of course)
-
Senior Member
registered user
Re: konsole backward predictive typing

Originally Posted by
mduduzi
I suggest that konsole modified to be backward predictive when typing commands in. What this means is that you can simply type maybe the first 2 letters of a previous command typed in the same session and simple press the <tab> reveiling all possibilities. Example:
>> mount -w /dev/hdd1 /mnt/gamedrive
after multiple commands being entered then simply type the following:
>> mou <tab> and console would load the command above!
This function is the core of simplicity for those who have programmed in MATLAB, it realy makes things easy
Mduduzi
I'm doing something similar by adding the following two lines to the '/etc/profile' file:
bind '"\e[A"':history-search-backward
bind '"\e[B"':history-search-forward
Now after typing some charts you can scroll up ad down the history with up and down arrows keys.
-
Junior Member
registered user
I haven't tried the script you have provided above but i tried the usage of "!" before the command i want to run. But this only runs the previous command which is not what i want. It would be great if this "!" gave you a list of the previous commands which it displays them in a list which i can chose by means of numerical numbers
I will try the script provided above and report feedback
-
Senior Member
registered user
if you type the command
fc -l
bash will list the previous 16 commands with a number in front of each one
Then if you want to run the command numbered 11, say, then just enter
!11
If you want a list of the previous 20 commands instead of just 16 then type
fc -l -20
-
Try Cntl-R
The auto completion that is enabled when you press Cntl-R might be close to what you want.
Similar Threads
-
By yfan_ca in forum Hardware & Booting
Replies: 0
Last Post: 09-16-2008, 09:57 PM
-
By crazy_monkey108 in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 06-24-2006, 10:44 PM
-
By startling in forum General Support
Replies: 0
Last Post: 05-01-2006, 03:05 PM
-
By DougE in forum General Support
Replies: 3
Last Post: 07-08-2004, 11:40 PM
-
By pigface in forum General Support
Replies: 3
Last Post: 09-23-2003, 01:01 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory
$149.99

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit
$99.99

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY
$10.00

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$21.68

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC
$29.99

G.SKILL FLARE X5 64GB (2 x 32GB) 6000 MT/s DDR5 (AMD EXPO + INTEL XMP) *CL30*
$785.00

DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix
$66.00

MINT Micron Cisco 32GB PC4-2400T DDR4 2Rx4 RDIMM RAM MTA36ASF4G72PZ-2G3 LOT
$159.99

Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1
$399.00

Samsung 2 x 8GB DDR4 RAM 3200 MHz
$59.99