03-02-2007
(10) Don't post your email address and ask for an email reply. Don't send a private message with a technical question. The forums are for the benefit of all, so all Q&A should take place in the forums.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I just want to make my xterm to be transparent, but I don't know how, could somebody tell me?
:( (3 Replies)
Discussion started by: zhiyuan
3 Replies
2. UNIX Desktop Questions & Answers
On my Yellow Dog Linux/PPC system, any XTerm, regardless of whether it be local or remote, displays a garbled font. When I change the font using the -fn option, XTerm displays a different garbled font. I have had no trouble running any other applications on this computer's X server, nor have I... (1 Reply)
Discussion started by: awenocur
1 Replies
3. Linux
When I telnet (ssh) over to my Fedora system, I find the colors horrible. For instance, regular files are white text, which is fine, but directories show up as dark blue which is virtually invisible against the black background). Additionally, when using vi, I find the colors great doing perl... (3 Replies)
Discussion started by: ripley
3 Replies
4. UNIX for Advanced & Expert Users
Dear Sirs
I posted this question to "Unix for dummies" but got no answers, so I'm asking help from this group.
Whenever I bring up an xterm window on my laptop running Mandrivia Linux, the font in the xterm window is so small that it is practically unreadable !
What switches do I need to... (1 Reply)
Discussion started by: kanejm
1 Replies
5. Shell Programming and Scripting
Hi,
My perl script takes few switches which i'm parsing through GetOpt::Long module.
My script looks like something :
myscript.pl --file="foo" --or --file="bar"
The --file switch takes 2 arguments foo and bar.
The 2 values of file are separated by --or switch. I want to ensure that... (1 Reply)
Discussion started by: obelix
1 Replies
6. Linux
Hi everyone!
I want to change the default font size of xterm. I tried appending the following line in .Xresources
xterm -fn -*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*
The size changes, but when I try to write in greek, nothing is printed on the screen. I tried appending a similar line to... (0 Replies)
Discussion started by: kerb41
0 Replies
7. Solaris
Hello,
I'm trying to find out which font xterm uses by default in CDE. I like it, it's nice and clean. My problem is that Java based applications like jEdit cannot find it.
Could anybody tell me what is the name of the font?
Example is attached.
Thank You,
PN. (1 Reply)
Discussion started by: pn8830
1 Replies
8. UNIX for Dummies Questions & Answers
My unzip command doesn't work for files that are greater than 4GB. Consider my file name is unzip -p -a filename.zip, the command doesn't work since the size of the file is larger. I need to know the corresponding 7z command for the same. This is my Unix shell script program:
if
then
... (14 Replies)
Discussion started by: chandraprakash
14 Replies
9. Shell Programming and Scripting
I need to backup my database but the files are very large and the TAR command will not let me. I searched aids and found that I could do something with the mknod, COMPRESS and TAR command using them together. I appreciate your help. (10 Replies)
Discussion started by: frizcala
10 Replies
10. Shell Programming and Scripting
I have a file name :
var=UsrAccChgRpt
I want to make them upper case.
Tried:
$var | tr
Error:
tr: Invalid combination of options and Strings.
Usage: tr | -ds | -s | -ds | -s ] String1 String2
tr { -d | -s | -d | -s } String1
Could you please help. I am using AIX... (2 Replies)
Discussion started by: digioleg54
2 Replies
LEARN ABOUT DEBIAN
log::dispatch::email
Log::Dispatch::Email(3pm) User Contributed Perl Documentation Log::Dispatch::Email(3pm)
NAME
Log::Dispatch::Email - Base class for objects that send log messages via email
VERSION
version 2.32
SYNOPSIS
package Log::Dispatch::Email::MySender;
use Log::Dispatch::Email;
use base qw( Log::Dispatch::Email );
sub send_email {
my $self = shift;
my %p = @_;
# Send email somehow. Message is in $p{message}
}
DESCRIPTION
This module should be used as a base class to implement Log::Dispatch::* objects that send their log messages via email. Implementing a
subclass simply requires the code shown in the SYNOPSIS with a real implementation of the "send_email()" method.
CONSTRUCTOR
The constructor takes the following parameters in addition to the standard parameters documented in Log::Dispatch::Output:
o subject ($)
The subject of the email messages which are sent. Defaults to "$0: log email"
o to ($ or @)
Either a string or a list reference of strings containing email addresses. Required.
o from ($)
A string containing an email address. This is optional and may not work with all mail sending methods.
o buffered (0 or 1)
This determines whether the object sends one email per message it is given or whether it stores them up and sends them all at once.
The default is to buffer messages.
METHODS
o send_email(%p)
This is the method that must be subclassed. For now the only parameter in the hash is 'message'.
o flush
If the object is buffered, then this method will call the "send_email()" method to send the contents of the buffer and then clear the
buffer.
o DESTROY
On destruction, the object will call "flush()" to send any pending email.
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
perl v5.14.2 2012-05-25 Log::Dispatch::Email(3pm)