about summary refs log tree commit diff
path: root/Doc/Zsh/tcpsys.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-05-29 12:51:15 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-05-29 12:51:15 +0000
commit6c6ce048e71e80b3b64b7339df7162398287c99f (patch)
tree5979d8e585c048a34fc0d7b28b7264005df2ee4d /Doc/Zsh/tcpsys.yo
parentc4679383109f8e4f93c13b1eb30d352503b943e0 (diff)
downloadzsh-6c6ce048e71e80b3b64b7339df7162398287c99f.tar.gz
zsh-6c6ce048e71e80b3b64b7339df7162398287c99f.tar.xz
zsh-6c6ce048e71e80b3b64b7339df7162398287c99f.zip
Tomasz Pala <gotar@polanet.pl>: users/12884:
new completions for iftop and tcpdump
Diffstat (limited to 'Doc/Zsh/tcpsys.yo')
-rw-r--r--Doc/Zsh/tcpsys.yo20
1 files changed, 20 insertions, 0 deletions
diff --git a/Doc/Zsh/tcpsys.yo b/Doc/Zsh/tcpsys.yo
index a2f433523..9d05a5ce6 100644
--- a/Doc/Zsh/tcpsys.yo
+++ b/Doc/Zsh/tcpsys.yo
@@ -454,6 +454,26 @@ item(tt(tcp_on_alias) var(alias) var(fd))(
 When an alias is defined, this function will be called with two arguments:
 the name of the alias, and the file descriptor of the corresponding session.
 )
+findex(tcp_on_awol)
+item(tt(tcp_on_awol) var(sess) var(fd))(
+If the function tt(tcp_fd_handler) is handling input from the line
+editor and detects that the file descriptor is no longer reusable,
+by default it removes it from the list of file descriptors handled
+by this method and prints a message.  If the function tt(tcp_on_awol)
+is defined it is called immediately before this point.  It may
+return status 100, which indicates that the normal handling should
+still be performed; any other return status indicates that no further
+action should be taken and the tt(tcp_fd_handler) should return
+immediately with the given status.  Typically the action of tt(tcp_on_awol)
+will be to close the session.
+
+The variable tt(TCP_INVALIDATE_ZLE) will be a non-empty string if it is
+necessary to invalidate the line editor display using `tt(zle -I)' before
+printing output from the function.
+
+(`AWOL' is military jargon for `absent without leave' or some
+variation.  It has no pre-existing technical meaning known to the author.)
+)
 findex(tcp_on_close)
 item(tt(tcp_on_close) var(sess) var(fd))(
 This is called with the name of a session being closed and the file