sane-project-website/old-archive/1998-12/0009.html

54 wiersze
2.2 KiB
HTML

<!-- received="Wed Dec 2 01:38:08 1998 PST" -->
<!-- sent="Wed, 2 Dec 1998 09:32:38 +0000 (GMT)" -->
<!-- name="Jon Knight" -->
<!-- email="jon@net.lut.ac.uk" -->
<!-- subject="Re: USB scanners?" -->
<!-- id="" -->
<!-- inreplyto="Pine.LNX.4.05.9812012229240.12362-100000@alley.gator.net" -->
<title>sane-devel: Re: USB scanners?</title>
<h1>Re: USB scanners?</h1>
<b>Jon Knight</b> (<a href="mailto:jon@net.lut.ac.uk"><i>jon@net.lut.ac.uk</i></a>)<br>
<i>Wed, 2 Dec 1998 09:32:38 +0000 (GMT)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#9">[ date ]</a><a href="index.html#9">[ thread ]</a><a href="subject.html#9">[ subject ]</a><a href="author.html#9">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0010.html">William L. Sebok: "Re: Adjusting contrast and brightness"</a>
<li> <b>Previous message:</b> <a href="0008.html">Jon Knight: "Re: Genius scanners"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
On Tue, 1 Dec 1998, J. Rhett Aultman wrote:<br>
<i>&gt; Annoyed people are the backbone of Linux.</i><br>
<p>
And SANE. I think there's a motto for the project in there somewhere...<br>
:-)<br>
<p>
Tatty bye,<br>
<p>
Jim'll<br>
<p>
#!/usr/bin/perl -- -Whois++-client-in-6-lines-of-Perl -Beat-that-Z39.50! <br>
use IO::Socket;sub w{$f=shift;$a{$f}=1;($h,$p,$q)=split("/",$f);$s=<br>
IO::Socket::INET-&gt;new(PeerAddr=&gt;"$h:$p")||return;print $s "$q\r\n";while(&lt;$s&gt;)<br>
{next if(/^%/);if(/^# SERVER-TO-ASK/){while(&lt;$s&gt;){$x=$1 if/Name: (.*)\r\n$/;$y<br>
=$1 if/Port: (.*)\r\n$/;$f="$x/$y/$q";@j=(@j,$f)if(/^# END/&amp;&amp;!$a{$f})}}else{<br>
print}}close($s)}@j=shift;while(@j){w(pop(@j))}# whois++.pl host/port/query<br>
<p>
<p>
<pre>
--
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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0010.html">William L. Sebok: "Re: Adjusting contrast and brightness"</a>
<li> <b>Previous message:</b> <a href="0008.html">Jon Knight: "Re: Genius scanners"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>