ZAZZYBOB.COM NEWSLETTER October 2004 ======================= ============ Contents -------- * Preamble * Last Months Invisible Newsletter * Zazzybob.com Site Updates * ZDraw - Drawing with Persistence * shutdown -h now Preamble -------- This e-mail has been designed with plain text e-mail clients in mind, and looks best when viewed using a monospaced font. You are receiving this mailing because you asked for it when you signed up to the Zazzybob.com Members Area. If you want to stop receiving this newsletter, sign into the Members Area, at http://www.zazzybob.com/members/login.html and select "Change Mailing Details" from the list of tools on the main members page. Last Months Invisible Newsletter -------------------------------- Apologies for not getting a newsletter out last month (September 2004). I was busy studying for my Linux Professional Institute certification, which I have passed and achieved (YAY!). I wholeheartedly recommend the certification program (http://www.lpi.org). Support it - study - get yourself certified and recognised as a Linux professional! Zazzybob.com Site Updates ------------------------- I have uploaded a suite of cpio scripts to http://www.zazzybob.com/bin.html These include * cpcpio - Copy a directory tree using cpio pass through mode * mkcpio - Create a gzipped cpio archive * uncpio - Partially or fully restore files from a cpio.gz archive * lscpio - Paritally or fully list files within a cpio.gz archive Other scripts uploaded recently.... * dirfind - Search a specified list of directories without recursion using a regular expression * termtest - A very interesting (IMHO) script which shows how to implement cursor controls using the Korn Shell. This script implements a basic grid and allows you to move around it using vi-style keystrokes, marking and unmarking cells a-la "Mine$weeper" Also, I've uploaded ZDraw... ZDraw - Drawing with Persistence -------------------------------- If you've ever Google'd for Java drawing applets you'll almost always find a shortcoming - the drawing you create is not persistent. What do I mean by this? Well, try resizing the applet, putting it into the background, or partially covering it with another window. What happens? The part of the drawing that was hidden is "lost" when you uncover the applet. An easy solution to this is to store each line segment that is drawn in a Vector, and then override paint() to redraw each segment each time the applet is repainted. See http://www.zazzybob.com/zdraw.html for more information, a demonstration applet, and of course - full source code. shutdown -h now --------------- Until next time..... Cheers, Kevin Waldron kevin@zazzybob.com http://www.zazzybob.com