config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/curses/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/curses/textpad.pyo

³ò
h”Rc@svdZddkZddkZd„Zdd	d„ƒYZedjo+d„ZeieƒZdGe	eƒGHndS(
s:Simple textbox editing widget with Emacs-like keybindings.iÿÿÿÿNcCsð|i|d|ti||dƒ|i||dti||dƒ|i||dti||dƒ|i|d|ti||dƒ|i||tiƒ|i||tiƒ|i||tiƒ|i||ti	ƒdS(s^Draw a rectangle with corners at the provided upper-left
    and lower-right coordinates.
    iN(
tvlinetcursest	ACS_VLINEthlinet	ACS_HLINEtaddchtACS_ULCORNERtACS_URCORNERtACS_LRCORNERtACS_LLCORNER(twintulytulxtlrytlrx((s*/usr/local/lib/python2.5/curses/textpad.pyt	rectangles%%%%tTextboxcBs>eZdZd„Zd„Zd„Zd„Zdd„ZRS(sdEditing widget using the interior of a window object.
     Supports the following Emacs-like key bindings:

    Ctrl-A      Go to left edge of window.
    Ctrl-B      Cursor left, wrapping to previous line if appropriate.
    Ctrl-D      Delete character under cursor.
    Ctrl-E      Go to right edge (stripspaces off) or end of line (stripspaces on).
    Ctrl-F      Cursor right, wrapping to next line when appropriate.
    Ctrl-G      Terminate, returning the window contents.
    Ctrl-H      Delete character backward.
    Ctrl-J      Terminate if the window is 1 line, otherwise insert newline.
    Ctrl-K      If line is blank, delete it, otherwise clear to end of line.
    Ctrl-L      Refresh screen.
    Ctrl-N      Cursor down; move down one line.
    Ctrl-O      Insert a blank line at cursor location.
    Ctrl-P      Cursor up; move up one line.

    Move operations do nothing if the cursor is at an edge where the movement
    is not possible.  The following synonyms are supported where possible:

    KEY_LEFT = Ctrl-B, KEY_RIGHT = Ctrl-F, KEY_UP = Ctrl-P, KEY_DOWN = Ctrl-N
    KEY_BACKSPACE = Ctrl-h
    cCsd||_|iƒ\|_|_|id|_|id|_d|_d|_|idƒdS(Ni(R
tgetmaxyxtmaxytmaxxtstripspacestNonetlastcmdtkeypad(tselfR
((s*/usr/local/lib/python2.5/curses/textpad.pyt__init__*s			cCsr|i}xbti|ii||ƒƒtijot|i|dƒ}Pn|djoPn|d}q|S(s8Go to the location of the first blank on the given line.ii(RtasciiR
tinchtSPtmin(Rtytlast((s*/usr/local/lib/python2.5/curses/textpad.pyt_end_of_line3s	(

cCs˜|iiƒ\}}||_ti|ƒoU||ijp||ijo1y|ii|ƒWqti	j
oqXq”n|ti
jo|ii|dƒnë|titi
titifjo³|djo|ii||dƒn^|djonM|io(|ii|d|i|dƒƒn|ii|d|iƒ|titifjo|iiƒq”n|tijo|iiƒnò|tijoD|io |ii||i|ƒƒq”|ii||iƒnž|titifjoZ||ijo|ii||dƒq”||ijoq”|ii|ddƒn+|tijodSn|tijoG|idjodSq”||ijo|ii|ddƒq”n¼|tijoX|djo'|i|ƒdjo|iiƒq”|ii||ƒ|iiƒnT|tijo|iiƒn3|titifjoq||ijo]|ii|d|ƒ||i|dƒjo(|ii|d|i|dƒƒqèq”n©|ti jo|ii!ƒnˆ|ti"ti#fjon|djo]|ii|d|ƒ||i|dƒjo(|ii|d|i|dƒƒqq”ndS(s!Process a single editing command.ii($R
tgetyxRRtisprintRRRRterrortSOHtmovetSTXtKEY_LEFTtBSt
KEY_BACKSPACERR tdelchtEOTtENQtACKt	KEY_RIGHTtBELtNLtVTtdeletelntclrtoeoltFFtrefreshtSOtKEY_DOWNtSItinsertlntDLEtKEY_UP(RtchRtx((s*/usr/local/lib/python2.5/curses/textpad.pyt
do_command?sv	 
%


(
 #0
0cCsèd}xÛt|idƒD]Æ}|ii|dƒ|i|ƒ}|djo|ioqnx_t|idƒD]J}|io||joPn|tti|ii	||ƒƒƒ}qtW|idjo|d}qqW|S(s.Collect and return the contents of the window.tiis
(
trangeRR
R%R RRtchrRR(RtresultRtstopR=((s*/usr/local/lib/python2.5/curses/textpad.pytgather…s,cCsfxY|iiƒ}|o||ƒ}n|pqn|i|ƒpPn|iiƒq|iƒS(s2Edit in the widget window and collect the results.(R
tgetchR>R5RD(RtvalidateR<((s*/usr/local/lib/python2.5/curses/textpad.pytedit•sN(	t__name__t
__module__t__doc__RR R>RDRRG(((s*/usr/local/lib/python2.5/curses/textpad.pyRs				F	t__main__cCs‡d\}}d	\}}|i|d|dƒti||||ƒ}t||d|d||||ƒ|iƒt|ƒiƒS(
Ni	iiiisUse Ctrl-G to end editing.i(i	i(ii(taddstrRtnewwinRR5RRG(tstdscrtncolstnlinesRRR
((s*/usr/local/lib/python2.5/curses/textpad.pyttest_editbox£s&
sContents of text box:((
RJRRRRRHRQtwrappertstrtrepr(((s*/usr/local/lib/python2.5/curses/textpad.pys<module>s	

		

Man Man