From: root Date: Thu, 19 Jan 2006 19:51:08 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=e664f7f019ecca8f4e04034b25f8869618cde074;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/src/perl/selection-pastebin b/src/perl/selection-pastebin index 4701dbba..c2d8e001 100644 --- a/src/perl/selection-pastebin +++ b/src/perl/selection-pastebin @@ -13,7 +13,7 @@ sub upload_paste { my $tmpfile = "/tmp/$filename"; - my $msg = "uploaded $filename"; + my $msg = "uploaded as $filename"; if (open my $o, ">", $tmpfile) { chmod 0644, $tmpfile; diff --git a/src/rxvt.h b/src/rxvt.h index 85885f75..2a342684 100644 --- a/src/rxvt.h +++ b/src/rxvt.h @@ -96,8 +96,6 @@ typedef struct { # define STDERR_FILENO 2 #endif -enum rxvt_privaction { IGNORE = 'i', SAVE = 's', RESTORE = 'r' };//TODO - /* ***************************************************************************** * PROTOTYPES @@ -110,7 +108,6 @@ void rxvt_clean_exit (); void * rxvt_malloc (size_t size); void * rxvt_calloc (size_t number, size_t size); void * rxvt_realloc (void *ptr, size_t size); -void rxvt_privileges (rxvt_privaction action); // util.C char * rxvt_wcstombs (const wchar_t *str, int len = -1); @@ -1328,7 +1325,6 @@ struct rxvt_term : zero_initialized, rxvt_vars { void Get_Colours (); void get_ourmods (); // main.C - void privileged_utmp (rxvt_privaction action); bool set_fonts (); void set_string_property (Atom prop, const char *str, int len = -1); void set_utf8_property (Atom prop, const char *str, int len = -1); @@ -1431,8 +1427,10 @@ struct rxvt_term : zero_initialized, rxvt_vars { void scr_remap_chars (); void scr_remap_chars (line_t &l); + enum cursor_mode { SAVE, RESTORE }; + void scr_poweron (); - void scr_cursor (int mode); + void scr_cursor (cursor_mode mode); void scr_do_wrap (); int scr_change_screen (int scrn); void scr_color (unsigned int color, int fgbg); diff --git a/src/screen.C b/src/screen.C index 0fd5a7ee..d770260e 100644 --- a/src/screen.C +++ b/src/screen.C @@ -464,7 +464,7 @@ rxvt_term::scr_poweron () * XTERM_SEQ: Restore cursor: ESC 8 */ void -rxvt_term::scr_cursor (int mode) +rxvt_term::scr_cursor (cursor_mode mode) { screen_t *s; diff --git a/src/urxvt.pm b/src/urxvt.pm index 7497db4b..521e9ae6 100644 --- a/src/urxvt.pm +++ b/src/urxvt.pm @@ -37,6 +37,10 @@ You can activate them like this: @@RXVT_NAME@@ -pe +Or by adding them to the resource for extensions loaded by default: + + URxvt.perl-ext-common: default,automove-background,selection-autotransform + =over 4 =item selection (enabled by default)