Friday, February 26, 2010

Password Character usage in TextBox

So you already recognized the new Windows feature for showing the password of a WLAN? A student asked me, how to do that. So here is the tutorial. “How to set and reset a password character in a textbox via C#”

password

So this is the screen hiding the Password by a Password Character. The Picture below shows you the same with unhidden Password.

passwordshow

The question is how did they do that. So let’s start with a quick tutorial.

I created a new Windows Form Project. And put a Textbox named “txtPassword” and a Checkbox with the name “checkPassword”. So the solution should look like this.

pwform

Switch to the Code Window. I like to create a Method to initialize Controls. So this is how this should look like.

public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            InitializeControls();
        }

        private void InitializeControls()
        {
            checkPassword.Checked = false;
            txtPassword.PasswordChar = '●';
        }
    }

So how do you get the character for the Textbox? In Windows you can find the Character Map by Windows –> All Programs –> Accessories –> System Tools –> Character Map.

charmap

Select the character you want. Copy it and set the Textbox PasswordChar Property to that character. The next step is to create a new Event Handler for the checkbox CheckedChange event. The code should look like this.

        private void checkPassword_CheckedChanged(object sender, EventArgs e)
        {
            txtPassword.PasswordChar = checkPassword.Checked ? '\0' : '●';
        }

The idea of resetting the character map is to use the empty character symbol which is presented by ‘/0’. You recognized that i like to use the conditional operator instead of the if-else. Immo would say: “Why did you that way, because you can?” The if else way would look like this.

        private void checkPassword_CheckedChanged(object sender, EventArgs e)
        {
            if (checkPassword.Checked)
                txtPassword.PasswordChar = '\0';
            else
                txtPassword.PasswordChar = '●';
        }

The complete code should look like this. Now it’s time to run the our program. Everything should work fine now. Here is the complete code.

using System.Windows.Forms;

namespace Password
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            InitializeControls();
        }

        private void InitializeControls()
        {
            checkPassword.Checked = false;
            txtPassword.PasswordChar = '●';
        }

        private void checkPassword_CheckedChanged(object sender, EventArgs e)
        {
            txtPassword.PasswordChar = checkPassword.Checked ? '\0' : '●';
        }
    }
}
Hope this was helpful.

Thursday, February 25, 2010

Wish Managers would sometimes be more like Developers.

I recently heard a citation somewhere on television. So i remembered a poem i read earlier in my school day’s. The title is “Stopping by Woods on a Snowy Evening” written by Robert Frost in 1922.

Whose woods these are I think I know.

His house is in the village, though;

He will not see me stopping here

To watch his woods fill up with snow.

My little horse must think it queer

To stop without a farmhouse near

Between the woods and frozen lake

The darkest evening of the year.

He gives his harness bells a shake

To ask if there is some mistake.

The only other sound's the sweep

Of easy wind and downy flake.

The woods are lovely, dark, and deep,

But I have promises to keep,

And miles to go before I sleep,

And miles to go before I sleep.

In the past few years i heard so many promises from managers and marketing managers. Wish they first of all would think and then talk. The most time of the year they make promises they are not able to keep. And the only thing they are going to do is talk. A Developer is much more reliable when it comes to promises. First of all developers don’t like to promise something. But if they do, they are committing a 100% to that promise. Sometimes they make lame excuses and tries to explain their situation. But most of the time, they keep promises. That’s why i like scrum. Everyone is committing to a backlog, work item, …. I guess a lot of German Managers are not compatible to scrum. But why?

1st: Germans like to think in hierarchies

That’s so military like. And so German. They only think about how to become one step higher and how and what things will bring them to a higher position or propose in life. My Manager has a Manager which has a Manager somewhere. That’s so not agile because it brings us to the second thing.

2nd: The Plan

Everything is planed, from the 18th – 64th year of life. They plan, and fall in a deep hole if one of their Milestones in life or work life is not coming true. That makes people depressive and the higher their aims the deeper they fall. Happiness is not possible in this scenario. And it’s not planned.

3th: The Talking factor

Most people like to talk. They talk about anything and most of the time they really like to hear themselves talking. So I know the job of a good Manager is talk and motivate people. Problem is, sometimes they talk too much and say too less. And when they make a promise in the talk they can’t remember. I hate that kind of people. I really do. But since this are the people giving me money, what should i do?

