#! /bin/sh /usr/share/dpatch/dpatch-run
## 50-timeout-docs-531733.dpatch by Marc Haber <mh+debian-packages@zugschlus.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: add timeout description to README, fix cosmetic issues.
## DP: thanks to Geoff Simmons, #531733

@DPATCH@
diff -urNad trunk~/README trunk/README
--- trunk~/README	2003-10-14 18:09:43.000000000 +0200
+++ trunk/README	2009-07-16 12:50:26.000000000 +0200
@@ -2,5 +2,5 @@
 ports.  See the man page for information about using the program.
 
 Note that ser2net supports RFC 2217 (remote control of serial port
-parameters), but you must have a complient client.  The only one I
-know if is kermit (http://www.columbia.edu/kermit).
\ No newline at end of file
+parameters), but you must have a compliant client.  The only one I
+know of is kermit (http://www.columbia.edu/kermit).
diff -urNad trunk~/ser2net.conf trunk/ser2net.conf
--- trunk~/ser2net.conf	2007-11-16 15:52:05.000000000 +0100
+++ trunk/ser2net.conf	2009-07-16 12:50:26.000000000 +0200
@@ -3,12 +3,12 @@
 # format:
 #  <TCP port>:<state>:<timeout>:<device>:<options>
 #     TCP port
-#            Name   or  number of the TCP/IP port to accept con­
+#            Name   or  number of the TCP/IP port to accept con-
 #            nections from for this device.  A port number may
 #            be of the form [host,]port, such as 127.0.0.1,2000
 #            or localhost,2000.  If this is specified, it will
 #            only bind to the IP address specified. Otherwise
-#	     it will bind to all the ports on the machine.
+#            it will bind to all the ports on the machine.
 #
 #     state  Either raw or rawlp or telnet or off.  off disables
 #            the  port  from  accepting  connections.  It can be
@@ -22,6 +22,11 @@
 #            col  on the port to set up telnet parameters.  This
 #            is most useful for using telnet.
 #
+#     timeout
+#            The time (in seconds) before the port will be  dis-
+#            connected  if  there  is no activity on it.  A zero
+#            value disables this funciton.
+#
 #     device The  name  of  the  device   to  connect  to.  This
 #            must be in the form of /dev/<device>.
 #
@@ -36,9 +41,9 @@
 #            hardware flow control, [-]LOCAL turns off (- on)
 #            monitoring of the modem lines, and
 #            [-]HANGUP_WHEN_DONE turns on (- off) lowering the
-#            modem control lines when the connextion is done. 
-#	     NOBREAK disables automatic setting of the break
-#	     setting of the serial port.
+#            modem control lines when the connextion is done.
+#            NOBREAK disables automatic setting of the break
+#            setting of the serial port.
 #            The "remctl" option allow remote control (ala RFC
 #            2217) of serial-port configuration.  A banner name
 #            may also be specified, that banner will be printed
