Bit O' Code

Most of this code consists of wrappers to improve the user interface to various, usually command line unix, programs.

Calendar

A calander program using QT based on a design from About Face.

LiveJournal Client

A command line LiveJournal client: Lusars Diary. It is written in Perl.

Features

Y Y Y Online posting / Offline posting / Online and Offline posting
N N WYSIWYG (What You See Is What You Get) mode / Preview mode
Y sort of Access and edit past entries
Y Download entire journal
Y Custom security support
Y Default security level support
Y Spell-checker
N Link assistance (e.g., easy creation of special tags. )
N Select user picture
Y N Select current mood/current music
N Match userpics to mood
N Music auto-detect (and the players supported)
Y Friends page update notification
N Friends and friends groups editing
N LiveJournal Console interface
Y Multi-user support
Y Locally encrypted passwords
Y Support for other LiveJournal-based sites
En Available in languages: En, De, Jp, etc...

Postscript to the rescure

Code to print out a table of all the glyphs of a given postscript font. It includes the name, each defined glyph and the hex and decimal place values. It is written in postscript and based on code from the Blue Book, Postscript Tutorial and Cookbook.
printfont.ps.

Less wrapper

I wrote a wrapper for less. I was tired of the erro message from less about a file I passed to it being a directory. This is especially problematic when I am trying to look at a file but don't remember the full path. WIth this wrapper I can type "less /dir[tab]/" then hit enter to look at a directory listing then arrow up the commadn and continue adding directories or the filename. The wrapper is kinda complex because I use less in a pip situation and the wrapper, at first, didn't like this. BUt it should work now.

THe user interface improvement is tht I dont have to cut-n-paste or change windows when I am in the middle of typeing a command. Besides less should look at directories(which mens ls) as it looks at regular files. Why should have to type a different command when the idea is the same. Maybe its me.

Super Tar Replacement

Mytar is an archive viewer and extractor. Most people only wish to look at an archive then open it up. If you have other needs you can use the raw tools. To use this you must create links to this file with the names untar and vtar.

You call untar to extract an archive and vtar to view it. Mytar determines what kind of archive it is looking at and executes the appropriate commands. It uses the file command to determine what a given file is. It currently supports compress-tar, gzip-tar, bzip2-tar, tar, zip and java jar files. The upside to this wrapper is you never have to think about the file. If you know its an archive let mytar figure out how to open it up. No more having to remember switches and calling the reight decompression program. If mytar doesn't know what to do with the file it prints out the file type.

There is one current issue if you pass it a gzipd file it will decompress it nad pass it to tar instead of checking the contents.

There is view support for RPMs but I haven't figured out how to open an RPM up with out installing it. I am not sure if installing an RPM is the best default for untar.

AFS fun

Some wrappers to improve the user interface to AFS group management and acl commands.

Cal replacement

This bad boy is more useful. First off it highlights the current day in red using ANSI escape sequences. Yeah it may not work on every terminal in the worl, but it works on mine and most of them. You could add a check if it matters to you. Second it swaps the arguments from the traditional cal. The first argument is the month and the second is the full year. Due to this switch if you wish to get a full yearly calendar use 0 for the month. There are other switches like -3 which are not supported yet.


Copyright © CHad Slaughter, 1994-2001, ALL RIGHTS RESERVED
slaught+web@lusars.net.

Valid CSS! Valid XHTML 1.1!