From: Clint Adams <clint@zsh.org>
To: Zsh Hackers' List <zsh-workers@sunsite.dk>
Subject: Re: PATCH: curses tweaks, maybe
Date: Sun, 21 Oct 2007 15:50:25 -0400 [thread overview]
Message-ID: <20071021195025.GA390@scowler.net> (raw)
In-Reply-To: <20071020133709.GA15761@scowler.net>
On Sat, Oct 20, 2007 at 09:37:09AM -0400, Clint Adams wrote:
> This needs the checking bit and a doc update.
Index: Doc/Zsh/mod_curses.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/mod_curses.yo,v
retrieving revision 1.6
diff -u -r1.6 mod_curses.yo
--- Doc/Zsh/mod_curses.yo 17 Oct 2007 20:27:26 -0000 1.6
+++ Doc/Zsh/mod_curses.yo 21 Oct 2007 19:49:18 -0000
@@ -6,42 +6,42 @@
startitem()
findex(zcurses)
cindex(windows, curses)
-xitem(tt(zcurses) tt(-i))
-xitem(tt(zcurses) tt(-e))
-xitem(tt(zcurses) tt(-a) var(targetwin) var(nlines) var(ncols) var(begin_y) var(begin_x) )
-xitem(tt(zcurses) tt(-d) var(targetwin) )
-xitem(tt(zcurses) tt(-r) [ var(targetwin) ] )
-xitem(tt(zcurses) tt(-m) var(targetwin) var(new_y) var(new_x) )
-xitem(tt(zcurses) tt(-c) var(targetwin) var(character) )
-xitem(tt(zcurses) tt(-s) var(targetwin) var(string) )
-xitem(tt(zcurses) tt(-b) var(targetwin) var(border) )(
-item(tt(zcurses) tt(-A) var(targetwin) var({+/-}attribute) [var({+/-}attribute)] [...])(
+xitem(tt(zcurses) tt(init))
+xitem(tt(zcurses) tt(endwin))
+xitem(tt(zcurses) tt(addwin) var(targetwin) var(nlines) var(ncols) var(begin_y) var(begin_x) )
+xitem(tt(zcurses) tt(delwin) var(targetwin) )
+xitem(tt(zcurses) tt(refresh) [ var(targetwin) ] )
+xitem(tt(zcurses) tt(move) var(targetwin) var(new_y) var(new_x) )
+xitem(tt(zcurses) tt(c) var(targetwin) var(character) )
+xitem(tt(zcurses) tt(s) var(targetwin) var(string) )
+xitem(tt(zcurses) tt(border) var(targetwin) var(border) )(
+item(tt(zcurses) tt(addwin) var(targetwin) var({+/-}attribute) [var({+/-}attribute)] [...])(
Manipulate curses windows. All uses of this command should be
-bracketed by `tt(zcurses -i)' to initialise use of curses, and
-`tt(zcurses -e)' to end it; omitting `tt(zcurses -e)' can cause
+bracketed by `tt(zcurses init)' to initialise use of curses, and
+`tt(zcurses endwin)' to end it; omitting `tt(zcurses endwin)' can cause
the terminal to be in an unwanted state.
-With tt(-a), create a window with var(nlines) lines and var(ncols) columns.
+With tt(addwin), create a window with var(nlines) lines and var(ncols) columns.
Its upper left corner will be placed at row var(begin_y) and column
var(begin_x) of the screen. var(targetwin) is a string and refers
to the name of a window that is not currently assigned.
-Use tt(-d) to delete a window created with tt(-a).
+Use tt(delwin) to delete a window created with tt(addwin).
-The tt(-r) command will refresh window var(targetwin); this is necessary to
+The tt(refresh) command will refresh window var(targetwin); this is necessary to
make any pending changes (such as characters you have prepared for output
-with tt(-c)) visible on the screen. If no argument is given,
+with tt(c)) visible on the screen. If no argument is given,
all windows are refreshed; this is necessary after deleting a window.
-tt(-m) moves the cursor position in var(targetwin) to new coordinates
+tt(move) moves the cursor position in var(targetwin) to new coordinates
var(new_y) and var(new_x).
-Outputting characters and strings are achieved by tt(-c) and tt(-s)
+Outputting characters and strings are achieved by tt(c) and tt(s)
respectively.
-To draw a border around window var(targetwin), use tt(-b).
+To draw a border around window var(targetwin), use tt(border).
-tt(-A) will set var(targetwin)'s attributes for any successive character
+tt(addwin) will set var(targetwin)'s attributes for any successive character
output. Each var(attribute) given on the line should be prepended by a
tt(+) to set or a tt(-) to unset that attribute. The attributes supported
are tt(blink), tt(bold), tt(dim), tt(reverse), tt(standout), and
next prev parent reply other threads:[~2007-10-21 22:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-16 8:40 Peter Stephenson
2007-10-17 3:29 ` Clint Adams
2007-10-17 8:57 ` Peter Stephenson
2007-10-17 9:14 ` Peter Stephenson
2007-10-17 13:01 ` Clint Adams
2007-10-17 14:57 ` Bart Schaefer
2007-10-17 15:05 ` Peter Stephenson
2007-10-17 15:25 ` Clint Adams
2007-10-17 15:39 ` Peter Stephenson
2007-10-17 18:58 ` Clint Adams
2007-10-17 19:19 ` Clint Adams
2007-10-18 20:40 ` Clint Adams
2007-10-20 12:12 ` Peter Stephenson
2007-10-20 13:37 ` Clint Adams
2007-10-21 19:50 ` Clint Adams [this message]
2007-10-21 21:13 ` Clint Adams
2007-10-17 17:09 ` Bart Schaefer
2007-10-17 17:53 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071021195025.GA390@scowler.net \
--to=clint@zsh.org \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).