So you may suggest but you’re a Program Manager so why do you talk like this about yourself? Well i always try to keep my commitments. Sometimes I can’t and I hate myself for this. But I cant keep them because anyone else I trusted didn’t kept it’s promise to me. So I can’t keep my promises. So this is a “if-else” relation.

And that brings me to risk management in Projects and when you plan a business or just have a meeting. You are as aware as i that the sentence - “Trust nobody!” - maybe right or not, but think about the consequences. Since quitting is out of the question. What if a promises isn’t kept. In your hole plan or backlog or concept. Always think about the else. I know the most of you’re time you are thinking about the if and how to get there, and what you must do. But also think about the “else”. Make at least one fallback plan. Just the idea of a sleepless guy lost in meetings and C#.

Go for gold Kathy!

Since I'm a big fan of alpine skiing i watched the ladies giant slalom competition yesterday. Well the weather was bad, and the start position of the german team was not the best. 42832-hoelzlAnd the Austrian ski team rocked the challenge. So what can i do to support the German Ski team, especially Kathrin Hölzel the World Champion of Giant Slalom. I really keep my fingers crossed for them and wish them all the best for the things to come in the second run today. Which was rescheduled due to bad weather. Lindsey Vonn was injured by a accident in the first run, so i wish her all the best and get well soon. But how can i sent the team a message? Well i guess i found a solution.

On the Webpage Vectorial Elavation you can design the sky over Vancouver. A grid of sky beamers makes this possible. You can design 20 Syncrolite SX10K, a new generation 10kW xenon robotic fixtures that produce a very collimated light beam showing your design for almost 12 seconds. The Webpage is done by bunch of JavaScript's and a implementation of Google’s Maps and Google World. So the designing process is very easy. Even if not any design you can imagine is possible. But with enough time, you can draw very cool pictures in the nightlight of Vancouver. So start the Design:

goforgold

After you finished the design, you can leave a Message and your contact information, so the system can inform you about you’re design. Go-for-Fold

The Laser Show in Vancouver is cool. The best thing is the feed where you get information about the Skyimages and the Message to each image. The Application coordinates some webcams which takes picture of it, and render them to a site you can reach via a feed or directly via a url. Go for Gold Kathy! The question remaining is how the searchlights are coordinated. A 3D DMX application brings the 20 sky beamers in the position you want. Here is a full picture of the architecture.

dataflow You can find more information about the PHP Website the 3D DMX application and the Webcams here.

Here is the result of my Design!

16741-E 16741-A1

16741-F

16741-B1

16741-G

16741-C1

16741-H

16741-D1

So i designed the sky over Vancouver on 25th of February 2010 at 4:55.

Security at it’s best!

Ok, so I am not one of this security gurus. But since i develop software and also work a lot with the Microsoft dotnet Code Access Security (CAS) I’m always interested in funny security stuff. A friend of mine sent me an email. Of a University of Applied Science somewhere in Germany. They did a new Network Tutorial for students to connect with the Mail and Intranet. On page 7 you can read the following:

servercert

So what that means is, that the Browser can’t evaluate the Certificate. The solution for this problem is to continue anyway, or look closer to the certificate because the signing authority is the university it self. Therefore it’s trusted. So this is a daily WTF for me. It’s almost 2 Lines of code to create that certificate. What is the idea of this? Safe money for a trustworthy certificate? Safe time to create a free trustworthy certificate? The result is a secure communication which is as safe as writing down the pin of your credit card on it’s back. Yes, they really know what they're doing. NOT! Best thing about this story is, they offer courses like Bachelor of Computer Science and Business as well as Bachelor of Art in Computer Communications. Since we all know that Art is a very subjective thing, i agree with there decision.     

Sunday, February 21, 2010

Joshua? Are you out there?

Ok, safety is something really subjective. I already backbite about the new Windows Mobile Operating System and the iPhone as well. Both are very restrictive. So you may think your little cute mobile computer is safe. That's just not true. Since they are little communication wonders. They are communicating with anyone and anything. So the U.S. Government did this great and wonderful show last week called: cyber.shockwave

