Monday, November 18, 2013
How to fix broken Windows 7 shortcut keys for moving apps between multiple monitors
I discovered the hard way that disabling a particular setting in Windows 7 had the unexpected result of disabling the shortcut keys to move applications between monitors and to maximize and minimize. Specifically, I had enabled the "Prevent windows from being automatically arranged when moved to the edge of the screen" option in Control Panel > All Control Panel Items > Ease of Access Center > Make the keyboard easier to use.
Monday, November 11, 2013
PuTTY color scheme with a light background
The default PuTTY color scheme is white on black. I prefer a black on white color scheme for my ssh terminal.
Here's the registry stuff you need to import to create a light background entry in PuTTY.
Here's the registry stuff you need to import to create a light background entry in PuTTY.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Light%20Background]"Present"=dword:00000001"HostName"="""LogFileName"="putty.log""LogType"=dword:00000000"LogFileClash"=dword:ffffffff"LogFlush"=dword:00000001"SSHLogOmitPasswords"=dword:00000001"SSHLogOmitData"=dword:00000000"Protocol"="ssh""PortNumber"=dword:00000016"CloseOnExit"=dword:00000001"WarnOnClose"=dword:00000001"PingInterval"=dword:00000000"PingIntervalSecs"=dword:00000000"TCPNoDelay"=dword:00000001"TCPKeepalives"=dword:00000001"TerminalType"="xterm-256color""TerminalSpeed"="38400,38400""TerminalModes"="INTR=A,QUIT=A,ERASE=A,KILL=A,EOF=A,EOL=A,EOL2=A,START=A,STOP=A,SUSP=A,DSUSP=A,REPRINT=A,WERASE=A,LNEXT=A,FLUSH=A,SWTCH=A,STATUS=A,DISCARD=A,IGNPAR=A,PARMRK=A,INPCK=A,ISTRIP=A,INLCR=A,IGNCR=A,ICRNL=A,IUCLC=A,IXON=A,IXANY=A,IXOFF=A,IMAXBEL=A,ISIG=A,ICANON=A,XCASE=A,ECHO=A,ECHOE=A,ECHOK=A,ECHONL=A,NOFLSH=A,TOSTOP=A,IEXTEN=A,ECHOCTL=A,ECHOKE=A,PENDIN=A,OPOST=A,OLCUC=A,ONLCR=A,OCRNL=A,ONOCR=A,ONLRET=A,CS7=A,CS8=A,PARENB=A,PARODD=A,""AddressFamily"=dword:00000000"ProxyExcludeList"="""ProxyDNS"=dword:00000001"ProxyLocalhost"=dword:00000000"ProxyMethod"=dword:00000000"ProxyHost"="proxy""ProxyPort"=dword:00000050"ProxyUsername"="""ProxyPassword"="""ProxyTelnetCommand"="connect %host %port\\n""Environment"="""UserName"="""UserNameFromEnvironment"=dword:00000000"LocalUserName"="""NoPTY"=dword:00000000"Compression"=dword:00000000"TryAgent"=dword:00000001"AgentFwd"=dword:00000000"GssapiFwd"=dword:00000000"ChangeUsername"=dword:00000000"Cipher"="aes,blowfish,3des,WARN,arcfour,des""KEX"="dh-gex-sha1,dh-group14-sha1,dh-group1-sha1,rsa,WARN""RekeyTime"=dword:0000003c"RekeyBytes"="1G""SshNoAuth"=dword:00000000"SshBanner"=dword:00000001"AuthTIS"=dword:00000000"AuthKI"=dword:00000001"AuthGSSAPI"=dword:00000001"GSSLibs"="gssapi32,sspi,custom""GSSCustom"="""SshNoShell"=dword:00000000"SshProt"=dword:00000002"LogHost"="""SSH2DES"=dword:00000000"PublicKeyFile"="""RemoteCommand"="""RFCEnviron"=dword:00000000"PassiveTelnet"=dword:00000000"BackspaceIsDelete"=dword:00000001"RXVTHomeEnd"=dword:00000000"LinuxFunctionKeys"=dword:00000000"NoApplicationKeys"=dword:00000000"NoApplicationCursors"=dword:00000000"NoMouseReporting"=dword:00000000"NoRemoteResize"=dword:00000000"NoAltScreen"=dword:00000000"NoRemoteWinTitle"=dword:00000000"RemoteQTitleAction"=dword:00000001"NoDBackspace"=dword:00000000"NoRemoteCharset"=dword:00000000"ApplicationCursorKeys"=dword:00000000"ApplicationKeypad"=dword:00000000"NetHackKeypad"=dword:00000000"AltF4"=dword:00000001"AltSpace"=dword:00000001"AltOnly"=dword:00000000"ComposeKey"=dword:00000000"CtrlAltKeys"=dword:00000001"TelnetKey"=dword:00000000"TelnetRet"=dword:00000001"LocalEcho"=dword:00000002"LocalEdit"=dword:00000002"Answerback"="PuTTY""AlwaysOnTop"=dword:00000000"FullScreenOnAltEnter"=dword:00000000"HideMousePtr"=dword:00000000"SunkenEdge"=dword:00000000"WindowBorder"=dword:00000001"CurType"=dword:00000000"BlinkCur"=dword:00000000"Beep"=dword:00000001"BeepInd"=dword:00000000"BellWaveFile"="""BellOverload"=dword:00000001"BellOverloadN"=dword:00000005"BellOverloadT"=dword:000007d0"BellOverloadS"=dword:00001388"ScrollbackLines"=dword:000000c8"DECOriginMode"=dword:00000000"AutoWrapMode"=dword:00000001"LFImpliesCR"=dword:00000000"CRImpliesLF"=dword:00000000"DisableArabicShaping"=dword:00000000"DisableBidi"=dword:00000000"WinNameAlways"=dword:00000001"WinTitle"="""TermWidth"=dword:00000050"TermHeight"=dword:00000018"Font"="Consolas""FontIsBold"=dword:00000000"FontCharSet"=dword:00000000"FontHeight"=dword:0000000c"FontQuality"=dword:00000003"FontVTMode"=dword:00000004"UseSystemColours"=dword:00000000"TryPalette"=dword:00000000"ANSIColour"=dword:00000001"Xterm256Colour"=dword:00000001"BoldAsColour"=dword:00000001"Colour0"="15,15,15""Colour1"="0,0,0""Colour2"="251,251,251""Colour3"="255,255,255""Colour4"="0,0,0""Colour5"="0,255,0""Colour6"="0,0,0""Colour7"="85,85,85""Colour8"="102,0,0""Colour9"="136,0,0""Colour10"="0,102,0""Colour11"="0,136,0""Colour12"="102,102,0""Colour13"="136,136,0""Colour14"="0,0,136""Colour15"="0,0,136""Colour16"="102,0,102""Colour17"="136,0,136""Colour18"="0,102,102""Colour19"="0,136,136""Colour20"="187,187,187""Colour21"="255,255,255""RawCNP"=dword:00000000"PasteRTF"=dword:00000000"MouseIsXterm"=dword:00000000"RectSelect"=dword:00000000"MouseOverride"=dword:00000001"Wordness0"="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0""Wordness32"="0,1,2,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1""Wordness64"="1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,2""Wordness96"="1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1""Wordness128"="1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1""Wordness160"="1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1""Wordness192"="2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2""Wordness224"="2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2""LineCodePage"="UTF-8""CJKAmbigWide"=dword:00000000"UTF8Override"=dword:00000001"Printer"="""CapsLockCyr"=dword:00000000"ScrollBar"=dword:00000001"ScrollBarFullScreen"=dword:00000000"ScrollOnKey"=dword:00000000"ScrollOnDisp"=dword:00000001"EraseToScrollback"=dword:00000001"LockSize"=dword:00000000"BCE"=dword:00000001"BlinkText"=dword:00000000"X11Forward"=dword:00000000"X11Display"="""X11AuthType"=dword:00000001"X11AuthFile"="""LocalPortAcceptAll"=dword:00000000"RemotePortAcceptAll"=dword:00000000"PortForwardings"="""BugIgnore1"=dword:00000000"BugPlainPW1"=dword:00000000"BugRSA1"=dword:00000000"BugIgnore2"=dword:00000000"BugHMAC2"=dword:00000000"BugDeriveKey2"=dword:00000000"BugRSAPad2"=dword:00000000"BugPKSessID2"=dword:00000000"BugRekey2"=dword:00000000"BugMaxPkt2"=dword:00000000"StampUtmp"=dword:00000001"LoginShell"=dword:00000001"ScrollbarOnLeft"=dword:00000000"BoldFont"="""BoldFontIsBold"=dword:0018ff78"BoldFontCharSet"=dword:0041c885"BoldFontHeight"=dword:77a671d5"WideFont"="""WideFontIsBold"=dword:0018faf0"WideFontCharSet"=dword:0018ff78"WideFontHeight"=dword:77a23cc3"WideBoldFont"="""WideBoldFontIsBold"=dword:000003f8"WideBoldFontCharSet"=dword:0018faf0"WideBoldFontHeight"=dword:0100c8a5"ShadowBold"=dword:00000000"ShadowBoldOffset"=dword:00000001"SerialLine"="COM1""SerialSpeed"=dword:00002580"SerialDataBits"=dword:00000008"SerialStopHalfbits"=dword:00000002"SerialParity"=dword:00000000"SerialFlowControl"=dword:00000001"WindowClass"=""