Projects

If you would like to contact me about any of these projects, you can email me at chris at cnpbagwell dot com.

Eee PC Power Control

This Linux program is similar to the utility that Asus ships with all Eee PC's on Windows.  It monitors AC/Battery status and adjusts what Asus calls their Super Hybrid Engine to optimize the laptop for performance or power savings.  The main program runs in the background as a system service so it works with any user logged in.  There is also an optional monitoring app each logged in user can run if they would like to see visual feedback when adjustments are made (adjustments are announced on DBUS system bus).

The application is written in python and was designed to work with Fedora 15 and its Systemd init system but should be easy to make work on any distribution using /etc/rc.local to startup.  It also makes use of only python modules installed by default on a Fedora system (such as python-dbus).  To control hardware, it uses either the eeepc-laptop or eeepc-wmi kernel modules that are distributed with all Linux kernels since at least early 2010.

It has been tested on an Eee PC 900 with eeepc-laptop module and an Eee PC T101MT with eeepc-wmi module.

Latest version (Released July 31, 2011):  eeepcpower-1.1.tar.gz

SoX: Sound eXchange

More information on SoX can be found on its own page.

Poppy 4.01 - Perl script to work with POP3/IMAP servers

This simple Perl script will individually read the headers of messages on a POP3 or IMAP account and then prompt you to read, save, delete or reply to the message. This works great for systems with limited resources, whether that's low disk space, slow mail connections, or no GUI's. You can selectively read your email directly from the mail server without having to download all the huge files waiting for you. Also allows you to selectively delete message from the server while saving others so that they can later be downloaded from another program and/or place (read and delete from work then download the important ones later from home).

Poppy has been tested with Perl5 under most favors of Unix and Windows 9x.

There is a screenshot if you want to see what poppy looks like in action.

Version 4.01 changes include:

  • Poppy was split into two seperate pieces. The first is a perl module to handle server related communications. This module can be used by other perl applications. The second piece is the poppy application.
  • Sample "spamkill" application included. This small script will scan the headers of all your email and delete those that match certain tests.
  • Minor bug fixes to configuration file generation.

Download the latest version (last updated March 23, 2003): poppy-4.01.tar.gz

Dominique Becaert has taken the example "spamkill" script included with Poppy 4.01 and improved it greatly. The main improvements are it includes support for reading server information from your existing .poppyrc file, supports reading a text file of rules for rejecting/accepting mail (instead of writing Perl code), and whitelists to accept email from known senders. The script and supporting documentation is avaliable as "sk.tar.gz". They should be included in future releases of Poppy.

As of version 4.01 of Poppy, Poppy will no longer work with perl4 (well, even Poppy 3.1 needed minor modifications to work). Also, some people may prefer the single file approach of pre-4.01. I've left version poppy-3.1.tar.gz around for those interested.

Cal v4.0 - Enhanced Unix Calendar

This is a port to various operating systems (including Linux, FreeBSD, SunOS, Solaris, MS-DOS, and OS/2) of the standard unix cal(1) program. It includes new features like color support, daily reminders/appointments, etc. Its very similar to GNU cal but not as feature rich.

The original program was written by Alex Matulich (alex-nospam@unicorn.us.com) and he is the maintainer. Alex keeps a version in ZIP format at ftp://ftp.unicorn.us.com/pub/cal40.zip and has a web page describing it at http://unicorn.us.com/cal.html .

When I first started working on cal, GNU cal wouldn't compile under MS-DOS were as this simpler program could. So I added support for ANSI color, added locale support, and a few other things.

I also keep a screenshot of it in case your wondering what it looks like.

Download the latest version (last updated January 8, 2002): cal-4.0.tar.gz

Calyear.ps - Postscript code to generate a year calendar

Calyear.ps is Postscript code that can generate a calendar that shows all 12 months on 1 page of paper for any year. Some programs refer to this format as "Year View". Its output is basically a font-enhanced version of running the unix command "cal" with a year value specified on the command line. I use it to print a calendar once a year and hang up on my wall for easy reference. For some reason, very few PIM programs or calendar programs support printing a year view. Please feel free to take this code and add it to your favorite program.

This program correctly handles all calendar reformations and all known leap years into the future. Its based off the same routines as the unix cal program listed above.

To print a calendar out, use your favorite text edit and modify the postscript file and change the variable "/year" to reflect the year you want to print out. Then just send it to your printer or favorite postscript interpreter.

Version 1.1 contains a small modification to allow different font names to be used between day-of-week names and the day numbers. Also, the day-of-week text is now centered in the column instead of right justified. The later change looks better with proportional fonts.

Download the latest version (last updated August 2, 2003): calyear-1.1.ps

Martin Tarekskeen sent me the following unix script. It will generate the above postscript file for the specified year or the current year if no value specified. For example, use "calyear.sh 2006 | lpr" to print a calendar for 2006.

Download the latest shell script (last updated December 10th, 2004): calyear.sh

clist

clist is a text-based directory browser and file manager. It uses the curses library for graphics and the keyboard for interaction. Its key binds are heavily influenced by vi and its visual interface is heavily influenced by the old DOS list.com program. 

There is a screenshot if you would like to see it in action.

This program has basic features for this type of program but is lacking customization and advanced features such as background copying.

Download the latest version (last updated 2006-08-11 ): clist-0.1.0.tar.gz

ċ
cal-4.0.tar.gz
(93k)
Chris Bagwell,
Sep 12, 2009, 7:07 PM
ą
cal.gif
(11k)
Chris Bagwell,
Sep 12, 2009, 7:07 PM
ċ
Chris Bagwell,
Sep 12, 2009, 7:08 PM
ċ
calyear.sh
(8k)
Chris Bagwell,
Sep 12, 2009, 7:07 PM
ċ
clist-0.1.0.tar.gz
(39k)
Chris Bagwell,
Sep 23, 2009, 6:31 AM
ą
clist.jpg
(55k)
Chris Bagwell,
Sep 23, 2009, 6:33 AM
ċ
eeepcpower-1.1.tar.gz
(11k)
Chris Bagwell,
Jul 31, 2011, 12:38 PM
ċ
poppy-3.1.tar.gz
(92k)
Chris Bagwell,
Sep 12, 2009, 7:08 PM
ċ
poppy-4.01.tar.gz
(130k)
Chris Bagwell,
Sep 12, 2009, 7:08 PM
ą
poppy.gif
(37k)
Chris Bagwell,
Sep 12, 2009, 7:08 PM
ċ
sk.tar.gz
(7k)
Chris Bagwell,
Sep 12, 2009, 7:08 PM
Comments