Oh my good, i need a TrendMicro Firewall on my Cellphone, now! It was a great event dealing with good old cold war fears. Does this people really think the next generation war which they mentioned is cyber-war is coming from the well known enemies. I have the hunch that this is just not true. Since they are already part of the system. Any country, and i really mean any, can force a crash down of the systems with a few people. All you need are a handful very good people knowing what they are doing. Guess what, i don’t think a Antivirus or Firewall for your Smartphone can stop this. Firewalls and Antivirus can just stop script kiddies, Spyware and Hoax. Real Hackers are still the genius guys doing social engineering, rootkits and so on. The real thing about this story is: “We are just not prepared.” I have the subjective feeling that if a cyber.shockwave hits us by tomorrow, we are in serious trouble. Problem is to identify the bad guys. Which leads me to another point. Did you know that there are maps about almost any country with any possible WLAN. And did you know that it just takes 7 sec. with Backtrack on a floppy, USB Stick or CD-ROM to get a WEP WLAN-Key. And guess what this maps have a detailed GPS coordinate and the WLAN keys. Because guys drive with there car through the streets an checking for active WLANs and hacking them while they are passing by. So where is Joshua? War Games – is telling us that story since the mid 80’s. The only difference is, that the enemy is the computer itself. Other countries are more prepared for a cyber.shokwave to hit the ground. China and Taiwan are battling against each other for a few years now. In a total cyber war. Our countries are telling us to take control over our personal information to protect us. And to stop terrorism. What? The more information they have, the easier it is for a potential aggressors to get the things they need to start the wave. I’m seeing a bright feature.

Can you imagine a cell of 24 hackers having enough time to do that. I can imagine many scenarios.

Friday, February 19, 2010

Visual Studio 2010 RC1, Windows 7 – I’m so happy now! – Part One Windows 7

Preface

Ok, a lot of you guys asked me in my talks and sessions, you said VS 2010 is slow and bad. Looks like somebody is reading my Blog. And the “Missing Features” is well known i guess. So first of all. I have a lot of Microsoft products i really don’t like. Outlook for example is hate-love relation. It’s slow, the UI is ok, the features even more. But guys the sorting is a mess. And the best thing is the error handling. Well Windows 7 says i have no internet connection right now, but i’m outlook i bet i can find one! No you’re not. But hey why not suspending and slowing down the system. This is just one of the problems you have if you work with outlook on a daily basis.

And once up on a time there was this browser. What was his name? Internet Explorer. Why does people don’t like him. I like him! Yes for sure as a user it’s not as friendly as you might expect. But as a developer. It’s the best Browser in the market. Mozilla for a Developer is a mess. Sorry guy, I’m not able to render your CSS even if it is standard why should i as freeware care about it. Chrome is reading my profile and safari is Netscape 1.0. So i choose a mix of browsers. IE for the work. Since they releasing security Updates fast, and i can debug webservices and applications. And yes Fiddler is the best. And i use Mozilla for downloading stuff and browsing on sites no one should browse after all. Why do i use Mozilla for that sites. Best thing on Mozilla is. Even if you activate the Javascript and Flash and … shit. The most webdeveloperkids are making mistakes. While IE is running it, and try to fix the errors. Mozilla is not running the scripts. I deactivated all the scripts. So i have a robust Browser. And only the Scripts i really care about are allowed to run. That makes Mozilla my number one browser for bad or evil sites. I suggest you guys try that way. Work with IE, browse with Mozilla. Oh, and then we have this new Windows Mobile. I’m so glad I'm not a Windows Mobile Developer! Ha, ha! And i thought the Apple iPhone Objective C is the most restricted and most stupid solution you can find on the market. Microsoft reacted on it and say: “We can do this crap, too!”. Looks like both want to clear the way up for Google.     

169657118_934780c2df

There are many people out there which hates Windows Vista. I can understand them. But as a developer i was so glad to get it. The Error Handling and reporting, the UAC, …. I know a lot of guys blame Microsoft for reasons like: “it’s to slow”, “the Hardware prerequisites” – and the list goes on and on. But i really used to like Vista.

Part One – Windows

