You can never have too much screen real-estate... I upgraded the display on my Lenovo Thinkpad T510 from 1600 x 900 pixels to a display with 1920 x 1080 pixels. The larger screen was not available when I originally purchase the laptop. Specs: Intel i7, 8GB RAM, nVidia Graphics, 2 x 500GB 7200rpm Disks, shiny new HD display.
Surprisingly, this was much simpler than I imagined. I could have done the entire thing with only removing 6 screws: 2 on the external screen bezel, and 4 holding the panel in place.
defconx
Friday, September 10, 2010
Wednesday, December 09, 2009
Wednesday, April 08, 2009
The MS Windows CMD.EXE and Console 2
I like using Windows. I have been on it for a long time now. I have probably used every flavor since Windows 3.1. It is very familiar and comfortable, I know how to do things and do them quickly and efficiently. I have tried to switch to Macs a couple times, but I got frustrated because I knew that I should be able to do something, but I didn’t know how to accomplish it under OS X.
I am also a big fan of Linux. I started off on Slackware loaded from CD’s, switched over to Redhat at 4.2 and now dabble with new releases of Ubuntu and Fedora. I lot of the work I do professionally involves being very comfortable and proficient within a text based only Unix / Linux environment. I have grown very accustomed to navigating around and getting things done from the command line. As a matter of fact, in most circumstances I prefer it to a GUI. If you ever see me at work, I am usually navigating my Windows machine via a Command Prompt. Try this shortcut out for fun if you don’t believe how efficient it can be:
So, that is why I like the efficiency of the Command Prompt. Your fingers start to memorize what you want to do very quickly. However, I have always been a little bit frustrated that the Microsoft Command Prompt did not have the ability to dynamically expand similar to a Unix X Windows Terminal. You can set it’s dimensions, but once that is done, if you make the window smaller, the window starts getting horizontal and vertical scrollbars but doesn’t really change the number of rows and columns that are output.
Recently I came across a great program the solves this problem for me. The name of the program is called Console. I am currently using the beta version of Console 2. It is hosted on SourceForge at http://console.sourceforge.net/.
Console does not replace or emulate the MS Command Window, it simply wraps it, however it allows you to dynamically resize your DOS window, both horizontally and vertically. It also has the following features:
I may also want to compile my java program by typing:

Java related programs always have expect these well known variables to be set. For a single project you may have to set JAVA_HOME, TOMCAT_HOME, CATALINA_HOME, M2_HOME, ANT_HOME, etc.
As I stated earlier what if each project required a different version of these?
What I have used in the past is create bat (batch) scripts that set my different environment variables, depending on the project I was working on. I would start a Command Window and then run a batch script that will set all of these variables for me.
With Console, I can set up a custom tab using the Settings dialog box. Within that, I can define a working directory, as well as the “Shell Command” I want to run. Since Console simply wraps the CMD.EXE Command prompt provided by Windows, I set up the Tab to launch a CMD window, and then run my batch file within it. That set me up with the exact environment I need for that session of programming. When you define a custom tab, you also assign it a name. Now here is where the icing goes onto the cake. Command can be launched with parameters, that is, you can pass it additional information when you start it. One of the switches allows you to tell Command which tab to open when it launches. I could open a standards Windows Command prompt and type:
I can then create a shortcut on my Windows desktop which calls Console with the exact command I would type at the Command prompt. So I double click my shortcut icon and I am up and running! I can create a shortcut for as many custom environments as I need.
The results of our labor. Clicking on the shortcut shows Console running our custom environment:

