how to implement ctrl+l for windows cmd? - windows

In linux terminal as I give ctrl+L signal, terminal screen clears. since I am new in windows programming and I found that cls command is used to clear screen. How can I make ctrl+L signal in case of windows cmd to clear screen.

You should use the cls command as a key shortcut will be more difficult.
There is something called AutoHotkey, you can try that and tell us if that helped you :)
Click here to go to their website: AutoHotkey

Related

ctrl+shift+x terminator alternative in iTerm MAC os?

In order to make any tab into the fullscreen window, in Terminator, we have an option with shortcut ctrl+shift+X, perhaps I am trying to find the same shortcut in iTerm, but couldn't figure it out. I like to know if there is any shortcut exist or the feature is not present in iTerm.
After trial and error, I found it finally
cmd+shift+enter

Windows console - clear scrollback buffer while program runs

After spending an hour on Googling for a shortcut, I have to ask here:
How can I clear the scrollback buffer and history in the Windows console, while a program is running?
Like CMD's cls command does.
Background: I have a program that spams the command line, but I can not restart the program during my test runs.
Windows offers shortcuts to change the opacity of the window but no shortcuts to clear scrollback buffer?!
Thanks

why command is canceled when I move terminal window on ubuntu?

everyone!
I installed ubuntu on vmware for working laravel framework.
I have problem with terminal.
when I move terminal window using mouse, running command is canceled.
Please see this...
hkg328#hkg328-virtual-machine:~$ ^C
hkg328#hkg328-virtual-machine:~$ ^C
hkg328#hkg328-virtual-machine:~$ ^C
hkg328#hkg328-virtual-machine:~$ ^C
whenever I move terminal window using mouse, following line appears in terminal.
hkg328#hkg328-virtual-machine:~$ ^C
What is the reason?
What should I do for solving this problem?
(When I move terminal using shift key+mouse drag It is ok.
But I don't want to use shift key.)
Thank you.
The likely problem is that your terminal has the xterm mouse-protocol enabled (usually from running some text-editor). Occasionally that does not clean up after itself (a problem with vim's plugins), and you'll even see this enabled on the shell command-line.
When you click in the text-area without shifting, that sends escape characters (and control characters) when xterm mouse-protocol is enabled. For xterm, at least, clicking/dragging the window border (including title area) shouldn't pass those escape/control characters to the application.
The use of the shift-key is built into the mouse protocol; if it's enabled you'll get that behavior -- always.

How to cancel the windows shortcut key when I use emacs 24.3 in gui in windows?

I download the emacs 24.3 in http://ftp.gnu.org/pub/gnu/emacs/windows/
In a gui mode, I found the following trouble. So I want to cancel the windows shortcut key
The 1st example is that I define the shortcut "C-F2" in linux and I also want to use it in windows.
The 2nd example "C-space" makes me to mark things but it is not working in windows. It is obvious that emacs are occupied by the windows shortcuts. How can I cancel the windows shortcut key when I use emacs in windows?
I suspect these are not taken by Windows itself, but by your IME. It may be possible to change the keys in the IME Settings.

How to assign alt + f1 key to an opened Windows application

I usually have more then 10 opened application windows. When I write code I need to switch fast between a browser, an IDE and terminal windows. Alt + tab is too slow, too many windows to choose from.
Virtual desktop is a work around for me. On a first desktop I keep browser, on a second IDE, etc. So I am able to switch fast between my most important applications.
And the question. Is there an utility for Windows XP / Vista which allows to assign a keyboard shortcut like alt + f1 .. f10 to an opened application window?
UPDATE: All programs I've found allow to define a shortcut to an application. E.g. they will open new instance of Firefox instead of switch to an opened one. Closest to what I need is Switcher. It displays big thumbnails of all open windows with assigned numbers to press.
Autohotkey I've found to be very powerful. Here is a part of my test script.
SetTitleMatchMode, 2
#z::Run http://stackoverflow.com/
^!n::
IfWinExist Notepad
WinActivate
else
Run Notepad
return
!F1::
IfWinExist Firefox
WinActivate
else
Run Firefox
return
!F2::
IfWinExist Commander
WinActivate
return
!F3::
IfWinExist Carbide
WinActivate
return
Just use Win32 api KBS.
There's a fair number of shareware apps for keyboard shortcuts out there. Take a look at Stardock's Keyboard Launchpad, it's supposed to be able to do stuff like that.

Resources