-- 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: cba1106782dfc400b053f77d2c76321ae8f00859:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

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

commit cba1106782dfc400b053f77d2c76321ae8f00859
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Sun Feb 22 10:37:54 2004 +0000

    *** empty log message ***

diff --git a/Changes b/Changes

index 7d18cb57985b36dc3b5607c09fd9870797ef25bf..

index ..bafc4c010434f0e78b652bb254e076713e14cc8e 100644

--- a/Changes
+++ b/Changes
@@ -12,6 +12,10 @@
           keysyms that also have string translations, when not --enable-xim.
           reported by joel reed.
         - countless minor bugfixes.
+        - re-enabled esc-seq. for font-switching (\033 ] 50 ; <fontset> \007).
+        - fix bug in locale-handling that kept the correct locale from
+          being selected.
+        - implemented esc-seq. to switch locales (\033 ] 9 ; <locale> \007).
         - removed greek support.

 1.8  Mon Feb  2 20:09:18 CET 2004
diff --git a/doc/rxvt.1 b/doc/rxvt.1

index e74499901efe990c46b2a6b51cb29c77d9768d72..

index ..80c33b910327ad04084791a55749a9805efb6ed4 100644

--- a/doc/rxvt.1
+++ b/doc/rxvt.1
@@ -84,11 +84,6 @@ unicode characters\&. The first font defines the cell size for characters,
 pther fonts might be smaller, but not larger\&. A reasonable default list
 is appended\&.
 resource \fBfont\fP\&.
-.IP "\fB-grk\fP \fImode\fP"
-Compile \fIGreek\fP: Greek keyboard translation;
-\fBiso\fP: ISO-8859 mapping\&.
-\fBibm\fP: IBM-437 mapping;
-resource \fBgreek_keyboard\fP\&.
 .IP "\fB-name\fP \fIname\fP"
 Specify the application name under which resources
 are to be obtained, rather than the default executable file name\&.
@@ -293,15 +288,6 @@ unicode characters\&. The first font defines the cell size for characters,
 pther fonts might be smaller, but not larger\&. A reasonable default list
 is appended\&.
 option \fB-fn\fP\&.
-.IP "\fBgreek_keyboard:\fP \fImode\fP"
-Set the Greek keyboard translation mode to be used;
-\fBiso\fP: ISO-8859 mapping (elot-928) [default]\&.
-\fBibm\fP: IBM-437 mapping (DOS codepage 737);
-option \fB-grk\fP\&.
-.IP "\fBgreektoggle_key:\fP \fIkeysym\fP"
-Set the key to toggle keyboard input between no translation and
-Greek translation  [default \fBMode_switch\fP]\&.
-For more details, see the distributed file \fBREADME\&.greek\fP\&.
 .IP "\fBselectstyle:\fP \fImode\fP"
 Set mouse selection style to \fBold\fP which is 2\&.20, \fBoldword\fP which
 is xterm style with 2\&.20 old word selection, or anything else which
@@ -520,10 +506,6 @@ seen via the \fIwho(1)\fP command, and can accept messages\&.  To allow this
 feature, \fBrxvt\fP must be installed setuid root on some systems\&.
 .SH "COLORS AND GRAPHICS"
 .PP
-If graphics support was enabled at compile-time, \fBrxvt\fP can be queried
-with ANSI escape sequences and can address individual pixels instead of
-text characters\&.  Note the graphics support is still considered beta code\&.
-.PP
 In addition to the default foreground and background colours, \fBrxvt\fP
 can display up to 16 colours (8 ANSI colours plus high-intensity bold/blink
 versions of the same)\&.
@@ -1076,7 +1058,7 @@ University of Kent, 1992, wrote the original Xvt\&.
 .IP "Rob Nation <nation@rocket\&.sanders\&.lockheed\&.com>"
 very heavily modified Xvt and came up with Rxvt
 .IP "Angelo Haritsis <ah@doc\&.ic\&.ac\&.uk>"
-wrote the Greek Keyboard Input
+wrote the Greek Keyboard Input (no longer in code)
 .IP "mj olesen <olesen@me\&.QueensU\&.CA>"
 Wrote the menu system\&.
 .br
@@ -1084,6 +1066,11 @@ Project Coordinator (changes\&.txt 2\&.11 to 2\&.21)
 .IP "Oezguer Kesim <kesim@math\&.fu-berlin\&.de>"
 Project Coordinator (changes\&.txt 2\&.21a to 2\&.4\&.5)
 .IP "Geoff Wing <gcw@pobox\&.com>"
-Rewrote screen display and text selection routines\&.
+Rewrote screen display and text selection routines\&.
+Project Coordinator (changes\&.txt 2\&.4\&.6 - rxvt-unicode)
+.IP "Marc Alexander Lehman <rxvt@schmorp\&.de>"
+Rewrote most of the display code and internal character handling
+to store text in unicode\&. Numerous other fixes and extensions\&.
 .br
-Project Coordinator (changes\&.txt 2\&.4\&.6 - )
+Project Coordinator (Changes 1\&.0 - )
+.PP
diff --git a/doc/rxvt.tbl b/doc/rxvt.tbl

index 372d01e2aeaeea84996a3d20c41d76e6b2408b27..

index ..763b684ff64d8ac589639b3a0876196663ced074 100644

