From 8deeb9bcece9c3de876863bc46429603474fa963 Mon Sep 17 00:00:00 2001 From: Rui Guo Date: Tue, 2 Jun 2009 10:33:26 +0800 Subject: [PATCH] A bit more in the design document. --- src/drafts/scripting | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/src/drafts/scripting b/src/drafts/scripting index 11f331a..a440e69 100644 --- a/src/drafts/scripting +++ b/src/drafts/scripting @@ -198,7 +198,7 @@ void stuff(string buf); put the string into the input buffer. int waitfor(string pattern); - Waiting for a specified output pattern. + Waiting for a specified output pattern. The pattern is limited to plain text. NOTICE: This is an asynchronous method call and can only be called in asynchronous mode. @@ -213,6 +213,56 @@ on_winchange before_resize on_resize +C. User + +-------- +Property: +-------- + +name: + mode: read only + type: String. + description: The login name. + +uid: + mode: read only + type: int + description: The index in the ACL bit fields. + +esc: +metaesc: + mode: read only + type: int + description: The escape character + +umask: + mode: read only + type: String. + description: The access for the window created by this user to other users. + The result will be in a form of 'rwx'. + +D. Screen + + This is a pseudo object standing for the whole screen object. All other + objects can be obtained starting from this one. + +-------- +Methods: +-------- +windows +displays +command +windowbyname + + =================== The Implementation =================== + +--------------- +Binding related. +--------------- + +--------------- +Binding independent +--------------- -- 2.11.4.GIT