diff options
author | Tar Committer <tar@ocjtech.us> | 2004-06-06 04:12:54 +0000 |
---|---|---|
committer | Tar Committer <tar@ocjtech.us> | 2004-06-06 04:12:54 +0000 |
commit | 654a4573f8fd2b1109e0ded8d9ce061dd3a2093f (patch) | |
tree | e1d9f6fdea04a52f7cfcdc1b3ddf9d49046d20df /bin/clogin.in | |
parent | 381d322caf5928732f3d478d80e70acfccd67f99 (diff) | |
download | rancid-654a4573f8fd2b1109e0ded8d9ce061dd3a2093f.tar.gz rancid-654a4573f8fd2b1109e0ded8d9ce061dd3a2093f.tar.xz rancid-654a4573f8fd2b1109e0ded8d9ce061dd3a2093f.zip |
Imported from rancid-2.3.1.tar.gz.rancid-2.3.1
Diffstat (limited to 'bin/clogin.in')
-rw-r--r-- | bin/clogin.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/clogin.in b/bin/clogin.in index dd8b817..92bb2f8 100644 --- a/bin/clogin.in +++ b/bin/clogin.in @@ -1,6 +1,6 @@ #! @EXPECT_PATH@ -- ## -## $Id: clogin.in,v 1.77 2004/03/12 05:44:06 asp Exp $ +## $Id: clogin.in,v 1.79 2004/05/27 21:57:52 heas Exp $ ## ## Copyright (C) 1997-2004 by Terrapin Communications, Inc. ## All rights reserved. @@ -499,7 +499,7 @@ proc run_commands { prompt command } { send "set length 0\r" # This is ugly, but reduces code duplication, allowing the # subsequent expects to handle everything as normal. - set command "set logging session disable\r;$command" + set command "set logging session disable;$command" } else { send "term length 0\r" } @@ -543,7 +543,7 @@ proc run_commands { prompt command } { } exp_continue } - -re "^ --More--\[^\n\r]*" { + -re "^ *--More--\[^\n\r]*" { send " " exp_continue } -re "^<-+ More -+>\[^\n\r]*" { @@ -573,7 +573,7 @@ proc run_commands { prompt command } { } exp_continue } - -re "^ --More--\[^\n\r]*" { + -re "^ *--More--\[^\n\r]*" { send " " exp_continue } -re "^<-+ More -+>\[^\n\r]*" { |