sane-project-website/old-archive/2000-10/0151.html

104 wiersze
3.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: debugging saned</TITLE>
<META NAME="Author" CONTENT="Petter Reinholdtsen (pere@hungry.com)">
<META NAME="Subject" CONTENT="Re: debugging saned">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: debugging saned</H1>
<!-- received="Sun Oct 15 08:31:27 2000" -->
<!-- isoreceived="20001015153127" -->
<!-- sent="Sun, 15 Oct 2000 23:40:07 +0800" -->
<!-- isosent="20001015154007" -->
<!-- name="Petter Reinholdtsen" -->
<!-- email="pere@hungry.com" -->
<!-- subject="Re: debugging saned" -->
<!-- id="200010151540.XAA08559@localhost.localdomain" -->
<!-- inreplyto="debugging saned" -->
<STRONG>From:</STRONG> Petter Reinholdtsen (<A HREF="mailto:pere@hungry.com?Subject=Re:%20debugging%20saned&In-Reply-To=&lt;200010151540.XAA08559@localhost.localdomain&gt;"><EM>pere@hungry.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Oct 15 2000 - 08:40:07 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0152.html">Petter Reinholdtsen: "Re: [snapscan] Sourceforge request submitted"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0150.html">Petter Reinholdtsen: "Re: remove option -pedantic from standard gcc options?"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0137.html">Brian Craft: "debugging saned"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#151">[ date ]</A>
<A HREF="index.html#151">[ thread ]</A>
<A HREF="subject.html#151">[ subject ]</A>
<A HREF="author.html#151">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
[Jochen Eisinger]
<BR>
<EM>&gt; Disable saned in your inetd.conf and start saned from your command
</EM><BR>
<EM>&gt; line like this
</EM><BR>
<P>Or make a shell script wrapper for saned, to set the environemnt.
<BR>
This way you can also peek into the communication.
<BR>
<P>Log messages might end up in syslog (if stderr is a socket, debug
<BR>
messages are sent to syslog).
<BR>
<P>Rename saned to for example saned.exe, and make a script saned like
<BR>
this:
<BR>
<P>&nbsp;&nbsp;#!/bin/sh
<BR>
&nbsp;&nbsp;SANE_DEBUG_HP=128
<BR>
&nbsp;&nbsp;export SANE_DEBUG_HP
<BR>
&nbsp;&nbsp;cd /tmp
<BR>
&nbsp;&nbsp;exec $0.exe 2&gt; saned.$$.stderr | tee saned.$$.stdout
<BR>
<P>This will make two files with stdout and stderr from the last session
<BR>
in /tmp/. The debug information will be in saned.*.stderr.
<BR>
<PRE>
--
##&gt; Petter Reinholdtsen &lt;## | <A HREF="mailto:pere@td.org.uit.no?Subject=Re:%20debugging%20saned&In-Reply-To=&lt;200010151540.XAA08559@localhost.localdomain&gt;">pere@td.org.uit.no</A>
<P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20debugging%20saned&In-Reply-To=&lt;200010151540.XAA08559@localhost.localdomain&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0152.html">Petter Reinholdtsen: "Re: [snapscan] Sourceforge request submitted"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0150.html">Petter Reinholdtsen: "Re: remove option -pedantic from standard gcc options?"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0137.html">Brian Craft: "debugging saned"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#151">[ date ]</A>
<A HREF="index.html#151">[ thread ]</A>
<A HREF="subject.html#151">[ subject ]</A>
<A HREF="author.html#151">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Sun Oct 15 2000 - 08:31:40 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>