-- 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: 21b87b830b53af9b1cdc4e7ebf63a6e1d8a7113d:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

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

commit 21b87b830b53af9b1cdc4e7ebf63a6e1d8a7113d
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Tue Feb 24 23:58:13 2004 +0000

    *** empty log message ***

diff --git a/reconf b/reconf

index eec8a60a944c427e8f0c23d2b74f661289b0677c..

index ..a2e33af795d0cc4192e022ffe3477c62fd09341c 100755

--- a/reconf
+++ b/reconf
@@ -4,8 +4,9 @@
 # support and is a good baseline :)

 ./configure --prefix=/opt/rxvt --enable-utmp \
-            --enable-wtmp --enable-lastlog --enable-xim --disable-strings --enable-xterm-scroll \
+            --enable-wtmp --enable-lastlog --enable-xim --disable-strings \
             --with-term=xterm --enable-keepscrolling --enable-xft \
-            --enable-frills --disable-swapscreen \
-            --with-codesets=eu,jp \
-            --enable-cursor-blink --enable-pointer-blank --enable-cursor-blink
+            --enable-frills --enable-swapscreen --enable-transparency \
+            --with-codesets=eu,jp --enable-menubar \
+            --enable-cursor-blink --enable-pointer-blank --enable-text-blink \
+            --enable-plain-scroll
diff --git a/src/defaultfont.C b/src/defaultfont.C

index ed1f5aac2c8ed8d6e440c9a36044867e9777da96..

index ..e331ec9978a0a9bc9a231293d17e31ea58c84ce8 100644

--- a/src/defaultfont.C
+++ b/src/defaultfont.C
@@ -306,8 +306,8 @@ rxvt_font_default::draw (rxvt_drawable &d, int x, int y,
         {
           const char *p = linedraw_cmds[t - 0x2500];

-          int x0 = x, x1 = x + r->TermWin.fwidth  / 2, x2 = x + r->TermWin.fwidth ;
-          int y0 = y, y1 = y + r->TermWin.fheight / 2, y2 = y + r->TermWin.fheight;
+          int x0 = x, x1 = x + r->TermWin.fwidth  / 2, x2 = x + r->TermWin.fwidth  - 1;
+          int y0 = y, y1 = y + r->TermWin.fheight / 2, y2 = y + r->TermWin.fheight - 1;

           XGCValues gcv;

diff --git a/src/screen.C b/src/screen.C

index 029a91a796ac01ad9cafa81e7670f9b324afadf6..

index ..d4fbbdcab2054f924cbf3c08a05bcec45aab74c3 100644

--- a/src/screen.C
+++ b/src/screen.C
@@ -864,17 +864,23 @@ rxvt_term::scr_add_lines (const uint32_t *str, int nlines, int len)
       if (charsets[screen.charset] == '0') // DEC SPECIAL
         switch (c)
           {
+            // dunno where these come from
+#if 0
             case '+': c = 0x2192; break; case ',': c = 0x2190; break; case '-': c = 0x2191; break;
-            case '.': c = 0x2193; break; case '0': c = 0x25ae; break; case '`': c = 0x25c6; break;
-            case 'a': c = 0x2592; break; case 'f': c = 0x00b0; break; case 'g': c = 0x00b1; break;
-            case 'h': c = 0x2592; break; case 'i': c = 0x2603; break; case 'j': c = 0x2518; break;
-            case 'k': c = 0x2510; break; case 'l': c = 0x250c; break; case 'm': c = 0x2514; break;
-            case 'n': c = 0x253c; break; case 'o': c = 0x23ba; break; case 'p': c = 0x23bb; break;
-            case 'q': c = 0x2500; break; case 'r': c = 0x23bc; break; case 's': c = 0x23bd; break;
-            case 't': c = 0x251c; break; case 'u': c = 0x2524; break; case 'v': c = 0x2534; break;
-            case 'w': c = 0x252c; break; case 'x': c = 0x2502; break; case 'y': c = 0x2264; break;
-            case 'z': c = 0x2265; break; case '{': c = 0x03c0; break; case '|': c = 0x2260; break;
-            case '}': c = 0x00a3; break; case '~': c = 0x00b7; break;
+            case '.': c = 0x2193; break; case '0': c = 0x25ae; break;
+#endif
+            // vt100 special graphics and line drawing
+            case '`': c = 0x25c6; break; case '_': c = 0x0020; break;
+            case 'a': c = 0x2592; break; case 'b': c = 0x2409; break; case 'c': c = 0x240c; break;
+            case 'd': c = 0x240d; break; case 'e': c = 0x240a; break; case 'f': c = 0x00b0; break;
+            case 'g': c = 0x00b1; break; case 'h': c = 0x2424; break; case 'i': c = 0x240b; break;
+            case 'j': c = 0x2518; break; case 'k': c = 0x2510; break; case 'l': c = 0x250c; break;
+            case 'm': c = 0x2514; break; case 'n': c = 0x253c; break; case 'o': c = 0x23ba; break;
+            case 'p': c = 0x23bb; break; case 'q': c = 0x2500; break; case 'r': c = 0x23bc; break;
+            case 's': c = 0x23bd; break; case 't': c = 0x251c; break; case 'u': c = 0x2524; break;
+            case 'v': c = 0x2534; break; case 'w': c = 0x252c; break; case 'x': c = 0x2502; break;
+            case 'y': c = 0x2264; break; case 'z': c = 0x2265; break; case '{': c = 0x03c0; break;
+            case '|': c = 0x2260; break; case '}': c = 0x00a3; break; case '~': c = 0x00b7; break;
           }

       rend_t rend = SET_FONT (rstyle, TermWin.fontset->find_font (c));
@@ -2118,19 +2124,6 @@ rxvt_term::scr_refresh (unsigned char refresh_type)

           rvid = !!(rend & RS_RVid);

-#ifdef TEXT_BLINK
-          if (rend & RS_Blink)
-            {
-              if (!text_blink_ev.active)
-                {
-                  text_blink_ev.start (NOW + TEXT_BLINK_INTERVAL);
-                  hidden_text = 0;
-                }
-              else if (hidden_text)
-                fore = back;
-            }
-#endif
-
 #ifndef NO_BOLD_UNDERLINE_REVERSE
           if (rend & RS_Bold && fore == Color_fg)
             {
@@ -2161,6 +2154,19 @@ rxvt_term::scr_refresh (unsigned char refresh_type)
 #endif
             }

+#ifdef TEXT_BLINK
+          if (rend & RS_Blink)
+            {
+              if (!text_blink_ev.active)
+                {
+                  text_blink_ev.start (NOW + TEXT_BLINK_INTERVAL);
+                  hidden_text = 0;
+                }
+              else if (hidden_text)
+                fore = back;
+            }
+#endif
+
           /*
            * Actually do the drawing of the string here
            */

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

-- Response ended

-- Page fetched on Sun Jun 2 09:42:56 2024