gavioto / stexbar

Automatically exported from code.google.com/p/stexbar
0 stars 1 forks source link

add "/f:on" to Console application #160

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
great idea! for those of us old enough to remember TOPS-10's escape completion 
of commands, Windows' "/f:on" option is a must-have. stexbar give us the 
ability to open a command window in the currently-selected directory, but not a 
way to have "/f:on" automatically executed, too.

i'm specifically looking for the ability to have "/f:on" automatically suffixed 
to the command line, but the implementation should probably just allow ANY 
string to be suffixed.

Original issue reported on code.google.com by ikjef...@yahoo.com on 9 Apr 2011 at 10:19

GoogleCodeExporter commented 9 years ago
of course, this is an enhancement, not a defect.

Original comment by ikjef...@yahoo.com on 9 Apr 2011 at 10:20

GoogleCodeExporter commented 9 years ago
"help cmd" shows the following:

You can enable or disable file name completion for a particular
invocation of CMD.EXE with the /F:ON or /F:OFF switch.  You can enable
or disable completion for all invocations of CMD.EXE on a machine and/or
user logon session by setting either or both of the following REG_DWORD
values in the registry using REGEDIT.EXE:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\CompletionChar
    HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\PathCompletionChar

        and/or

    HKEY_CURRENT_USER\Software\Microsoft\Command Processor\CompletionChar
    HKEY_CURRENT_USER\Software\Microsoft\Command Processor\PathCompletionChar

with the hex value of a control character to use for a particular
function (e.g.  0x4 is Ctrl-D and 0x6 is Ctrl-F).  The user specific
settings take precedence over the machine settings.  The command line
switches take precedence over the registry settings.

If completion is enabled with the /F:ON switch, the two control
characters used are Ctrl-D for directory name completion and Ctrl-F for
file name completion.  To disable a particular completion character in
the registry, use the value for space (0x20) as it is not a valid
control character.

Original comment by tortoisesvn on 10 Apr 2011 at 6:00

GoogleCodeExporter commented 9 years ago
So if you really need this, just enable it in the registry.
Or create a new console command which enables /F:ON on start.

Original comment by tortoisesvn on 10 Apr 2011 at 6:01