Changeset 2325

Show
Ignore:
Timestamp:
05/09/07 14:11:12 (2 years ago)
Author:
jstenar
Message:

pyreadline: Fix ticket #153, some updates to documentation.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pyreadline/trunk/doc/ChangeLog

    r2247 r2325  
     12007-05-09 Jörgen Stenarson  <jorgen.stenarson -at- bostream.nu> 
     2    * Fix ticket #153, python2.3 installation problem 
     3    * Updates to documentation 
     4 
     52007-04-20 Jörgen Stenarson  <jorgen.stenarson -at- bostream.nu> 
     6    * Change in how Ironpython proagates keyboardinterrupts in console. Still 
     7      some issues to resolve to get same traceback as for plain ironpython when  
     8      pressing ctrl-c. 
     9     
    1102007-04-18 Jörgen Stenarson  <jorgen.stenarson -at- bostream.nu> 
    211    * Removing some test methods that should not have been comitted at rev 2246 
  • pyreadline/trunk/doc/manual_base.tex

    r1204 r2325  
    9999There are a few things that are not autmatically installed. For instance the configuration file and the startup code that makes sure pyreadline is activated when running python in interactive mode. 
    100100 
     101However when using ipython pyreadline is imported by default by ipython. 
     102 
    101103\subsection{Development version} 
    102104Use {\ttfamily easy\_install pyreadline==dev} to get development version. Copy pyreadlineconfig.ini from pyreadline/configuration to your HOME directory (usually c:/documents and settings/YOURNAME) 
     
    131133This file is included in the doc directory of the distribution. 
    132134 
     135\subsection{pyreadline with IronPython} 
     136Pyreadline can be used together with IronPython. Unfortunately the binary installs of IronPython can not run pyreadline directly. You need to patch the source code to make PythonCommandLine a public class that we can override.  
     137 
     138\begin{itemize} 
     139  \item In PythonCommandLine.cs you need to change class PythonCommandLine to public class PythonCommandLine and recompile. 
     140  \item Copy rlcompleter.py from a standard python install to your ironpython path (this file is not included with fepy). 
     141\end{itemize} 
     142 
     143 
    133144\subsection{pyreadline with IPython} 
    134145In IPython pyreadline is automatically used if available. 
     146 
     147\subsection{Clipboard} 
     148Pyreadline can do copy/paste using the clipboard. Selections can be done using shift and arrowkeys as in most windows programs. 
     149 
     150There are three different paste functions that can be bound. 
     151 
     152\begin{itemize} 
     153  \item \emph{paste} Paste windows clipboard. 
     154        Assume single line strip other lines and end of line markers and trailing spaces 
     155  \item \emph{paste_mulitline_code} Paste windows clipboard as multiline code. 
     156        Removes any empty lines in the code  
     157    \item \emph{ipython_paste} Paste windows clipboard. If enable_ipython_paste_list_of_lists is  
     158        True then try to convert tabseparated data to repr of list of lists or  
     159        repr of array. If enable_ipython_paste_for_paths==True then change \\\\ to / and spaces to \\space. 
     160\end{itemize} 
     161 
    135162 
    136163\subsection{International characters} 
  • pyreadline/trunk/pyreadline/keysyms/common.py

    r1836 r2325  
    88#***************************************************************************** 
    99# table for translating virtual keys to X windows key symbols 
     10 
     11try: 
     12    set 
     13except NameError: 
     14    from sets import Set as set 
     15     
     16 
    1017 
    1118validkey =set(['cancel',     'backspace',    'tab',          'clear', 
  • pyreadline/trunk/pyreadline/release.py

    r2265 r2325  
    2323branch = '' 
    2424 
    25 version = '1.4.3.rc1
     25version = '1.4.3.rc2
    2626 
    2727revision = '$Revision$'