Jean-Philippe Martin | Fun


Linux Goodies

dos2unix

This script, once run in a bash shell, will give you two new useful commands: dos2unix and unix2dos, to convert between the different end-of-line conventions. They take a file name as argument and output the converted file to standard out. The script can easily be adapted for other shells because it's basically just a call to perl.

settitle

The settitle script allows you to change the title of your current terminal. On Red Hat boxes, you may have to unset PROMPT_COMMAND to avoid having the title reset to your current working directory immediately afterwards.

bbgallery 1.2.2

I have added some features to the great image gallery program bbgallery. My changes bring bbgallery to version 1.2.2 and they add the following features over 1.2.0 (the latest official version):

new in 1.2.2 (11/2003):

new in 1.2.1 (9/2003): So what are you waiting for? download it (37k)! The older version (1.1.2) is also available - it has fewer features but is also easier to set up because it has fewer dependencies.

Bbgallery uses perl and works in Linux. It may also work with perl for windows, I haven't tried it.

Console Shortcuts

To get more reasonnable keyboard shortcuts under bash, get inspiration from my inputrc (updated 5/30/03). For more information see man bash and man readline (or info rluser).

Nice bash prompt

The following bash script will provide a color bash prompt which displays the previous command's error code, but only if an error occured.

errorPrompt.bash screenshot

To use this script, type ". errorPrompt.bash". You can add this command to your .bashrc to make it a default.

To disable it you must unset PROMPT_COMMAND and set PS1 back to the value you want, for example export PS1="\w$ ".

Intruder

This (now pretty old) patch will modify the Intruder Lite 0.1.2 game source so that it will compile on a SuSE system (or at least it worked for me).

jp-suse-lite-patch.tgz (2.3k)
lite-0.1.2.tar.gz (source code from the intruder web site)

UT Programming Club

UT has some of the best programming talent around. In the programming team we help you bring out your talent and prepare for various competitive events. This is worth it - consider for example that last year's programming team went to Hawaii for the ACM World Finals.

See the Programming Club's home page for more information, or contact me.

Links

Here are some links that might be of interest.

Software

Reading

Misc.


[JP Martin] [contact information]

Best viewed with *any* browser