Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #2715
| From | Robert Wessel <robertwessel2@yahoo.com> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: programmer's keyboard |
| Message-ID | <j779e8hb61pit5ap7o5jdruhm93t7vi77c@4ax.com> (permalink) |
| References | (9 earlier) <kbqiq3$3q7$1@news.albasani.net> <akc2s5Fltc3U4@mid.individual.net> <kbrl33$659$1@news.albasani.net> <kc18sk$1s6$1@dont-email.me> <kc25p6$ul9$1@news.albasani.net> |
| Organization | Forte Inc. http://www.forteinc.com/apn/ |
| Date | 2013-01-02 15:35 -0600 |
On Wed, 02 Jan 2013 14:34:51 -0600, BGB <cr88192@hotmail.com> wrote:
>On 1/2/2013 6:23 AM, Rui Maciel wrote:
>> Using a shell tends to be a bit better because it gives more control to the
>> user, and can be more efficient. For example, typing "git checkout branch"
>> can be done faster than navigating a menu.
>>
>> Regarding the "bringing up a shell" bit, essentially this costs the same as
>> bringing up any other GUI application, such as a FTP client or a file
>> manager.
>>
>
>the advantage of the GUI based option though is that usually a person
>can click on things faster than they can type things.
>
>this is mostly an issue of having longish paths to 'cd' through, making
>getting to the desired directory take a little longer (meaning a higher
>initial cost).
>
>
>this means that navigating to a directory, or moving between
>directories, can be done faster and easier in Windows Explorer than in a
>shell.
>
>( granted, right now, I can observe that I have around 30 copies of
>Windows Explorer open, each currently pointing to a different directory.
>nevermind that the current number of open text editors is in the "stack
>doesn't fit on screen and Windows scrolls very slowly" territory. )
>
>
>granted, a better option would be if Explorer had an "Open CMD Shell
>Here" option. (or, even, the ability to, like in Linux, open a new shell
>in the same directory as the prior shell...).
If you're using Vista or later, hold the shift key when you
right-click the directory in Explorer.
In XP there's a doshere or cmdhere program that's part of Windows
Powertoys. Or there's simple registry change. Actually that's all
the cmdhere is anyway, it's an .inf ("cmdhere.inf") file that has the
install/uninstall scripts for the registry settings. There are
versions people have done for post-XP systems as well.
>but, even then, there would be a secondary annoyance:
>MS configures their compiler via environment variables used in the batch
>file used to open the shell (rather than, say, putting the compiler on
>the default path and using an INI file or similar for config). granted,
>OTOH, it does make MSVC a little easier to auto-configure tools against
>than GCC (which would externally appear to use magic to know its
>settings...).
>
>the issue here is that an "open shell here" would then not be nearly so
>useful if the intent is to rebuild the project...
Once you get the cmdhere.inf (or other appropriate version for post-XP
systems), you can trivially modify it to add different commands, and
different invocations of cmd. Note that there are several, depending
on what object you're seeing in explorer (file folver, vs. drive,
etc). I have a couple that change invoke something like:
cmd.exe /k cd ""%1""" & c:\somebatchfile
And if you make the changes with a modicum of care, you'll get full
uninstall support.
Or just look under HKCR\Drive\Shell and HKCR\Directory\Shell, you
should find some samples to modify. For example, you could add the
following strings under the indicated keys:
HKCR\Directory\Shell\mycmd
(default)="Open My CMD &Window"
HKCR\Directory\Shell\mycmd\command
(default)="C:\WINDOWS\system32\cmd.exe /k cd "%1" & c:\mybat"
note the & in front of "Window" adds an accelerator key, and is not
necessary if you don't want one.
(similar entries under HKCR\Drive)
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
programmer's keyboard bob <bob@coolfone.comze.com> - 2012-12-26 11:45 -0800
Re: programmer's keyboard Robert Wessel <robertwessel2@yahoo.com> - 2012-12-26 15:01 -0600
Re: programmer's keyboard "BartC" <bc@freeuk.com> - 2012-12-26 21:36 +0000
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2012-12-26 21:12 -0600
Re: programmer's keyboard Robert Wessel <robertwessel2@yahoo.com> - 2012-12-27 23:45 -0600
Re: programmer's keyboard "BartC" <bc@freeuk.com> - 2012-12-28 13:46 +0000
Re: programmer's keyboard Ian Collins <ian-news@hotmail.com> - 2012-12-29 11:42 +1300
Re: programmer's keyboard "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2012-12-29 15:15 +0000
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2012-12-29 14:41 -0600
Re: programmer's keyboard "BartC" <bc@freeuk.com> - 2012-12-29 21:10 +0000
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2012-12-29 15:26 -0600
Re: programmer's keyboard "BartC" <bc@freeuk.com> - 2012-12-29 22:41 +0000
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2012-12-30 02:12 -0600
Re: programmer's keyboard "BartC" <bc@freeuk.com> - 2012-12-30 11:20 +0000
Re: programmer's keyboard malcolm.mclean5@btinternet.com - 2012-12-30 10:19 -0800
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2012-12-30 14:51 -0600
Re: programmer's keyboard Ian Collins <ian-news@hotmail.com> - 2012-12-30 10:43 +1300
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2012-12-30 01:55 -0600
Re: programmer's keyboard Ian Collins <ian-news@hotmail.com> - 2012-12-30 21:06 +1300
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2012-12-30 02:35 -0600
Re: programmer's keyboard Rui Maciel <rui.maciel@gmail.com> - 2012-12-30 18:12 +0000
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2012-12-30 13:30 -0600
Re: programmer's keyboard Ian Collins <ian-news@hotmail.com> - 2012-12-31 09:36 +1300
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2012-12-30 17:27 -0600
Re: programmer's keyboard Ian Collins <ian-news@hotmail.com> - 2012-12-31 13:00 +1300
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2012-12-31 03:13 -0600
version control (was: Re: programmer's keyboard) rugxulo@gmail.com - 2012-12-31 10:36 -0800
Re: programmer's keyboard Ian Collins <ian-news@hotmail.com> - 2013-01-01 09:05 +1300
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2012-12-31 16:58 -0600
Re: programmer's keyboard Ian Collins <ian-news@hotmail.com> - 2013-01-01 13:24 +1300
Re: programmer's keyboard Rui Maciel <rui.maciel@gmail.com> - 2013-01-02 12:23 +0000
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2013-01-02 14:34 -0600
Re: programmer's keyboard Robert Wessel <robertwessel2@yahoo.com> - 2013-01-02 15:35 -0600
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2013-01-03 13:19 -0600
Re: programmer's keyboard Willem <willem@turtle.stack.nl> - 2013-01-03 08:35 +0000
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2013-01-03 13:46 -0600
Re: programmer's keyboard rugxulo@gmail.com - 2013-01-03 00:52 -0800
Re: programmer's keyboard Rui Maciel <rui.maciel@gmail.com> - 2013-01-03 15:00 +0000
Re: programmer's keyboard Rui Maciel <rui.maciel@gmail.com> - 2013-01-02 11:58 +0000
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2013-01-02 15:03 -0600
Re: programmer's keyboard rugxulo@gmail.com - 2013-01-03 00:54 -0800
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2013-01-03 13:06 -0600
Re: programmer's keyboard Rui Maciel <rui.maciel@gmail.com> - 2012-12-30 18:04 +0000
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2012-12-30 14:24 -0600
Re: programmer's keyboard Rui Maciel <rui.maciel@gmail.com> - 2013-01-02 11:34 +0000
Writing Experimental Code "Aaron W. Hsu" <arcfide@sacrideo.us> - 2013-01-02 15:08 -0600
Re: programmer's keyboard Rui Maciel <rui.maciel@gmail.com> - 2012-12-28 11:45 +0000
Re: programmer's keyboard BGB <cr88192@hotmail.com> - 2012-12-28 12:29 -0600
csiph-web