-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: 6ce438e78bd7e5f0d8a18a68b686da66e8347332:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 6ce438e78bd7e5f0d8a18a68b686da66e8347332
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Fri Mar 10 21:36:16 2006 +0000

    *** empty log message ***

diff --git a/Changes b/Changes

index ef5e250bcf3445acb2a33ba13c87b086b2df896b..

index ..ddbead20ce5fb066d710bc29474fa15ce262f624 100644

--- a/Changes
+++ b/Changes
@@ -18,6 +18,8 @@ WISH: anyevent mouse notification / manage MotionMask better.
 WISH: http://www120.pair.com/mccarthy/nextstep/intro.htmld/Workspace.html is the correct nextstep look.
 DUMB: support tex fonts

+TODO: zero scorllback buffer should free memory
+TODO: kuake
 	- add FORCE_UNBUFFERED_XFT define to features.h.
 	- moved on_osc_seq to on_osc_seq_perl and added a more
           generic osc_seq.
@@ -25,6 +27,7 @@ DUMB: support tex fonts
           were invoked recursively.
         - the automove-background extension now properly works when the
           pixmap gets reset with an osc sequence (sqweek).
+        - selection-pastebin did not work properly with non-latin1-characters.

 7.7  Tue Feb 21 12:32:49 CET 2006
 	- use double-buffered drawing (xft fonts only). On many driver/hardware
diff --git a/src/perl/selection-pastebin b/src/perl/selection-pastebin

index f9ef7f1fc611de9e56d644f254a237d7a5d3ca94..

index ..5d57a9aaf9c4ec49a3763648cd6f7c63157be98d 100644

--- a/src/perl/selection-pastebin
+++ b/src/perl/selection-pastebin
@@ -6,7 +6,10 @@ sub upload_paste {
    require Digest::MD5;

    my $txt = $self->selection;
-   my $filename = Digest::MD5::md5_hex ($txt) . ".txt";
+
+   my $filename = $txt;
+   utf8::encode $filename;
+   $filename = Digest::MD5::md5_hex ($filename) . ".txt";

    my $tmpfile = "/tmp/$filename";

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 11:13:52 2024