--- a/doc/rxvt.tbl
+++ b/doc/rxvt.tbl
@@ -81,11 +81,6 @@ unicode characters\&. The first font defines the cell size for characters,
 pther fonts might be smaller, but not larger\&. A reasonable default list
 is appended\&.
 resource \fBfont\fP\&.
-.IP "\fB-grk\fP \fImode\fP"
-Compile \fIGreek\fP: Greek keyboard translation;
-\fBiso\fP: ISO-8859 mapping\&.
-\fBibm\fP: IBM-437 mapping;
-resource \fBgreek_keyboard\fP\&.
 .IP "\fB-name\fP \fIname\fP"
 Specify the application name under which resources
 are to be obtained, rather than the default executable file name\&.
@@ -290,15 +285,6 @@ unicode characters\&. The first font defines the cell size for characters,
 pther fonts might be smaller, but not larger\&. A reasonable default list
 is appended\&.
 option \fB-fn\fP\&.
-.IP "\fBgreek_keyboard:\fP \fImode\fP"
-Set the Greek keyboard translation mode to be used;
-\fBiso\fP: ISO-8859 mapping (elot-928) [default]\&.
-\fBibm\fP: IBM-437 mapping (DOS codepage 737);
-option \fB-grk\fP\&.
-.IP "\fBgreektoggle_key:\fP \fIkeysym\fP"
-Set the key to toggle keyboard input between no translation and
-Greek translation  [default \fBMode_switch\fP]\&.
-For more details, see the distributed file \fBREADME\&.greek\fP\&.
 .IP "\fBselectstyle:\fP \fImode\fP"
 Set mouse selection style to \fBold\fP which is 2\&.20, \fBoldword\fP which
 is xterm style with 2\&.20 old word selection, or anything else which
@@ -517,10 +503,6 @@ seen via the \fIwho(1)\fP command, and can accept messages\&.  To allow this
 feature, \fBrxvt\fP must be installed setuid root on some systems\&.
 .SH "COLORS AND GRAPHICS"
 .PP
-If graphics support was enabled at compile-time, \fBrxvt\fP can be queried
-with ANSI escape sequences and can address individual pixels instead of
-text characters\&.  Note the graphics support is still considered beta code\&.
-.PP
 In addition to the default foreground and background colours, \fBrxvt\fP
 can display up to 16 colours (8 ANSI colours plus high-intensity bold/blink
 versions of the same)\&.
@@ -626,7 +608,7 @@ University of Kent, 1992, wrote the original Xvt\&.
 .IP "Rob Nation <nation@rocket\&.sanders\&.lockheed\&.com>"
 very heavily modified Xvt and came up with Rxvt
 .IP "Angelo Haritsis <ah@doc\&.ic\&.ac\&.uk>"
-wrote the Greek Keyboard Input
+wrote the Greek Keyboard Input (no longer in code)
 .IP "mj olesen <olesen@me\&.QueensU\&.CA>"
 Wrote the menu system\&.
 .br
@@ -634,6 +616,11 @@ Project Coordinator (changes\&.txt 2\&.11 to 2\&.21)
 .IP "Oezguer Kesim <kesim@math\&.fu-berlin\&.de>"
 Project Coordinator (changes\&.txt 2\&.21a to 2\&.4\&.5)
 .IP "Geoff Wing <gcw@pobox\&.com>"
-Rewrote screen display and text selection routines\&.
+Rewrote screen display and text selection routines\&.
+Project Coordinator (changes\&.txt 2\&.4\&.6 - rxvt-unicode)
+.IP "Marc Alexander Lehman <rxvt@schmorp\&.de>"
+Rewrote most of the display code and internal character handling
+to store text in unicode\&. Numerous other fixes and extensions\&.
 .br
-Project Coordinator (changes\&.txt 2\&.4\&.6 - )
+Project Coordinator (Changes 1\&.0 - )
+.PP
diff --git a/src/command.C b/src/command.C

index 4e0f9ff1826f6f6e8d5f49240b0361d65edac780..

index ..2adbcfc399f97d4fb83504dc8bddeee0b4b54ec5 100644

--- a/src/command.C
+++ b/src/command.C
@@ -3077,7 +3077,8 @@ rxvt_term::xterm_seq (int op, const char *str, unsigned char resp __attribute__
         change_font (str);
         break;
       case XTerm_locale:
-        /* TODO */
+        set_locale (str);
+        im_cb ();
         break;
 #if 0
       case XTerm_dumpscreen:	/* no error notices */
diff --git a/src/init.C b/src/init.C

index 914a357b0e6726f2a05dfd11eefc68d57118bbdb..

index ..65b7228b982e49a7aa9b244cb8b3f29102e17652 100644

--- a/src/init.C
+++ b/src/init.C
@@ -798,7 +798,7 @@ rxvt_term::set_locale (const char *locale)
 {
 #if HAVE_XSETLOCALE || HAVE_SETLOCALE
   free (this->locale);
-  this->locale = rxvt_strdup (setlocale (LC_CTYPE, ""));
+  this->locale = rxvt_strdup (setlocale (LC_CTYPE, locale));
   SET_LOCALE (this->locale);
   mbstate.reset ();
 #endif

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

-- Response ended

-- Page fetched on Sun Jun 2 11:59:37 2024