ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvtperl.3.man.in
(Generate patch)

Comparing rxvt-unicode/doc/rxvtperl.3.man.in (file contents):
Revision 1.28 by root, Fri Jan 13 01:09:37 2006 UTC vs.
Revision 1.29 by root, Fri Jan 13 12:40:46 2006 UTC

257For example, the following will transform selections of the form 257For example, the following will transform selections of the form
258\&\f(CW\*(C`filename:number\*(C'\fR, often seen in compiler messages, into \f(CW\*(C`vi +$filename 258\&\f(CW\*(C`filename:number\*(C'\fR, often seen in compiler messages, into \f(CW\*(C`vi +$filename
259$word\*(C'\fR: 259$word\*(C'\fR:
260.Sp 260.Sp
261.Vb 1 261.Vb 1
262\& URxvt.selection-autotransform.0: s/^(\e\eS+):(\e\ed+):?$/vi +$2 \e\eQ$1\e\eE\e\ex0d/ 262\& URxvt.selection-autotransform.0: s/^([^:[:space:]]+):(\e\ed+):?$/vi +$2 \e\eQ$1\e\eE\e\ex0d/
263.Ve 263.Ve
264.Sp 264.Sp
265And this example matches the same,but replaces it with vi-commands you can 265And this example matches the same,but replaces it with vi-commands you can
266paste directly into your (vi :) editor: 266paste directly into your (vi :) editor:
267.Sp 267.Sp
268.Vb 1 268.Vb 1
269\& URxvt.selection-autotransform.0: s/^(S+):(d+):?$/\e\ex1b:e \e\eQ$1\e\eE\e\ex0d:$2\e\ex0d/ 269\& URxvt.selection-autotransform.0: s/^([^:[:space:]]+(\e\ed+):?$/\e\ex1b:e \e\eQ$1\e\eE\e\ex0d:$2\e\ex0d/
270.Ve 270.Ve
271.Sp 271.Sp
272Of course, this can be modified to suit your needs and your editor :) 272Of course, this can be modified to suit your needs and your editor :)
273.Sp 273.Sp
274To expand the example above to typical perl error messages (\*(L"\s-1XXX\s0 at 274To expand the example above to typical perl error messages (\*(L"\s-1XXX\s0 at
490.el .IP "on_keyboard_command \f(CW$term\fR, \f(CW$string\fR" 4 490.el .IP "on_keyboard_command \f(CW$term\fR, \f(CW$string\fR" 4
491.IX Item "on_keyboard_command $term, $string" 491.IX Item "on_keyboard_command $term, $string"
492Called whenever the user presses a key combination that has a 492Called whenever the user presses a key combination that has a
493\&\f(CW\*(C`perl:string\*(C'\fR action bound to it (see description of the \fBkeysym\fR 493\&\f(CW\*(C`perl:string\*(C'\fR action bound to it (see description of the \fBkeysym\fR
494resource in the @@RXVT_NAME@@(1) manpage). 494resource in the @@RXVT_NAME@@(1) manpage).
495.ie n .IP "on_x_event $term\fR, \f(CW$event" 4
496.el .IP "on_x_event \f(CW$term\fR, \f(CW$event\fR" 4
497.IX Item "on_x_event $term, $event"
498Called on every X event received on the vt window (and possibly other
499windows). Should only be used as a last resort. Most event structure
500members are not passed.
495.ie n .IP "on_focus_in $term" 4 501.ie n .IP "on_focus_in $term" 4
496.el .IP "on_focus_in \f(CW$term\fR" 4 502.el .IP "on_focus_in \f(CW$term\fR" 4
497.IX Item "on_focus_in $term" 503.IX Item "on_focus_in $term"
498Called whenever the window gets the keyboard focus, before rxvt-unicode 504Called whenever the window gets the keyboard focus, before rxvt-unicode
499does focus in processing. 505does focus in processing.
585.IP "urxvt::CurrentTime" 4 591.IP "urxvt::CurrentTime" 4
586.IX Item "urxvt::CurrentTime" 592.IX Item "urxvt::CurrentTime"
587.PD 0 593.PD 0
588.IP "urxvt::ShiftMask, LockMask, ControlMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask, Button1Mask, Button2Mask, Button3Mask, Button4Mask, Button5Mask, AnyModifier" 4 594.IP "urxvt::ShiftMask, LockMask, ControlMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask, Button1Mask, Button2Mask, Button3Mask, Button4Mask, Button5Mask, AnyModifier" 4
589.IX Item "urxvt::ShiftMask, LockMask, ControlMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask, Button1Mask, Button2Mask, Button3Mask, Button4Mask, Button5Mask, AnyModifier" 595.IX Item "urxvt::ShiftMask, LockMask, ControlMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask, Button1Mask, Button2Mask, Button3Mask, Button4Mask, Button5Mask, AnyModifier"
596.IP "urxvt::NoEventMask, KeyPressMask, KeyReleaseMask, ButtonPressMask, ButtonReleaseMask, EnterWindowMask, LeaveWindowMask, PointerMotionMask, PointerMotionHintMask, Button1MotionMask, Button2MotionMask, Button3MotionMask, Button4MotionMask, Button5MotionMask, ButtonMotionMask, KeymapStateMask, ExposureMask, VisibilityChangeMask, StructureNotifyMask, ResizeRedirectMask, SubstructureNotifyMask, SubstructureRedirectMask, FocusChangeMask, PropertyChangeMask, ColormapChangeMask, OwnerGrabButtonMask" 4
597.IX Item "urxvt::NoEventMask, KeyPressMask, KeyReleaseMask, ButtonPressMask, ButtonReleaseMask, EnterWindowMask, LeaveWindowMask, PointerMotionMask, PointerMotionHintMask, Button1MotionMask, Button2MotionMask, Button3MotionMask, Button4MotionMask, Button5MotionMask, ButtonMotionMask, KeymapStateMask, ExposureMask, VisibilityChangeMask, StructureNotifyMask, ResizeRedirectMask, SubstructureNotifyMask, SubstructureRedirectMask, FocusChangeMask, PropertyChangeMask, ColormapChangeMask, OwnerGrabButtonMask"
598.IP "urxvt::KeyPress, KeyRelease, ButtonPress, ButtonRelease, MotionNotify, EnterNotify, LeaveNotify, FocusIn, FocusOut, KeymapNotify, Expose, GraphicsExpose, NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify, MapNotify, MapRequest, ReparentNotify, ConfigureNotify, ConfigureRequest, GravityNotify, ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify, SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify, ClientMessage, MappingNotify" 4
599.IX Item "urxvt::KeyPress, KeyRelease, ButtonPress, ButtonRelease, MotionNotify, EnterNotify, LeaveNotify, FocusIn, FocusOut, KeymapNotify, Expose, GraphicsExpose, NoExpose, VisibilityNotify, CreateNotify, DestroyNotify, UnmapNotify, MapNotify, MapRequest, ReparentNotify, ConfigureNotify, ConfigureRequest, GravityNotify, ResizeRequest, CirculateNotify, CirculateRequest, PropertyNotify, SelectionClear, SelectionRequest, SelectionNotify, ColormapNotify, ClientMessage, MappingNotify"
590.PD 600.PD
591Various constants for use in X calls and event processing. 601Various constants for use in X calls and event processing.
592.Sh "\s-1RENDITION\s0" 602.Sh "\s-1RENDITION\s0"
593.IX Subsection "RENDITION" 603.IX Subsection "RENDITION"
594Rendition bitsets contain information about colour, font, font styles and 604Rendition bitsets contain information about colour, font, font styles and
882Return the window id of the toplevel window. 892Return the window id of the toplevel window.
883.ie n .IP "$windowid = $term\->vt" 4 893.ie n .IP "$windowid = $term\->vt" 4
884.el .IP "$windowid = \f(CW$term\fR\->vt" 4 894.el .IP "$windowid = \f(CW$term\fR\->vt" 4
885.IX Item "$windowid = $term->vt" 895.IX Item "$windowid = $term->vt"
886Return the window id of the terminal window. 896Return the window id of the terminal window.
897.IP "$term\->vt_emask_add ($x_event_mask)" 4
898.IX Item "$term->vt_emask_add ($x_event_mask)"
899Adds the specified events to the vt event mask. Useful e.g. when you want
900to receive pointer events all the times:
901.Sp
902.Vb 1
903\& $term->vt_emask_add (urxvt::PointerMotionMask);
904.Ve
887.ie n .IP "$window_width = $term\->width" 4 905.ie n .IP "$window_width = $term\->width" 4
888.el .IP "$window_width = \f(CW$term\fR\->width" 4 906.el .IP "$window_width = \f(CW$term\fR\->width" 4
889.IX Item "$window_width = $term->width" 907.IX Item "$window_width = $term->width"
890.PD 0 908.PD 0
891.ie n .IP "$window_height = $term\->height" 4 909.ie n .IP "$window_height = $term\->height" 4

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines