From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6147 invoked from network); 23 Jul 2008 16:33:31 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Jul 2008 16:33:31 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 17812 invoked from network); 23 Jul 2008 16:33:27 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Jul 2008 16:33:27 -0000 Received: (qmail 11767 invoked by alias); 23 Jul 2008 16:33:24 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25330 Received: (qmail 11752 invoked from network); 23 Jul 2008 16:33:23 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 23 Jul 2008 16:33:23 -0000 Received: from cork.scru.org (cork.scru.org [209.20.67.2]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 7DCA280561C3 for ; Wed, 23 Jul 2008 18:33:11 +0200 (CEST) Received: by cork.scru.org (Postfix, from userid 1000) id 5B7CA10402D; Wed, 23 Jul 2008 16:33:09 +0000 (UTC) Date: Wed, 23 Jul 2008 16:33:09 +0000 From: Clint Adams To: zsh-workers@sunsite.dk Subject: PATCH: curses doc fix Message-ID: <20080723163309.GA7049@scru.org> Mail-Followup-To: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV 0.92.1/7797/Wed Jul 23 17:31:49 2008 on bifrost X-Virus-Status: Clean Seems like fixing the doc is the safer option in case anyone is using 'position' right now. Index: Doc/Zsh/mod_curses.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/mod_curses.yo,v retrieving revision 1.23 diff -u -r1.23 mod_curses.yo --- Doc/Zsh/mod_curses.yo 1 Feb 2008 19:59:48 -0000 1.23 +++ Doc/Zsh/mod_curses.yo 23 Jul 2008 16:24:03 -0000 @@ -17,10 +17,10 @@ xitem(tt(zcurses) tt(touch) var(targetwin) ...) xitem(tt(zcurses) tt(move) var(targetwin) var(new_y) var(new_x) ) xitem(tt(zcurses) tt(clear) var(targetwin) [ tt(redraw) | tt(eol) | tt(bot) ]) -xitem(tt(zcurses) tt(location) var(targetwin) var(array)) +xitem(tt(zcurses) tt(position) var(targetwin) var(array)) xitem(tt(zcurses) tt(char) var(targetwin) var(character) ) xitem(tt(zcurses) tt(string) var(targetwin) var(string) ) -xitem(tt(zcurses) tt(border) var(targetwin) var(border) )( +xitem(tt(zcurses) tt(border) var(targetwin) var(border) ) xitem(tt(zcurses) tt(attr) var(targetwin) [ var({+/-}attribute) | var(fg_col)tt(/)var(bg_col) ] [...]) xitem(tt(zcurses) tt(bg) var(targetwin) [ var({+/-}attribute) | var(fg_col)tt(/)var(bg_col) | tt(@)var(char) ] [...]) xitem(tt(zcurses) tt(scroll) var(targetwin) [ tt(on) | tt(off) | {+/-}var(lines) ]) @@ -80,7 +80,7 @@ tt(bot), var(targetwin) is cleared to the end of the window, i.e everything to the right and below the cursor is cleared. -The subcommand tt(location) writes various positions associated with +The subcommand tt(position) writes various positions associated with var(targetwin) into the array named var(array). These are, in order: startsitem()