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
Suggestion: Click Cursor Position in CLI
- Thomas Frieden
- AmigaOS Core Developer
- Posts: 147
- Joined: Fri Dec 10, 2010 3:21 pm
Re: Suggestion: Click Cursor Position in CLI
What would that actually do ? Where does "backup" come from and how should the mouseclick know what to exchange the word for ?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
Re: Suggestion: Click Cursor Position in CLI
@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.
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.
- tonyw
- AmigaOS Core Developer
- Posts: 1479
- Joined: Wed Mar 09, 2011 1:36 pm
- Location: Sydney, Australia
Re: Suggestion: Click Cursor Position in CLI
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.
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.
cheers
tony
tony
Re: Suggestion: Click Cursor Position in CLI
Ok, my example was not really clear, i try it again:Thomas Frieden wrote:What would that actually do ? Where does "backup" come from and how should the mouseclick know what to exchange the word for ?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
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.
- Hans-Joerg Frieden
- AmigaOS Core Developer
- Posts: 223
- Joined: Wed Dec 08, 2010 3:52 pm
Re: Suggestion: Click Cursor Position in CLI
What if you have typedfingus 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.
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.
NOTICE: If you want to contact me, use E-Mail. I cannot be contacted via the forum/private messages anymore
Re: Suggestion: Click Cursor Position in CLI
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.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.
- Hans-Joerg Frieden
- AmigaOS Core Developer
- Posts: 223
- Joined: Wed Dec 08, 2010 3:52 pm
Re: Suggestion: Click Cursor Position in CLI
That would be usable indeed. Also, double clicking a word to select it would be useful.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.
NOTICE: If you want to contact me, use E-Mail. I cannot be contacted via the forum/private messages anymore
Re: Suggestion: Click Cursor Position in CLI
Thats excatly what i meant. There should be a german speaking section here to prevent such misunderstanding.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.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.
Re: Suggestion: Click Cursor Position in CLI
@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.)
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.)
AmigaOne X1000 with 2GB memory - OS4.1 FE