Re: [MSH] Command completion character
- From: "Bruce Payette [MSFT]" <brucepay@xxxxxxxxxxxxx>
- Date: Mon, 14 Nov 2005 11:57:47 -0800
The editing features that msh and cmd.exe both use are implemented by the
console subsystem not the user process. Tab-completion uses a feature in the
Console API where you can specify a secondary line-complete character. When
we get a line back, we look at the line-complete character and figure out
what to do from there. We don't currently provide a way to specify anything
other than tab for this character unfortunately. All of the other changes
suggested require writing our own command-line editor. This didn't make the
cut for V1 but is high on the list for V2.
--
Bruce Payette [MSFT]
Microsoft Command Shell Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
"Chris Warwick" <news@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3ghbn1hr2v4bahn1g125tlafvrghk4q92l@xxxxxxxxxx
> On Fri, 11 Nov 2005 10:10:26 -0700, "Keith Hill"
> <r_keith_hill@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
>>"Jeff Jones [MSFT]" <jeffjon@xxxxxxxxxxxxxxxxxxxx> wrote in message
>>news:OGaiM7t5FHA.3592@xxxxxxxxxxxxxxxxxxxxxxx
>>> We don't currently have a way to customize the tab completion. If you
>>> have a beta ID please file a feature request. If not, let me know and I
>>> can file one for you.
>>
>>What would be nice is generic key binding to command mechanism. Besides
>>tab
>>for FilenameCompletion and DirectoryNameCompletion I would see wanting to
>>change the key binding for all commands e.g.:
>>
>>* StartOfLine (Home)
>>* EndOfLine (End)
>>* HistoryUp (UpArrow)
>>* HistoryDown (DownArrow)
>>* ShowCommandHistory (F7)
>>* PartialMatchCommandFromHistory match (F8)
>>* ClearHistory (Alt+F7)
>>* eventually ParenBracketBraceKiss (Ctrl+])
>>* eventually Copy (Ctrl+C)
>>* eventually Ccut (Ctrl+X)
>>* eventually Paste (Ctrl+V)
>>* eventually WordRight (Ctrl+RightArrow)
>>* eventually WordLeft (Ctrl+LeftArrow)
>>* eventually PartialMatchCommandFromHistoryUp (UpArrow)
>>* eventually PartialMatchCommandFromHistoryDown (DownArrow)
>>
>>Part of the issue is exposing the interactive shell "commands" and
>>allowing
>>us to rebind to different input gestures.
>
> Great idea Keith! Can I second these as feature requests for the
> much rumoured replacement console. I can't believe the amount of
> times I *still* (after all these years!) copy a string and try to
> Ctrl-V into the command shell (MSH shell these days).
>
> Oh, and by the way, in the console window, who's bright idea was it to
> put the "Edit" command just millimeters away from the "CLOSE" command
> - DOH!
>
> Chris
.
- Follow-Ups:
- Re: [MSH] Command completion character
- From: Keith Hill
- Re: [MSH] Command completion character
- References:
- [MSH] Command completion character
- From: Marty List
- Re: [MSH] Command completion character
- From: Chris Warwick
- [MSH] Command completion character
- Prev by Date: Re: [MSH] Need for C#'s using dispose block
- Next by Date: Re: [MSH] Command completion character
- Previous by thread: Re: [MSH] Command completion character
- Next by thread: Re: [MSH] Command completion character
- Index(es):
Relevant Pages
|
Loading