didou           Thu Jan 13 19:00:08 2005 EDT

  Modified files:              
    /phpdoc/en/reference/ssh2/functions ssh2-methods-negotiated.xml 
                                        ssh2-shell.xml 
  Log:
  fix more examples (user notes)
  
http://cvs.php.net/diff.php/phpdoc/en/reference/ssh2/functions/ssh2-methods-negotiated.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/ssh2/functions/ssh2-methods-negotiated.xml
diff -u phpdoc/en/reference/ssh2/functions/ssh2-methods-negotiated.xml:1.2 
phpdoc/en/reference/ssh2/functions/ssh2-methods-negotiated.xml:1.3
--- phpdoc/en/reference/ssh2/functions/ssh2-methods-negotiated.xml:1.2  Thu Dec 
30 00:09:31 2004
+++ phpdoc/en/reference/ssh2/functions/ssh2-methods-negotiated.xml      Thu Jan 
13 19:00:07 2005
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc. 
-->
   <refentry id="function.ssh2-methods-negotiated">
    <refnamediv>
@@ -32,14 +32,14 @@
 echo "fingerprint: " . ssh2_fingerprint($connection) . "\n";
 
 echo "Client to Server packets will use methods:\n";
-echo "\tCrypt: {$method['client_to_server']['crypt']}\n";
-echo "\tComp: {$method['client_to_server']['comp']}\n";
-echo "\tMAC: {$method['client_to_server']['mac']}\n";
+echo "\tCrypt: {$methods['client_to_server']['crypt']}\n";
+echo "\tComp: {$methods['client_to_server']['comp']}\n";
+echo "\tMAC: {$methods['client_to_server']['mac']}\n";
 
 echo "Server to Client packets will use methods:\n";
-echo "\tCrypt: {$method['server_to_client']['crypt']}\n";
-echo "\tComp: {$method['server_to_client']['comp']}\n";
-echo "\tMAC: {$method['server_to_client']['mac']}\n";
+echo "\tCrypt: {$methods['server_to_client']['crypt']}\n";
+echo "\tComp: {$methods['server_to_client']['comp']}\n";
+echo "\tMAC: {$methods['server_to_client']['mac']}\n";
 
 ?>
 ]]>
http://cvs.php.net/diff.php/phpdoc/en/reference/ssh2/functions/ssh2-shell.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/ssh2/functions/ssh2-shell.xml
diff -u phpdoc/en/reference/ssh2/functions/ssh2-shell.xml:1.2 
phpdoc/en/reference/ssh2/functions/ssh2-shell.xml:1.3
--- phpdoc/en/reference/ssh2/functions/ssh2-shell.xml:1.2       Thu Dec 30 
00:09:31 2004
+++ phpdoc/en/reference/ssh2/functions/ssh2-shell.xml   Thu Jan 13 19:00:07 2005
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc. 
-->
   <refentry id="function.ssh2-shell">
    <refnamediv>
@@ -44,7 +44,7 @@
 $connection = ssh2_connect('shell.example.com', 22);
 ssh2_auth_password($connection, 'username', 'password');
 
-$stream = ssh2_shell($connection, 'vt102', 80, 24, SSH2_TERM_UNIT_CHARS);
+$stream = ssh2_shell($connection, 'vt102', null, 80, 24, SSH2_TERM_UNIT_CHARS);
 ?>
 ]]>
      </programlisting>

Reply via email to