From 02f05d746223c73981f3564ff21b324bb222e41a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 9 Dec 2008 17:37:01 +0000 Subject: 26110: option to allow vared to open to an alternative terminal --- Doc/Zsh/zle.yo | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Doc') diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo index c949e58c6..af339d37f 100644 --- a/Doc/Zsh/zle.yo +++ b/Doc/Zsh/zle.yo @@ -292,7 +292,8 @@ findex(vared) cindex(parameters, editing) cindex(editing parameters) xitem(tt(vared) [ tt(-Aache) ] [ tt(-p) var(prompt) ] [ tt(-r) var(rprompt) ]) -item( [ -M var(main-keymap) ] [ -m var(vicmd-keymap) ] var(name))( +xitem( [ tt(-M) var(main-keymap) ] [ tt(-m) var(vicmd-keymap) ]) +item( [ tt(-t) var(tty) ] var(name))( The value of the parameter var(name) is loaded into the edit buffer, and the line editor is invoked. When the editor exits, var(name) is set to the string value returned by the editor. @@ -326,6 +327,10 @@ keymap during editing. For vi-style editing, this allows a pair of keymaps to override tt(viins) and tt(vicmd). For emacs-style editing, only tt(-M) is normally needed but the tt(-m) option may still be used. On exit, the previous keymaps will be restored. + +If `tt(-t) var(tty)' is given, var(tty) is the name of a terminal device +to be used instead of the default tt(/dev/tty). If var(tty) does not +refer to a terminal an error is reported. ) findex(zle) cindex(widgets, rebinding) -- cgit 1.4.1