--- rxvt-unicode/src/urxvt.pm 2006/01/22 11:57:06 1.124 +++ rxvt-unicode/src/urxvt.pm 2006/01/24 19:14:36 1.126 @@ -69,6 +69,13 @@ URxvt.selection.pattern-0: \\|([^|]+)\\| +Another example: Programs I use often output "absolute path: " at the +beginning of a line when they process multiple files. The following +pattern matches the filename (note, there is a single space at the very +end): + + URxvt.selection.pattern-0: ^(/[^:]+):\ + You can look at the source of the selection extension to see more interesting uses, such as parsing a line from beginning to end. @@ -141,11 +148,13 @@ =over 4 -=item - the mouse is on the same (multi-row-) line as the text cursor. +=item - the tty is in ICANON state. + +=item - the text cursor is visible. =item - the primary screen is currently being displayed. -=item - the text cursor is visible. +=item - the mouse is on the same (multi-row-) line as the text cursor. =back @@ -1312,6 +1321,11 @@ description of C<< urxvt::timer->events >>. Make sure to always restore the previous value. +=item $fd = $term->pty_fd + +Returns the master file descriptor for the pty in use, or C<-1> if no pty +is used. + =item $windowid = $term->parent Return the window id of the toplevel window.