And Windows 7, it was love from the early Alpha. It’s fast, performing and even faster. Yes there are some issues with drivers of people how really thought they can install a Windows XP 32 Bit driver on a Windows 7 64 Bit Version. But this is a PEBKAC problem. And yes sometimes in companies you have problems with file handling if you run Windows 7 and a Windows 2003 Server. But there are Updates for Server 2003. Using Windows Server 2008 R2, i had no problems with the network stack in the past years working with Windows 7 since the early preview bits. So i love Windows 7. Please do not make a Windows 8. Leave us alone with 7 :-). Yes, from a computer scientist perspective there are a lot of things to burden about 7. In a perfect world i would still prefer SOLARIS in a Terminal – Client manner “Ray 1”. But hey, we’re just not living in a perfect world. So Windows it is.

You have to know how to handle the cute Windows. BSG Admiral Cain: A philosopher once said:

When faced with untenable alternatives, you should consider your imperative.”

So here is how i use Windows 7.

Keyboard Shortcuts

imageWindows + P
I have a lot of presentations to make. So the Presentation mode of Windows Seven is for me is one of the coolest Features. It’s a faster way then handling it via Windows + X for the mobile settings. And thanks to Windows + and Windows – i don’t have to use ZoomIt any more.

imageOk a lot of you guys use the Windows + E to get to the Explorer. But there are still a few things how you can get the best out of it. Here are some features you should turn on if you are a Pro on working with Windows.

Goto –> Explorer –> Organize –> Folder and search options –> View. Uncheck the:  “Hide extensions for known file types” and  check the “Use check boxes to select items”. These two options allows you to first display the file extensions. The second option you just activated allows you to easily select files by checking and unchecking them. In combination with STRG + A for select all, or SHIF + Mouse selection this is a very useful tip.

image  Since i don’t want to wait until the explorer shows me all the files, i really like the Windows + R

image

I prefer that way of running some Applications and navigate to Folders, since i think the Windows Search is to slow for me. I often tend to browse through special folders via Command Shell which i also start via the Windows + R.

Ok when it comes to the Windows you all be familiar with Windows + Left and Right Keys to dock the Windows to the Left or right corner on Notebooks or sending them to different monitors on a multi monitor environment. The docking thing is cool stuff. And shaking the Windows is also a good tip for users with multitouch or touch screens. But how can you get rid of the Windows on your Desktop. Ok you can click on the Button on the very right corner of the Taskbar. Or you can press Windows + D to Minimize all Windows. If you want to simply undock a Window you can do that by clicking on STRG + double-click. 

image

And i just want to mention the Windows + UP and Windows + Down Shortcuts where you can maximize or minimize Windows and Dock them on the hole active screen. Another create Shortcut is the Windows + T, with this you can cycle through the apps and Windows + Shift + T you can cycle back in your Taskbar. And With Windows + Number you can start the Applications. In my Setting Windows + 1 will start IE and Windows + 2 Will start Explorer and so on. And there are two more keyboard shortcut i use often. Windows + Pause to get the properties information about a computer. And the last one is Windows + L to lock a computer.

More Keyboard Shortcuts….

Ok since i don’t care much about Gadgets and all that Design stuff i just want to point at the new Themes you can download or create for yourself. Here you go …

So i use currently a lot of Microsoft Tools to optimize my Windows behavior. Two tools i really suggest to all of you are Autoruns and ProcessExplorer.

Autoruns – optimize startup

With this little app by Mark Russinovich you can detect software which runs when you start your computer.     

image

Since you can harm your computer you should just use Logon Tab and IE Tab when you’re not familiar with Windows. You can deactivate a program or delete it from the startup. Especially helpful for applications like Skype and browser toolbars.

Process Explorer the better Task Manager

image There is so much i can tell you about Process Explorer and why it is the better Task manager. So i would suggest you read the articles about it or watch the webcasts.

This is just a sneak peak overview of Windows 7 focusing on users interaction. I could tell you more about the sensor kit or the new managed code wrapper in the windows 7 SDK. And the multitouch support.

Part Two will be about Visual Studio 2010  

creative coding or generative design

tree

In the past few years, with all the cgi trends it turns out that computer graphics are just becoming started. ICE Age, Madagascar and Avatar shows what super computers can render if you have enough processors and time. But there is another trend. It’s called creative coding or generative design. There are just a few implementations yet. But the results are pretty cool. My tree is just a few lines of code and represents a binary tree. And yes it’s not that amazing graphic work. The IDE called Processing, and the Language is Java. The application by the MIT is a simple to use IDE and rendering engine. I couldn’t find any C# implementation yet. But maybe in the future there will also be a C# app rendering in WPF available. You may ask, why is this so cool. So i just wanted to show you a few graphics done with that software.

3291287830_287591aace_b

This is a image rendering the most famous organizations and people from the year 1985 – 2009. The code is done by Jer Thorp via the New York Times API and JSON. So i guess you get an good idea of what is possible with that software. I found another two projects you should have a closer look at.

img_6   telekom_4b

Isn’t that great stuff? If only i have more time, and somebody would pay me for that. That would be cool. :-)
Guess what i think there will be more posts on this topic here.

Wednesday, February 10, 2010

Language Integrated Query (Linq) Session @ HM

Ok, seems like i always get the talks nobody else want to have. Mh, what can i say about Linq? Well i tend to tell the people how things work. But explaining how they build Linq is a hell of hack. Yes i can tell them about “computable functions” or let’s define better “higher-order functions”. WTF? So where to start? Functional Programming? Or maybe the Lambda calculus? Well i don’t think so. And reading the the Paper? “Can Programming Be Liberated from the von Neumann Style? A Functional Style and Its Algebra of Programs” written by John Backus at the IBM Research Laboratory, San Jose. Is this the start for my Session?

I often come to the conclusion people don’t want to know anything. Like in the movie “The Island” where McCord says: “Just cause people wanna eat the burger doesn't mean they wanna meet the cow.” And talking to students @ University of Applied Sciences Munich is always a pleasure. Give them a ball, and let them run with it. You’ll be amazed by the things they will come back with.

So, decided - i show the Technology and explain it step by step. Perhaps they will surprise me again.

So showing how to work with Linq, you can find so many solutions …

  • Perhaps you start with reading?

Linq start Webpage @ Microsoft
Thank you Charlie, again!

  • Or maybe you want to check out some Webcasts?

MSDN Webcast: Introduction to Microsoft .NET Language Integrated Query
and even more Linq Webcasts …

  • i for myself prefer the code:

So one step could be Open Visual Studio –> Help –> Samples –> local Sample folder –> CSahrpSamples.zip –> Linq Samples
or direct via C:\Program Files\Microsoft Visual Studio 10.0\Samples\1033

another way of learning by code start here … CodeProject … or look closer to Charlie’s Blog.

And yes, there are Books to:

Introducing Microsoft LINQ
byPaolo Pialorsi and Marco Russo
Microsoft Press 2007 (240 pages)
ISBN:9780735623910

Save the money, give it to me. :-) The book is not as good as his title promises. Since it’s the only one i read about this topic, i can’t tell much about others.

So i finally mixed up this things with an early preview of Anders Hejlsberg and came to this solution.

The Presentation stuff:

Luca Bolognese introduces Linq always by saying developers != plumper's. What that means is, like any other O/R Mapper Linq to SQL is doing the Mapping of SQL data - Types to you’re development data – Types. Well i prefer to introduce Linq by first of all telling the folks about Duck typing.

duck     

What you can do with Duck typing is you can use a shorter way to define your variables. Instead of using something like

   1:  int i = 10;

you can do the same thing by typing

   1:  var i = 10;

Ok, that however doesn’t means that it is a non strictly typed variable. Since the compiler understands that 10 is a integer value. Where is the duck? Well the duck means – it smells like a duck, it looks like a duck, it even acts like a duck ==> so it must be a duck.

Sine 10 is obviously a integer value C# knows that and using the best fitting data type which is int. Well you may argue: “Where is the benefit?”. There are 2 profits of Duck typing. The first one is easy to explain. Think of declaring a variable of a class or .net Type like 

System.Security.Cryptography.ManifestSignatureInformationCollection collection = new ManifestSignatureInformationCollection();

ok, don’t you think that this is a very long way telling the compiler what you mean. A shorter way would be:

var collection = new ManifestSignatureInformationCollection();

I personally like that profit. Using the var when you declare a string, int, … i personally don’t like that way. It makes the code a little bit harder to understand. Because i don’t see it on the first look, what the code is trying to tell me. I have to think a second about it. Ok it’s just a second but it’s still a second.

The other benefit is by using Linq. You really don’t have to think about the result you get back from your query. Telling about queries it’s time to talk about Linq in general.

