Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

[MSH] Keyboard-Shortcuts?
hi!
i'm new to monad so maybe someone already asked this:

if i do "get-help some-cmdlet" i usally get several pages
of text. then i want to hit the pageUp-key to move to the
beginning of that text but instead of scrolling the console
monad gives me the last command i typed...

how do i navigate within the console WITHOUT the mouse?
is there a keyboard-shortcut to navigate to the beginning of my last command
?
can autoscroling be turned off?
where are the keyboard-shortcuts documented?

thanks in advance!

Report this thread to moderator Post Follow-up to this message
Old Post
Dominik
01-12-06 11:55 PM


Re: [MSH] Keyboard-Shortcuts?
Dominik, MSH.EXE is a console application, so whatever works with CMD.EXE
will work with MSH.EXE.  You can use the up and down arrows to look through
the list of commands you have typed in.  HOME and END will move the cursor
to the beginning/end of the current command (also try right and left arrow,
and CTRL-right and left arrow).  Unfortunately I don't know of any way to
scroll a CMD.EXE window without a mouse, maybe some accessibility gurus out
there know how to do it.  There's always "get-help some-cmdlet | more".

"Dominik" <Dominik@fake.email> wrote in message
news:ON3qSC8FGHA.3532@TK2MSFTNGP14.phx.gbl...
> hi!
> i'm new to monad so maybe someone already asked this:
>
> if i do "get-help some-cmdlet" i usally get several pages
> of text. then i want to hit the pageUp-key to move to the
> beginning of that text but instead of scrolling the console
> monad gives me the last command i typed...
>
> how do i navigate within the console WITHOUT the mouse?
> is there a keyboard-shortcut to navigate to the beginning of my last
> command?
> can autoscroling be turned off?
> where are the keyboard-shortcuts documented?
>
> thanks in advance!



Report this thread to moderator Post Follow-up to this message
Old Post
Jon Newman [MSFT]
01-12-06 11:55 PM


Re: [MSH] Keyboard-Shortcuts?
"Dominik" <Dominik@fake.email> wrote in message
news:ON3qSC8FGHA.3532@TK2MSFTNGP14.phx.gbl...
> hi!
> i'm new to monad so maybe someone already asked this:
>
> if i do "get-help some-cmdlet" i usally get several pages
> of text. then i want to hit the pageUp-key to move to the
> beginning of that text but instead of scrolling the console
> monad gives me the last command i typed...
>
> how do i navigate within the console WITHOUT the mouse?
> is there a keyboard-shortcut to navigate to the beginning of my last
> command?
> can autoscroling be turned off?
> where are the keyboard-shortcuts documented?

If you are on beta 3 execute:

> help about_Line_editing

--
Keith



Report this thread to moderator Post Follow-up to this message
Old Post
Keith Hill [MVP]
01-12-06 11:55 PM


Re: [MSH] Keyboard-Shortcuts?
The best way to scroll a console is:
Alt-Space, E, L

<ESC> or <Enter> exits this mode.

Along those same lines, a quick way to paste is:
Alt-Space, E, P

--
Lee Holmes [MSFT]
Microsoft Command Shell Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.


-----Original Message-----
From: Jon Newman [MSFT]
Posted At: Thursday, January 12, 2006 2:11 PM
Posted To: microsoft.public.windows.server.scripting
Conversation: [MSH] Keyboard-Shortcuts?
Subject: Re: [MSH] Keyboard-Shortcuts?

Dominik, MSH.EXE is a console application, so whatever works with CMD.EXE
will work with MSH.EXE.  You can use the up and down arrows to look through
the list of commands you have typed in.  HOME and END will move the cursor
to the beginning/end of the current command (also try right and left arrow,
and CTRL-right and left arrow).  Unfortunately I don't know of any way to
scroll a CMD.EXE window without a mouse, maybe some accessibility gurus out
there know how to do it.  There's always "get-help some-cmdlet | more".

"Dominik" <Dominik@fake.email> wrote in message
news:ON3qSC8FGHA.3532@TK2MSFTNGP14.phx.gbl...
> hi!
> i'm new to monad so maybe someone already asked this:
>
> if i do "get-help some-cmdlet" i usally get several pages
> of text. then i want to hit the pageUp-key to move to the
> beginning of that text but instead of scrolling the console
> monad gives me the last command i typed...
>
> how do i navigate within the console WITHOUT the mouse?
> is there a keyboard-shortcut to navigate to the beginning of my last
> command?
> can autoscroling be turned off?
> where are the keyboard-shortcuts documented?
>
> thanks in advance!

Report this thread to moderator Post Follow-up to this message
Old Post
lee.holmes@online.microsoft.com
01-12-06 11:55 PM


Re: [MSH] Keyboard-Shortcuts?
lee.holmes@online.microsoft.com wrote:
> The best way to scroll a console is:
> 	Alt-Space, E, L
>


