[前][次][番号順一覧][スレッド一覧]

ruby-changes:27070

From: zzak <ko1@a...>
Date: Thu, 7 Feb 2013 05:52:11 +0900 (JST)
Subject: [ruby-changes:27070] zzak:r39122 (trunk): * doc/pty/README: Remove static documentation file

zzak	2013-02-07 05:51:56 +0900 (Thu, 07 Feb 2013)

  New Revision: 39122

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39122

  Log:
    * doc/pty/README: Remove static documentation file
    * ext/pty/pty.c: Add License to PTY module overview

  Removed files:
    trunk/doc/pty/README
  Modified files:
    trunk/ChangeLog
    trunk/ext/pty/pty.c

Index: doc/pty/README
===================================================================
--- doc/pty/README	(revision 39121)
+++ doc/pty/README	(revision 39122)
@@ -1,84 +0,0 @@ https://github.com/ruby/ruby/blob/trunk/doc/pty/README#L0
-pty extension version 0.3 by A.ito
-
-1. Introduction
-
-This extension module adds ruby a functionality to execute an 
-arbitrary command through pseudo tty (pty).
-
-2. Install
-
-Follow the instruction below.
-
-(1) Execute
-
-      ruby extconf.rb
-
-    then Makefile is generated.
-
-(3) Do make; make install.
-
-3. What you can do
-
-This extension module defines a module named PTY, which contains
-following module fungtions:
-
-   getpty(command)
-   spawn(command)
-
-      This function reserves a pty, executes command over the pty 
-      and returns an array. The return value is an array with three
-      elements. The first element in the array is for reading and the 
-      second for writing. The third element is the process ID of the
-      child process. If this function is called with an iterator block,
-      the array is passed to the block as block parameters, and the
-      function itself returns nil.
-
-      When the child process is suspended or finished, an exception is
-      raised.  If this function is called with an iterator block,
-      exception is raised only within the block.  Child process
-      monitor is terminated on block exit.
-
-   protect_signal
-   reset_signal
-
-      These functions are obsolete in this version of pty.
-
-   PTY.open
-
-      Allocates a pty (pseudo-terminal).
-
-      It returns an array which contains an IO object and a File object.
-      The former is the master of the pty.
-      The latter is the slave of the pty.
-
-      If a block is given, it yields the array instead of return.
-      The value of the block is returned.
-      master_io and slave_file is closed when return if they are not closed.
-
-   PTY.check(pid[, raise=false])
-
-      checks the status of the child process specified by pid, and
-      returns nil if the process is still alive and active.
-      Otherwise, returns Process::Status about the process if raise is
-      false, or PTY::ChildExited exception is raised.
-
-4. License
-
-(C) Copyright 1998 by Akinori Ito.
-
-This software may be redistributed freely for this purpose, in full 
-or in part, provided that this entire copyright notice is included 
-on any copies of this software and applications and derivations thereof.
-
-This software is provided on an "as is" basis, without warranty of any
-kind, either expressed or implied, as to any matter including, but not
-limited to warranty of fitness of purpose, or merchantability, or
-results obtained from use of this software.
-
-5. Bug report
-
-Please feel free to send E-mail to
-
-   aito@e...
-
-for any bug report, opinion, contribution, etc.
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39121)
+++ ChangeLog	(revision 39122)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Feb  7 05:52:00 2013  Zachary Scott  <zachary@z...>
+
+	* doc/pty/README: Remove static documentation file
+	* ext/pty/pty.c: Add License to PTY module overview
+
 Thu Feb  7 02:31:10 2013  Marc-Andre Lafortune  <ruby-core@m...>
 
 	* vm_insnhelper.c: attr_writer should return its argument [Bug #7773]
Index: ext/pty/pty.c
===================================================================
--- ext/pty/pty.c	(revision 39121)
+++ ext/pty/pty.c	(revision 39122)
@@ -708,6 +708,19 @@ static VALUE cPTY; https://github.com/ruby/ruby/blob/trunk/ext/pty/pty.c#L708
  *
  * Creates and managed pseudo terminals (PTYs).  See also
  * http://en.wikipedia.org/wiki/Pseudo_terminal
+ *
+ * == License
+ *
+ *  C) Copyright 1998 by Akinori Ito.
+ *
+ *  This software may be redistributed freely for this purpose, in full
+ *  or in part, provided that this entire copyright notice is included
+ *  on any copies of this software and applications and derivations thereof.
+ *
+ *  This software is provided on an "as is" basis, without warranty of any
+ *  kind, either expressed or implied, as to any matter including, but not
+ *  limited to warranty of fitness of purpose, or merchantability, or
+ *  results obtained from use of this software.
  */
 
 void

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]