Page 1 of 2

Suggestion: Click Cursor Position in CLI

Posted: Tue Aug 02, 2011 10:20 am
by fingus
Suggestion:

Click a Cursor Position on a CLI command.

example:
workbench:> assign work:test/

Click with the Mouse on w of "work" to change it to backup

Re: Suggestion: Click Cursor Position in CLI

Posted: Tue Aug 02, 2011 11:02 am
by Thomas Frieden
fingus wrote:Suggestion:

Click a Cursor Position on a CLI command.

example:
workbench:> assign work:test/

Click with the Mouse on w of "work" to change it to backup
What would that actually do ? Where does "backup" come from and how should the mouseclick know what to exchange the word for ?

Re: Suggestion: Click Cursor Position in CLI

Posted: Tue Aug 02, 2011 11:32 pm
by ChrisH
@Thomas
I guess (only guess!) that clicking on "w" would highlight the whole word, allowing you delete it & replace with "backup" or whatever? I'd suggest it would need to be a double-click though.

I suppose it you could try to detect that it was a path (KingCON does something similar when you press Tab IIRC) but I don't see that would be particularly helpful.

Re: Suggestion: Click Cursor Position in CLI

Posted: Wed Aug 03, 2011 1:17 am
by tonyw
You can think of lots of "shortcuts" like that, but you end up with so many low-level features that only a few users can remember them and most people don't use them. Also (and this is the worst part) maintaining such code is a horrible job.

If that is what fingus wants, I'd suggest that back-spacing to the "work" string, erasing it and typing "b<HT>" would get the same result faster.

Re: Suggestion: Click Cursor Position in CLI

Posted: Wed Aug 03, 2011 9:19 am
by fingus
Thomas Frieden wrote:
fingus wrote:Suggestion:

Click a Cursor Position on a CLI command.

example:
workbench:> assign work:test/

Click with the Mouse on w of "work" to change it to backup
What would that actually do ? Where does "backup" come from and how should the mouseclick know what to exchange the word for ?
Ok, my example was not really clear, i try it again:

You have three partitions named:

Workbench:
Work:
Backup:

And now you open a cli and type or paste from a readme something like this:

assign blah: NotyourHDDName:blah/

It would be a nice feature to click the Cursor for example to the first char of "NotyourHDDName" to delete manually by Keyboard the Drive-Name to type in one fitting Name of your system. Otherwise you have to press Backspace or Cursor left a few times to reach "NotyourHDDName" to change it. Auto-Highlighting would also be a very nice feature to have, but in my case its not a must.

Re: Suggestion: Click Cursor Position in CLI

Posted: Wed Aug 03, 2011 11:24 am
by Hans-Joerg Frieden
fingus wrote: It would be a nice feature to click the Cursor for example to the first char of "NotyourHDDName" to delete manually by Keyboard the Drive-Name to type in one fitting Name of your system. Otherwise you have to press Backspace or Cursor left a few times to reach "NotyourHDDName" to change it. Auto-Highlighting would also be a very nice feature to have, but in my case its not a must.
What if you have typed
Assign blah: "RAM Disk:blah/"

Will your proposed feature stop at the space? At the ':'? at the quote? EIther way you do it, it doesn't really work. It's either a "select word" or a "select volume", in any case the use of such a feature is extremely narrow, for a situation that hardly ever arises.

Re: Suggestion: Click Cursor Position in CLI

Posted: Wed Aug 03, 2011 8:01 pm
by chris
Hans-Joerg Frieden wrote:What if you have typed
Assign blah: "RAM Disk:blah/"

Will your proposed feature stop at the space? At the ':'? at the quote? EIther way you do it, it doesn't really work. It's either a "select word" or a "select volume", in any case the use of such a feature is extremely narrow, for a situation that hardly ever arises.
I think he means, when you click the mouse in the Shell/a console window, the cursor should move to that place. No other cleverness. This would actually be very useful.

Re: Suggestion: Click Cursor Position in CLI

Posted: Wed Aug 03, 2011 9:41 pm
by Hans-Joerg Frieden
chris wrote:I think he means, when you click the mouse in the Shell/a console window, the cursor should move to that place. No other cleverness. This would actually be very useful.
That would be usable indeed. Also, double clicking a word to select it would be useful.

Re: Suggestion: Click Cursor Position in CLI

Posted: Thu Aug 04, 2011 8:32 am
by fingus
chris wrote:
Hans-Joerg Frieden wrote:What if you have typed
Assign blah: "RAM Disk:blah/"

Will your proposed feature stop at the space? At the ':'? at the quote? EIther way you do it, it doesn't really work. It's either a "select word" or a "select volume", in any case the use of such a feature is extremely narrow, for a situation that hardly ever arises.
I think he means, when you click the mouse in the Shell/a console window, the cursor should move to that place. No other cleverness. This would actually be very useful.
Thats excatly what i meant. There should be a german speaking section here to prevent such misunderstanding. ;-)

Re: Suggestion: Click Cursor Position in CLI

Posted: Wed Aug 10, 2011 3:39 pm
by xenic
@fingus
I don't think it is necessarily a language issue. Like other KingCON users, I immediately knew that you were suggesting an editable command line in the Amiga shell (console actually). Most of us would like to see most of the additional features in KingCon included in the Amiga console (scrollable windows, buffer saving, command line editing etc.)