WOW! that is four (4) keys :(
i think i'll stick with the mouse
until this gets improved...

thanks anyway

Report this thread to moderator Post Follow-up to this message
Old Post
Dominik
01-13-06 11:55 PM


Re: [MSH] Keyboard-Shortcuts?
It actually becomes ingrained quite quickly as a single action.  Ask anybody
 who's spent any time using Emacs or VI how quickly these things become seco
nd nature!

--
Lee Holmes [MSFT]
Microsoft Command Shell Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.


-----Original Message-----
From: Dominik
Posted At: Friday, January 13, 2006 12:07 PM
Posted To: microsoft.public.windows.server.scripting
Conversation: [MSH] Keyboard-Shortcuts?
Subject: Re: [MSH] Keyboard-Shortcuts?

lee.holmes@online.microsoft.com wrote:
> The best way to scroll a console is:
> 	Alt-Space, E, L
>


WOW! that is four (4) keys :(
i think i'll stick with the mouse
until this gets improved...

thanks anyway

Report this thread to moderator Post Follow-up to this message
Old Post
lee.holmes@online.microsoft.com
01-13-06 11:55 PM


Re: [MSH] Keyboard-Shortcuts?

"Dominik" wrote:

> lee.holmes@online.microsoft.com wrote: 
>
>
> WOW! that is four (4) keys :(
> i think i'll stick with the mouse
> until this gets improved...
>
> thanks anyway
>


Now if you could make it behave in a Vim-ish fashion then we're in business.
:)

Report this thread to moderator Post Follow-up to this message
Old Post
ebgreen
01-13-06 11:55 PM


Re: [MSH] Keyboard-Shortcuts?
lee.holmes@online.microsoft.com wrote:
> It actually becomes ingrained quite quickly as a single action. Ask anybod
y who's spent any time using Emacs or VI how quickly these things become sec
ond nature!
>

hey i'm a windows user, i like to spent my time on other things
than figuring out 4-key shortcuts :p
thank god page-scrolling with PGUP works in IE and Word :)

btw: where can i request this cutting-edge feature?

Report this thread to moderator Post Follow-up to this message
Old Post
Dominik
01-13-06 11:55 PM


Re: [MSH] Keyboard-Shortcuts?
Things like this are pain points for us as well -- don't think that we consi
der a 4-key shortcut a "feature."  We hope to address problems like this in 
V2.

http://www.leeholmes.com/blog/Monad...LikeCmdexe.aspx

--
Lee Holmes [MSFT]
Microsoft Command Shell Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.


-----Original Message-----
From: Dominik
Posted At: Friday, January 13, 2006 1:39 PM
Posted To: microsoft.public.windows.server.scripting
Conversation: [MSH] Keyboard-Shortcuts?
Subject: Re: [MSH] Keyboard-Shortcuts?

lee.holmes@online.microsoft.com wrote:
> It actually becomes ingrained quite quickly as a single action. Ask anybod
y who's spent any time using Emacs or VI how quickly these things become sec
ond nature!
>

hey i'm a windows user, i like to spent my time on other things
than figuring out 4-key shortcuts :p
thank god page-scrolling with PGUP works in IE and Word :)

btw: where can i request this cutting-edge feature?

Report this thread to moderator Post Follow-up to this message
Old Post
lee.holmes@online.microsoft.com
01-13-06 11:55 PM


Re: [MSH] Keyboard-Shortcuts?
I made a workaround in 2 keys,
by using a function and alias,

(S [enter])

http://mow001.blogspot.com/2006/01/...t-function.html

its a bit dirty way to do this, but its 2 key's less ;-)

gr /\/\o\/\/

lee.holmes@online.microsoft.com wrote:
> Things like this are pain points for us as well -- don't think that we con
sider a 4-key shortcut a "feature."  We hope to address problems like this i
n V2.
>
> http://www.leeholmes.com/blog/Monad...LikeCmdexe.aspx
>
> --
> Lee Holmes [MSFT]
> Microsoft Command Shell Development
> Microsoft Corporation
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>
>
> -----Original Message-----
> From: Dominik
> Posted At: Friday, January 13, 2006 1:39 PM
> Posted To: microsoft.public.windows.server.scripting
> Conversation: [MSH] Keyboard-Shortcuts?
> Subject: Re: [MSH] Keyboard-Shortcuts?
>
> lee.holmes@online.microsoft.com wrote:
> 
>
>
> hey i'm a windows user, i like to spent my time on other things
> than figuring out 4-key shortcuts :p
> thank god page-scrolling with PGUP works in IE and Word :)
>
> btw: where can i request this cutting-edge feature?

Report this thread to moderator Post Follow-up to this message
Old Post
/\\/\\o\\/\\/ [MVP]
01-19-06 11:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Windows Server Scripting archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 02:48 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.