changeset 2722:82b12ff069d7 lwtools-port

Also turning off autolf on TCPOpen
author Boisy Pitre <boisy.pitre@nuance.com>
date Thu, 26 Jul 2012 13:41:40 -0500
parents 06d492093592
children 22bdfbe8bc68
files level1/cmds/inetd.a lib/net.a
diffstat 2 files changed, 19 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/level1/cmds/inetd.a	Thu Jul 26 13:37:49 2012 -0500
+++ b/level1/cmds/inetd.a	Thu Jul 26 13:41:40 2012 -0500
@@ -422,7 +422,7 @@
                ENDC
                lbsr      SetEchoOn
                lbcs      ret
-               lbsr      SetAutoLF
+               lbsr      SetAutoLFOn
                lbcs      ret
 
 * dup paths
--- a/lib/net.a	Thu Jul 26 13:37:49 2012 -0500
+++ b/lib/net.a	Thu Jul 26 13:41:40 2012 -0500
@@ -58,19 +58,18 @@
 SetEchoOff:    pshs      a,x
                bsr       getopts
                bcs       rawex           
-               clrb
-               stb       PD.EKO-PD.OPT,x
+               clr       PD.EKO-PD.OPT,x
                bsr       setopts
                puls      a,x,pc
 
 
-* Set Auto Linefeed
+* Set Auto Linefeed On
 *
 * Entry: A = path to network device
 * Exit:
 *        Success: CC carry clear 
 *        Failure: CC carry set, B = error code
-SetAutoLF:     pshs      a,x
+SetAutoLFOn:   pshs      a,x
                bsr       getopts
                bcs       rawex           
                ldb       #1
@@ -79,6 +78,20 @@
                puls      a,x,pc
 
 
+* Set Auto Linefeed Off
+*
+* Entry: A = path to network device
+* Exit:
+*        Success: CC carry clear 
+*        Failure: CC carry set, B = error code
+SetAutoLFOff:  pshs      a,x
+               bsr       getopts
+               bcs       rawex           
+               clr       PD.ALF-PD.OPT,x
+               bsr       setopts
+               puls      a,x,pc
+
+
 * Put the path passed in A in raw mode
 *
 * Entry: A = path to network device
@@ -109,6 +122,7 @@
                os9       I$Open
                bcs       openerr
                bsr       SetEchoOff
+               bsr       SetAutoLFOff
 openerr
                puls      x,y,pc