Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2001 11:10:06 -0700
From:      "Michael O'Henly" <michael@tenzo.com>
To:        freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Cc:        Christopher Masto <chris@netmonger.net>
Subject:   Re: Printer madness...
Message-ID:  <01041611100601.17291@h24-69-46-74.gv.shawcable.net>
In-Reply-To: <20010416121227.A10002@netmonger.net>
References:  <000001c0c573$9bc40680$1401a8c0@tedm.placo.com> <01041516133803.00452@h24-69-46-74.gv.shawcable.net> <20010416121227.A10002@netmonger.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--------------Boundary-00=_U4DW1I0B6T8MVOBCGQF3
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

On Monday 16 April 2001 09:12, Christopher Masto wrote:
> On Sun, Apr 15, 2001 at 04:13:38PM -0700, Michael O'Henly wrote:
> > So after, say, eight hours of accumulated effort I started writing
> > another plea for assistance to the list and began by inserting
> > /etc/printcap into kmail. Lo and behold, at the end of the last line
> > there were a bunch of garbage characters that were not visible in xemacs!
> > I opened the file in vi (where the garbage chars were also not visible),
> > deleted and reentered the last line -- and now it works perfectly.
> >
> > I'd hate to say that the moral of this story is not to trust xemacs. If
> > you can't trust xemacs, what hope is there for humanity...?
>
> I would love to have a copy of that file.  I use XEmacs all the time and
> have never seen that behavior - I'd like to know what to watch out for.

Hi Christopher...

Happy to oblige. This is what it looks like when I insert the file into the 
kmail editor (File>Insert File...). Notice the garbage char at the very end.

lp|hp4050|HP LaserJet 4050:\
	:sh:\
	:lp=/dev/lpt0:\
	:sd=/var/spool/lpd/lp:\
	:lf=/var/log/lp-errs:\
	:if=/usr/local/libexec/psif:\
	:df=/usr/local/libexec/psdf:\
	:tf=/usr/local/libexec/pstf:ÿ

This what I get when I cut-and-paste from xemacs into kmail. 

lp|hp4050|HP LaserJet 4050:\
	:sh:\
	:lp=/dev/lpt0:\
	:sd=/var/spool/lpd/lp:\
	:lf=/var/log/lp-errs:\
	:if=/usr/local/libexec/psif:\
	:df=/usr/local/libexec/psdf:\
	:tf=/usr/local/libexec/pstf:

And attached is the actual file. Note that it starts out with several 
commented lines that I haven't included above.

Hope this is useful. If you reach any conclusions, I'd be interested in 
hearing them. 

M.

-- 
Michael O'Henly
TENZO Design


--------------Boundary-00=_U4DW1I0B6T8MVOBCGQF3
Content-Type: text/plain;
  charset="iso-8859-1";
  name="printcap.orig~~"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="printcap.orig~~"

IwlAKCMpcHJpbnRjYXAJNS4zIChCZXJrZWxleSkgNi8zMC85MAojICRGcmVlQlNEOiBzcmMvZXRj
L3ByaW50Y2FwLHYgMS4xMCAxOTk5LzA4LzI3IDIzOjIzOjQzIHBldGVyIEV4cCAkCiMKIwojIFRo
aXMgZW5hYmxlcyBhIHNpbXBsZSBsb2NhbCAicmF3IiBwcmludGVyLCBob29rZWQgdXAgdG8gdGhl
IGZpcnN0CiMgcGFyYWxsZWwgcG9ydC4gIE5vIGtpbmQgb2YgZmlsdGVyaW5nIGlzIGRvbmUsIHNv
IGV2ZXJ5dGhpbmcgeW91CiMgcGFzcyB0byB0aGUgImxwciIgY29tbWFuZCB3aWxsIGJlIHByaW50
ZWQgdW5tb2RpZmllZC4KIwojIFJlbWVtYmVyLCBmb3IgZnVydGhlciBwcmludCBxdWV1ZXMgeW91
J3JlIGdvaW5nIHRvIGFkZCwgeW91IGhhdmUgdG8KIyBjaG9zZSBkaWZmZXJlbnQgc3Bvb2wgZGly
ZWN0b3JpZXMgKHRoZSAic2QiIGNhcGFiaWxpdHkgYmVsb3cpLAojIG90aGVyd2lzZSB5b3Ugd2ls
bCBncmVhdGx5IGNvbmZ1c2UgbHBkLgojCiMgRm9yIHNvbWUgYWR2YW5jZWQgcHJpbnRpbmcsIGhh
dmUgYSBsb29rIGF0IHRoZSAiYXBzZmlsdGVyIiBwYWNrYWdlLgojIEl0IHBsdWdzIGludG8gdGhl
IGxwZCBzeXN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ZXIgc2NyaXB0IHRoYXQgcmVjdXJzaXZlbHkgY2FsbHMgbHBkIHdpdGggYW5vdGhlciAtUAojIGFy
Z3VtZW50IGFmdGVyIGZpbHRlcmluZy4KIwojcmVtb3RlfHNhbXBsZSByZW1vdGUgcHJpbnRlcjpc
CiMJOnNoOlwKIwk6cm09bHBob3N0OnNkPS92YXIvc3Bvb2wvb3V0cHV0L2xwaG9zdDpsZj0vdmFy
L2xvZy9scGQtZXJyczoKIwojIFNpbXBsZSBSdXNzaWFuIHByaW50ZXIgd2l0aCBoYXJkd2FyZSBD
UDg2NiBjaGFyYWN0ZXIgc2V0LCBvdXRwdXQgZmlsdGVyCiMgdXNlZCBmb3IgS09JOC1SIC0+IENQ
ODY2IGNvbnZlcnNpb24KIwojbHB8UnVzc2lhbiBsb2NhbCBsaW5lIHByaW50ZXI6XAojCTpzaDpv
Zj0vdXNyL2xpYmV4ZWMvbHByL3J1L2tvaTJhbHQ6XAojCTpscD0vZGV2L2xwdDA6c2Q9L3Zhci9z
cG9vbC9vdXRwdXQvbHBkOmxmPS92YXIvbG9nL2xwZC1lcnJzOgojCmxwfGhwNDA1MHxIUCBMYXNl
ckpldCA0MDUwOlwKCTpzaDpcCgk6bHA9L2Rldi9scHQwOlwKCTpzZD0vdmFyL3Nwb29sL2xwZC9s
cDpcCgk6bGY9L3Zhci9sb2cvbHAtZXJyczpcCgk6aWY9L3Vzci9sb2NhbC9saWJleGVjL3BzaWY6
XAoJOmRmPS91c3IvbG9jYWwvbGliZXhlYy9wc2RmOlwKCTp0Zj0vdXNyL2xvY2FsL2xpYmV4ZWMv
cHN0Zjo=

--------------Boundary-00=_U4DW1I0B6T8MVOBCGQF3--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01041611100601.17291>