TODO: http://www120.pair.com/mccarthy/nextstep/intro.htmld/Workspace.html is the correct nextstep look.
TODO: rxvt -name urxvt-girly /// leave pixel droppings
TODO: distributed clipboard example
+TODO: http://www.issociate.de/board/post/274416/HOWTO:_Mouse_editing_with_readline_in_xterm.html
+TODO: http://groups.google.com/group/comp.unix.shell/msg/e538d04a118174d3
WISH: perl extension for background image loading and moving the origin.
WISH: OnTheSpot editing, or maybe switch to miiiiiiif. or maybe use perl and an overlay...
WISH: just for fun, do shade and tint with XRender.
WISH: support tex fonts
7.2
- - now it is possible to insert the value of the CLIPBOARD selection
- with shift - mouse button 2
- - removed support for obsolete offix dnd protocol.
- added "tabbed" extension that provides a crude tabbed terminal.
- added "readline" extension that allows cursor positioning
via mouse clicks.
+ - now it is possible to insert the value of the CLIPBOARD selection
+ with shift - mouse button 2
- fixed the automove-background extension to ignore coordinates
in non-synthetic events.
+ - removed support for obsolete offix dnd protocol.
7.1 Thu Jan 19 20:25:34 CET 2006
- setuid/setgid operation is now _encouraged_: security has been
sub on_button_press {
my ($self, $event) = @_;
+ return
+ if $self->current_screen || $self->hidden_cursor;
+
my ($row, $col) = $self->screen_cur;
my $line = $self->line ($row);
my $cur = $line->offset_of ($row, $col);
my $ofs = $line->offset_of ($event->{row}, $event->{col});
- if ($ofs >= 0 && $ofs < $line->l && !$self->current_screen) {
+ if ($ofs >= 0 && $ofs < $line->l) {
my $diff = $ofs - $cur;
my $move;
ModMetaMask = 1
ModNumLockMask = 2
current_screen = 3
+ hidden_cursor = 4
CODE:
switch (ix)
{
- case 0: RETVAL = THIS->ModLevel3Mask; break;
- case 1: RETVAL = THIS->ModMetaMask; break;
- case 2: RETVAL = THIS->ModNumLockMask; break;
- case 3: RETVAL = THIS->current_screen; break;
+ case 0: RETVAL = THIS->ModLevel3Mask; break;
+ case 1: RETVAL = THIS->ModMetaMask; break;
+ case 2: RETVAL = THIS->ModNumLockMask; break;
+ case 3: RETVAL = THIS->current_screen; break;
+ case 4: RETVAL = THIS->hidden_cursor; break;
}
OUTPUT:
RETVAL
cursor-left or cursor-right keypresses as required (the this only works
for programs that correctly support wide characters).
-It only works when clicking into the same line (possibly extended over
-multiple rows) as the text cursor and on the primary screen, to reduce the
-risk of misinterpreting. The normal selection isn't disabled, so quick
-successive clicks might interfere with selection creation in harmless
-ways.
+To avoid too many false positives, this is only done when:
+
+=over 4
+
+=item - the mouse is on the same (multi-row-) line as the text cursor.
+
+=item - the primary screen is currently being displayed.
+
+=item - the text cursor is visible.
+
+=back
+
+The normal selection mechanism isn't disabled, so quick successive clicks
+might interfere with selection creation in harmless ways.
=item tabbed
Returns the currently displayed screen (0 primary, 1 secondary).
+=item $cursor_is_hidden = $term->hidden_cursor
+
+Returns wether the cursor is currently hidden or not.
+
=item $view_start = $term->view_start ([$newvalue])
Returns the row number of the topmost displayed line. Maximum value is