With Linq you be able to query against anything which implements IEnumerable. Since any Object and data type in dotnet is using this Interface you be able to query against it.

Another aspect on Linq is that you can query against wrappers for databases, XML files and a lot of other implantations.

Now comes the part to explain Lambda expressions and the query style. 1st against Objects, 2nd against the O/R Mapper and 3rd against XML.

Since this blog post already a bit long and i don’t want to bore you any further here are coming the links. Tada…

So here you can find the empty Demo Project.

And here you can find the solved Demo Project.

Last but at always not least, the presentation.

So one good suggestion i can give you, think twice before you use “Linq to SQL”. Don’t think twice if you use Datasets. I have the hunch that Datasets are the hypocrite of death (memory). RAM Footprints, Race conditions, bad performance … are just a view results of using Datasets. “Linq to SQL” instead is a O/R Mapper. It helps a lot and brings performance to your design time. But performance and persistence problems at runtime could occur. If you have a performance critic solution, don’t touch “Linq to SQL”. And using the Entity Framework which means ADO.net makes it worse. Do it by hand - is the only way. Use stored procedures and let the databases do the things they are made for. Yes you can use stored procedures and that stuff in Linq too. But how do you get rid of the caching, the overcharged objects and the heavy memory usage of “Linq to SQL”?         

Visual Studio – Tips & Tricks 2010 @ HM

Ok, i had this Session on 11th February 2010 @ University of Applied Sciences Munich. Since i do that session for many years now, it’s a bit freaky that every time i tell new things. But Visual Studio offers a bunch of tools and features you can use to improve and customize you’re environment the way you like.

Here are some links to other tracks and and a few other tips & tricks i didn’t show at all.

Karen Liu, Lead Program Manager Visual Studio IDE

Dirk Primps, Developer Evangelist

You can download my Presentation right here.

And also the full Demo’s i showed could be found here.

Last but not least the Poster.

Thanks to the speakers above.

Saturday, February 6, 2010

Windows 7 – God mode

A few days ago i get an email containing the following text:

  • Create a new folder anywhere
  • Name it: GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
  • Open it

Ok, i did it. And wow! That’s a very useful tip. Try it out!

Godmode

Joshua W.O.P.R. rules!

Ok, since i’m a really big Fan of the good old day’s where you need nothing but a telephone and a computer, to shock the world. Here comes how you can modify your Windows x.x even Vista and 7 to be more Joshua like.

Question? How to make the cmd look like joshua in wargames the movie? – Greetings Prof. Falken …

So first of all Type [WIN] + R and goto the C:\Windows\System32 folder. Yes you can do that via the Windows Explorer too. If you don’t like the fast way. 

Congratulations the hardest thing is done.

Now search for cmd.exe. If you found it just simple start it. No, you can not do that via bubble cmd start.

So now that we come so far open the context menu by clicking on the top window border and go to Properties –> Colors.

It should like this:

joshua

Notice that you set the color background color to black and the screen text to R: 148 G: 170 B: 214. Close and try you’re new color from Windows bubble –> type: cmd –> hit enter

Ok we are almost done. Again [WIN]+R or now you can use the Windows bubble and type: “regedit” hit Enter.

Yes we are in the Windows Registry, no fear there is nothing you can harm if you follow the next Steps. Or you create a Backup!

Creating a Backup:

  1. Locate and then click the root subkey that contains all the child subkeys and values that you want to back up.
  2. On the File menu, click Export.
  3. In the Save in box, select a location where you want to save the Registration Entries (.reg) file, type a file name in the File name box, and then click Save.

We continue by browsing to:

HKEY_LOCAL_MACHINE –> SYSTEM –> Current_Control_Set –> Control –> Session Manager –> Environment

Ok, guys hope you’re all still with me. Now that we are in the Environment Settings right click to open the contect Menu and say New –> String Value –> rename that new instance to Prompt.

Now you doubleclick the new created String Value Prompt and set it to:

textjosuha  $_Greetings Prof. Falken$_

say ok to save that value. After the next restart of your computer it should look like this:

image

Ok, i know it would be perfect if we could get commodore64 font, but since ttf is not supported by the windows shell, i’m sorry i found no way to that. But hey, doesn’t it looks really back then?

Here is a link about a post i found for customizing the command shell.

Have fun :-)