-- 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: 4b8d4daf29508eca8f9e84fa3fe97544ed1ecdd3:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

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

commit 4b8d4daf29508eca8f9e84fa3fe97544ed1ecdd3
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Sat Jan 20 00:37:13 2007 +0000

    *** empty log message ***

diff --git a/Changes b/Changes

index bd30c65709e9cc89ca303c4b9d185421d01ef3d9..

index ..979cfb4caeb6a4918ce570dc5b622b98d31cd385 100644

--- a/Changes
+++ b/Changes
@@ -38,6 +38,9 @@ TODO: fix rounding of colors when !xft (#aaaaaa => #a9a900) (do not use correct,
         - fix make and make install with srcdir != builddir.
         - updated bundled libptytty to fix a bug where the tty would be kept
           open (see the libptytty ChangeLog for details).
+        - delay setting the IUTF8 flag to after the tty settings have been
+          set so its value does not get lost (reported and analysed by Andrei
+          Paskevich).

 8.1  Thu Dec  7 22:27:25 CET 2006
         - ケリスマスプレゼント - zomg!!1, it's too early!!!
diff --git a/src/init.C b/src/init.C

index a4109cf2c7cef403a21a667f5282b5323afbdea7..

index ..40b00c22376178440df79a2ea9566d4e393ff237 100644

--- a/src/init.C
+++ b/src/init.C
@@ -1315,11 +1315,6 @@ rxvt_term::run_command (const char *const *argv)
     if (!pty->get ())
       rxvt_fatal ("can't initialize pseudo-tty, aborting.\n");

-  pty->set_utf8_mode (enc_utf8);
-
-  /* set initial window size */
-  tt_winch ();
-
   int er;

 #ifndef NO_BACKSPACE_KEY
@@ -1332,6 +1327,11 @@ rxvt_term::run_command (const char *const *argv)
     er = -1;

   rxvt_get_ttymode (&tio, er);
+  pty->set_utf8_mode (enc_utf8);
+  SET_TTYMODE (STDIN_FILENO, &tio);       /* init terminal attributes */
+
+  /* set initial window size */
+  tt_winch ();

 #if ENABLE_FRILLS
   if (rs[Rs_pty_fd])
@@ -1396,8 +1396,6 @@ rxvt_term::run_child (const char *const *argv)
 {
   char *login;

-  SET_TTYMODE (STDIN_FILENO, &tio);       /* init terminal attributes */
-
   if (OPTION (Opt_console))
     {     /* be virtual console, fail silently */
 #ifdef TIOCCONS

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

-- Response ended

-- Page fetched on Sun Jun 2 14:10:25 2024