[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63400] [MXE Octave] Arrow keys not working in
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #63400] [MXE Octave] Arrow keys not working in CLI |
Date: |
Tue, 22 Nov 2022 12:45:22 -0500 (EST) |
Follow-up Comment #6, bug #63400 (project octave):
The following additional change fixes it for me for the MinGW readline in
MSYS2:
--- readline-8.2/nls.c.orig 2022-08-15 15:38:51.000000000 +0200
+++ readline-8.2/nls.c 2022-11-22 18:37:21.816799800 +0100
@@ -141,8 +141,10 @@
if (lspec == 0)
lspec = "";
ret = setlocale (LC_CTYPE, lspec); /* ok, since it does not change locale
*/
+#if !defined (__MINGW32__)
if (ret == 0 || *ret == 0)
ret = setlocale (LC_CTYPE, (char *)NULL);
+#endif
if (ret == 0 || *ret == 0)
ret = RL_DEFAULT_LOCALE;
#else
Maybe, that will also help for our version of it.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63400>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63400] [MXE Octave] Arrow keys not working in CLI, Markus Mützel, 2022/11/22
- [Octave-bug-tracker] [bug #63400] [MXE Octave] Arrow keys not working in CLI, John Donoghue, 2022/11/22
- [Octave-bug-tracker] [bug #63400] [MXE Octave] Arrow keys not working in CLI, Markus Mützel, 2022/11/22
- [Octave-bug-tracker] [bug #63400] [MXE Octave] Arrow keys not working in CLI, Markus Mützel, 2022/11/22
- [Octave-bug-tracker] [bug #63400] [MXE Octave] Arrow keys not working in CLI, John Donoghue, 2022/11/22
- [Octave-bug-tracker] [bug #63400] [MXE Octave] Arrow keys not working in CLI, Markus Mützel, 2022/11/22
- [Octave-bug-tracker] [bug #63400] [MXE Octave] Arrow keys not working in CLI,
Markus Mützel <=
- [Octave-bug-tracker] [bug #63400] [MXE Octave] Arrow keys not working in CLI, Markus Mützel, 2022/11/26
- [Octave-bug-tracker] [bug #63400] [MXE Octave] Arrow keys not working in CLI, Markus Mützel, 2022/11/27
- [Octave-bug-tracker] [bug #63400] [MXE Octave] Arrow keys not working in CLI, Markus Mützel, 2022/11/28