Opening a second Custom Tab in Console:
The Output. A Standard CMS window in Tab 1 and the java devshell in Tab 2.
Also, not the custom Java icon I was able to use on the tab. This is selectable in the Tabs section of Console’s configuration.
I am also a big fan of Linux. I started off on Slackware loaded from CD’s, switched over to Redhat at 4.2 and now dabble with new releases of Ubuntu and Fedora. I lot of the work I do professionally involves being very comfortable and proficient within a text based only Unix / Linux environment. I have grown very accustomed to navigating around and getting things done from the command line. As a matter of fact, in most circumstances I prefer it to a GUI. If you ever see me at work, I am usually navigating my Windows machine via a Command Prompt. Try this shortcut out for fun if you don’t believe how efficient it can be:
- Hold down the [Windows Key] and press R
- In the Open Dialog Box, type: cmd and press the [Enter] key
- In the Command Window at the prompt, type: cd %HOME%
- Now, type: start . and press the [Enter] key (that is start <space> <period>)
- Go back to your Command Window
- Type: start c:\Progra (don’t hit Enter yet)
- Press the [Tab] key – this is called “Command Completion”
- Your Command Prompt should now look like this: c:\>start "c:\Program Files"
- Now, press [Enter]
- Presto! You should now be looking at Windows Explorer showing the contents of your “Program Files” directory
So, that is why I like the efficiency of the Command Prompt. Your fingers start to memorize what you want to do very quickly. However, I have always been a little bit frustrated that the Microsoft Command Prompt did not have the ability to dynamically expand similar to a Unix X Windows Terminal. You can set it’s dimensions, but once that is done, if you make the window smaller, the window starts getting horizontal and vertical scrollbars but doesn’t really change the number of rows and columns that are output.
Recently I came across a great program the solves this problem for me. The name of the program is called Console. I am currently using the beta version of Console 2. It is hosted on SourceForge at http://console.sourceforge.net/.
Console does not replace or emulate the MS Command Window, it simply wraps it, however it allows you to dynamically resize your DOS window, both horizontally and vertically. It also has the following features:
- Transparency setting for when it is focused and not focused
- Tabs
- Tab Renaming
- Tab Profiles
- Hotkeys
- and many other customizations
c:\>set JAVA_HOME=c:\opt\java\jdk1.6.0I could then type
c:\>cd %JAVA_HOME%I will then be in the the directory: c:\opt\java\jdk1.6.0
I may also want to compile my java program by typing:
c:\>%JAVA_HOME%\bin\javac HelloWorld.javaThe is a little easier than typing:
c:\>c:\opt\java\jdk1.6.0\bin\javac HelloWorld.java
Java related programs always have expect these well known variables to be set. For a single project you may have to set JAVA_HOME, TOMCAT_HOME, CATALINA_HOME, M2_HOME, ANT_HOME, etc.
As I stated earlier what if each project required a different version of these?
What I have used in the past is create bat (batch) scripts that set my different environment variables, depending on the project I was working on. I would start a Command Window and then run a batch script that will set all of these variables for me.
With Console, I can set up a custom tab using the Settings dialog box. Within that, I can define a working directory, as well as the “Shell Command” I want to run. Since Console simply wraps the CMD.EXE Command prompt provided by Windows, I set up the Tab to launch a CMD window, and then run my batch file within it. That set me up with the exact environment I need for that session of programming. When you define a custom tab, you also assign it a name. Now here is where the icing goes onto the cake. Command can be launched with parameters, that is, you can pass it additional information when you start it. One of the switches allows you to tell Command which tab to open when it launches. I could open a standards Windows Command prompt and type:
C:\opt\Console2\Console.exe -t "java devshell"The –t instructs Console to open a custom tab, in this case “java devshell”. Now remember, when I defined that custom tab, I actually told Console to run the script to set all of my custom environmental variables for me.
The results of our labor. Clicking on the shortcut shows Console running our custom environment:
Opening a second Custom Tab in Console:
The Output. A Standard CMS window in Tab 1 and the java devshell in Tab 2.
Also, not the custom Java icon I was able to use on the tab. This is selectable in the Tabs section of Console’s configuration.
Monday, December 24, 2007
Sunday, December 16, 2007
Saturday, December 15, 2007
Sunday, December 09, 2007
CNN: Commodore 64 still loved after all these years
Great article about the Commodore64 on CNN 'Your Digital World'.
C64 Still Loved After all these Years
C64 Still Loved After all these Years
Sunday, November 04, 2007
Subscribe to:
Posts (Atom)