On Thursday 02 May 2002 11:23 am, Brian W. Carver wrote:
David,
I've tried removing spaces (at least the ones that don't look essential to me) and still no luck. You can see my screwed up script below or perhaps you could send me yours that works and I'd be able to figure this out finally. Yours is working in Mozilla mail, right?
Not mozilla, kmail 1.3.2. The earlier e-mail about mozilla was what got me interested in trying the script with kmail. As for the spaces question, I backspaced to remove the space then pressed space to replace it. It seems that something was getting confused in the transition from script to mail and back to script. Heres the script that I am using w/ kmail to create the sig below. I saved this script as ~/.signature and made it executable. ------------------------------------------------------------------------------ #!/usr/bin/perl # get current kernel version #####$version = `uname -r`; #removed, not wanted # get current uptime @uptime = split /\s+/, qx(uptime); ($hours, $minutes) = split /[:,]/, $uptime[3]; $disp = "I've been up: " . $hours . " hours ". $minutes . " minutes "; # version string has built-in newline. print "\dh\n\n$disp\nSuse Linux 7.2 professional\nkernel 2.4.17, xFree86 4.2.0, kde 2.2.2\n"; exit(0); ------------------------------------------------------------------------------- Unfortunately I don't think it will work w/ mozilla, from what I saw it looks like mozilla won't let you use a program as a sig so you may be out of luck. Good luck -- dh I've been up: 4 hours 32 minutes Suse Linux 7.2 professional kernel 2.4.17, xFree86 4.2.0, kde 2.2.2