libguide - [Fwd: Returned mail: User unknown]
- From: Dermot Musgrove <dermot glade perl connectfree co uk>
- To: Gnome list <gnome-list gnome org>
- Subject: libguide - [Fwd: Returned mail: User unknown]
- Date: Sat, 02 Oct 1999 17:00:53 +0000
I apologise for the length of the posting
Regards, Dermot
- From: Mail Delivery Subsystem <MAILER-DAEMON higrade botwrights farm>
- To: <dermot glade perl connectfree co uk>
- Subject: Returned mail: User unknown
- Date: Sat, 2 Oct 1999 17:56:15 +0100
The original message was received at Sat, 2 Oct 1999 17:56:07 +0100
from dermot@localhost [127.0.0.1]
----- The following addresses had permanent fatal errors -----
<gilbertt@tomgilbert.freeserve.co.uk>
----- Transcript of session follows -----
... while talking to mail-in.pol.net.uk.:
>>> RCPT To:<gilbertt@tomgilbert.freeserve.co.uk>
<<< 550-See <http://maps.vix.com/dul/>
<<< 550 rejected: administrative prohibition
550 <gilbertt@tomgilbert.freeserve.co.uk>... User unknown
Reporting-MTA: dns; higrade.botwrights.farm
Received-From-MTA: DNS; localhost
Arrival-Date: Sat, 2 Oct 1999 17:56:07 +0100
Final-Recipient: RFC822; gilbertt@tomgilbert.freeserve.co.uk
Action: failed
Status: 5.1.1
Remote-MTA: DNS; mail-in.pol.net.uk
Diagnostic-Code: SMTP; 550-See <http://maps.vix.com/dul/>
Last-Attempt-Date: Sat, 2 Oct 1999 17:56:14 +0100
- From: Dermot Musgrove <dermot glade perl connectfree co uk>
- To: Tom Gilbert <gilbertt tomgilbert freeserve co uk>
- Subject: [Fwd: [Fwd: Guide 0.1.2]]
- Date: Sat, 02 Oct 1999 16:53:42 +0000
Hi Tom, trying again.
Regards, Dermot
- From: Dermot Musgrove <dermot glade perl connectfree co uk>
- To: Tom Gilbert <gilbertt tomgilbert freeserve co uk>
- Subject: [Fwd: Guide 0.1.2]
- Date: Fri, 01 Oct 1999 00:01:07 +0000
Hi, it has happened again a few times - returned mail I mean with:
'550 <gilbertt@tomgilbert.freeserve.co.uk>... User unknown'
I have just updated from CVS and read your Changelog. On the question of
passing " (double quotes) to sh, can't you just esacpe them with \ ?
For instance I did:
--------------------------------------
dermot 00:41:00 - ~/gnome/gtrouble >$ grep \" ChangeLog
o Cannot use " quotes in scripts, as popen send these to the
shell within other " quotes. This results in syntax error, so you
* The language for i18n strings is specified by <TAG xml:lang="C">
--------------------------------------
and the same method works within perl strings too.
eg. $string = "This is a string with \"double-quotes\" in it";
With XML, in perl I encode characters like this:
sub QuoteXMLChars {
my $text = shift;
# Suggested by Eric Bohlman <ebohlman@netcom.com> on perl-xml mailling list
my %ents=('&'=>'amp','<'=>'lt','>'=>'gt',"'"=>'apos','"'=>'quot');
$text =~ s/([&<>'"])/&$ents{$1};/g;
$text =~ s/([\x80-\xFF])/&XmlUtf8Encode(ord($1))/ge;
return $text;
}
sub XmlUtf8Encode {
# This was ripped from XML::DOM - thanks to
# Enno Derksen (official maintainer), enno@att.com
# and Clark Cooper, coopercl@sch.ge.com
my $n = shift;
my $me = "XmlUtf8Encode";
if ($n < 0x80) {
return chr ($n);
} elsif ($n < 0x800) {
return pack ("CC", (($n >> 6) | 0xc0),
(($n & 0x3f) | 0x80));
} elsif ($n < 0x10000) {
return pack ("CCC", (($n >> 12) | 0xe0),
((($n >> 6) & 0x3f) | 0x80),
(($n & 0x3f) | 0x80));
} elsif ($n < 0x110000) {
return pack ("CCCC", (($n >> 18) | 0xf0),
((($n >> 12) & 0x3f) | 0x80),
((($n >> 6) & 0x3f) | 0x80),
(($n & 0x3f) | 0x80));
}
__PACKAGE__->diag_print(1, "error Number is too large for Unicode ".
"[$n] in $me");
return "#";
}
so " goes to " (like HTML). There has been a lot on the perl-xml
mailing list about this and I dare say that you could do something
similar in C (I have never written any C :-))
These (&, <, >, ' and ") are the only ones you get by
default in XML parsers without a DTD I think.
Regards, Dermot
- From: Dermot Musgrove <dermot glade perl connectfree co uk>
- To: Tom Gilbert <gilbertt tomgilbert freeserve co uk>
- Subject: Guide 0.1.2
- Date: Thu, 30 Sep 1999 17:40:40 +0000
Hi Tom,
Have you thought about using a Guide guide as your test.xml. I know that
it is only a framework for testing your code but any docs on Guide and
the XML format would be really handy and could grow into real docs.
What is the best way to link to other guides (guide-books)? I would like
to write my docs in little self-contained chunks and then reference them
and link to them in an app-wide guide. I know that this is one of the aims
of your design but how can they be found. Do you forsee some easy way to
search for guides (with elegant failure text) in a dynamic way?
Have you grabbed .guide as a suffix for the guide-books?
Have you updated gTextGuide/Makefile.am and libguide/Makefile.am with extra
line:
-I$(GNOME_INCLUDEDIR) \
I couldn't ./autogen.sh until I had fixed this. I guess that you don't run
./autogen.sh so you won't see this, you have probably fixed it any way :-)
It is getting prettier by the day, I like the HTML widget's appearance with
the Gnome foot background. The text of links with mouse-over is now almost
invisible here though.
Are you likely to set up a mailing list or is that overkill? I wouldn't like
to miss anything that is being discussed but then I am very nosy :-)
Regards, Dermot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]