.NET Micro framework used for a prompt-based computer

[Tom] is doing a little show and tell with his latest .NET Micro framework based project. He managed to get a prompt-based computer running on a FEZ Cobra board.

A USB keyboard serves as the input device. To give himself a familiar way to navigate and execute programs [Tom] mimicked the functionality of DOS. Above you can see the familiar format of the directory listings as he navigates the data on an SD card. But this goes deeper than changing directories and listing files. He also has access to commands which control peripherals, showing manipulation of the WiFi connection and demonstrating some simple code to show images on the screen. Since the hardware centers around the .NET MF, any compiled binary for that environment can be executed from the prompt as well.

See a complete demonstration of the project embedded after the break.

Continue reading “.NET Micro framework used for a prompt-based computer”

PC side IM-ME hacks

[Paul Klemstine] is working on some PC-side software hacks for the IM-ME. We’ve seen a lot of hardware hacks for this device, such as controlling the display, firmware flashing, and using it as a spectrum analyzer, but if you don’t want to alter the device right away you can try [Paul’s] collection of hacks. Working with the code developed by [Ben Ryves] there is support for using the IM-ME as a command prompt, to control Win amp, and as a wireless keyboard. Crack out your C# skills and develop the next feature for this inexpensive device.

Take command of your BASH prompt


[Joshua] has put together a list of BASH prompt customizations. The command prompt is used in a command-line interface to show that the system is ready for the next command. Often times this is nothing more than a user name, host name, and working directory:


[Joshua’s] customization examples can be used to color code the information in your prompt, change what information is displayed, and make the prompt respond differently when an invalid command is typed. A BASH prompt reference is helpful in deciphering what each of these commands do. The easiest simplification is to understand that non-printing characters (such as color codes) are surrounded in escaped square brackets. For example, line 1 is the sequence for Red, line 2 is the sequence for Dark Grey, and line 3 sets a simple prompt to display in Red and all text after that to be in Dark Grey:

PS1="\[\e[0;31m\]\u@\h:\w\$ \[\e[1;30m\]"

Continue reading “Take command of your BASH prompt”