unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#65148: the turkish keyboard layout in the windows's terminal bug
@ 2023-08-08 12:20 Ferhat Avcı
  2023-08-08 12:43 ` Eli Zaretskii
  0 siblings, 1 reply; 16+ messages in thread
From: Ferhat Avcı @ 2023-08-08 12:20 UTC (permalink / raw)
  To: 65148

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

In the windows's terminal(app was opened with -nw command), pressing ğ char
not adding char ğ. it does undo command.Please sir fixing this issue.
Emacs version is 29.1. I am using currently Windows 10.

[-- Attachment #2: Type: text/html, Size: 244 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#65148: the turkish keyboard layout in the windows's terminal bug
  2023-08-08 12:20 bug#65148: the turkish keyboard layout in the windows's terminal bug Ferhat Avcı
@ 2023-08-08 12:43 ` Eli Zaretskii
       [not found]   ` <CAOJXmgHskLcDNRcrpRzOViy54MA1XhM=RrWuJz-tooKbgyRf8g@mail.gmail.com>
  0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2023-08-08 12:43 UTC (permalink / raw)
  To: Ferhat Avcı; +Cc: 65148

> From: Ferhat Avcı <ferhat3223@gmail.com>
> Date: Tue, 8 Aug 2023 15:20:54 +0300
> 
> In the windows's terminal(app was opened with -nw command), pressing ğ char not adding char ğ. it
> does undo command.Please sir fixing this issue.
> Emacs version is 29.1. I am using currently Windows 10.

Please type

  M-: (terminal-coding-system) RET

and post here what Emacs says as result.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#65148: the turkish keyboard layout in the windows's terminal bug
       [not found]   ` <CAOJXmgHskLcDNRcrpRzOViy54MA1XhM=RrWuJz-tooKbgyRf8g@mail.gmail.com>
@ 2023-08-08 13:52     ` Eli Zaretskii
       [not found]       ` <CAOJXmgF-vKVEb_ENAyo_gGFe7KjDkbVSgLSaMmUfFNSv2Fy3TA@mail.gmail.com>
  0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2023-08-08 13:52 UTC (permalink / raw)
  To: Ferhat Avcı; +Cc: 65148

[Please use Reply All to reply, so that the bug address is on the CC list.]

> From: Ferhat Avcı <ferhat3223@gmail.com>
> Date: Tue, 8 Aug 2023 16:36:05 +0300
> 
> cp437

OK.  Please try

   M-: (w32-set-console-codepage 857) RET
   C-x RET k cp857 RET

If that doesn't help, try

   M-: (w32-set-console-codepage 1254) RET
   C-x RET k cp1254 RET





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#65148: the turkish keyboard layout in the windows's terminal bug
       [not found]       ` <CAOJXmgF-vKVEb_ENAyo_gGFe7KjDkbVSgLSaMmUfFNSv2Fy3TA@mail.gmail.com>
@ 2023-08-08 15:26         ` Eli Zaretskii
  2023-08-08 17:26           ` Ferhat Avcı
  0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2023-08-08 15:26 UTC (permalink / raw)
  To: Ferhat Avcı; +Cc: 65148

[Please use Reply All in your responses.]

> From: Ferhat Avcı <ferhat3223@gmail.com>
> Date: Tue, 8 Aug 2023 16:57:10 +0300
> 
> it doesn't work.

What if you type

  chcp 857

or

  chcp 1254

in the cmd.exe window before invoking "emacs -nw"?  Does that help?





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#65148: the turkish keyboard layout in the windows's terminal bug
  2023-08-08 15:26         ` Eli Zaretskii
@ 2023-08-08 17:26           ` Ferhat Avcı
  2023-08-08 17:34             ` Eli Zaretskii
  0 siblings, 1 reply; 16+ messages in thread
From: Ferhat Avcı @ 2023-08-08 17:26 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 65148

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

no doesn't work. I am pressing my keyboard turkish character "ı". it
inserts 1,which is a number.

Eli Zaretskii <eliz@gnu.org>, 8 Ağu 2023 Sal, 18:26 tarihinde şunu yazdı:

> [Please use Reply All in your responses.]
>
> > From: Ferhat Avcı <ferhat3223@gmail.com>
> > Date: Tue, 8 Aug 2023 16:57:10 +0300
> >
> > it doesn't work.
>
> What if you type
>
>   chcp 857
>
> or
>
>   chcp 1254
>
> in the cmd.exe window before invoking "emacs -nw"?  Does that help?
>

[-- Attachment #2: Type: text/html, Size: 903 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#65148: the turkish keyboard layout in the windows's terminal bug
  2023-08-08 17:26           ` Ferhat Avcı
@ 2023-08-08 17:34             ` Eli Zaretskii
       [not found]               ` <CAOJXmgHtrW4OQj5zKCxcVmHaV32Z0PpfvPSk0PzjU8kXTUtq+Q@mail.gmail.com>
  0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2023-08-08 17:34 UTC (permalink / raw)
  To: Ferhat Avcı; +Cc: 65148

> From: Ferhat Avcı <ferhat3223@gmail.com>
> Date: Tue, 8 Aug 2023 20:26:14 +0300
> Cc: 65148@debbugs.gnu.org
> 
> no doesn't work. I am pressing my keyboard turkish character "ı". it inserts 1,which is a number.

If you type "chcp" into the cmd.exe window, what does Windows say?

If you type "echo ı > file", and then open the file in Emacs, what do
you see in the file, and what is the value of
buffer-file-coding-system of that file?





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#65148: the turkish keyboard layout in the windows's terminal bug
       [not found]               ` <CAOJXmgHtrW4OQj5zKCxcVmHaV32Z0PpfvPSk0PzjU8kXTUtq+Q@mail.gmail.com>
@ 2023-08-08 18:15                 ` Eli Zaretskii
       [not found]                   ` <CAOJXmgF2QLyCsxv2vKRJXrkUQGtqMop8tmufak_b3HJF8Ryr5Q@mail.gmail.com>
  0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2023-08-08 18:15 UTC (permalink / raw)
  To: Ferhat Avcı; +Cc: 65148

[Please don't forget to CC the bug address on your replies.]

> From: Ferhat Avcı <ferhat3223@gmail.com>
> Date: Tue, 8 Aug 2023 20:57:12 +0300
> 
> in bottom left corner DD9

And the character you typed is displayed correctly, as "ı"?

What happens if you start "emacs -nw" and then type

  C-x RET k windows-1254 RET





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#65148: the turkish keyboard layout in the windows's terminal bug
       [not found]                   ` <CAOJXmgF2QLyCsxv2vKRJXrkUQGtqMop8tmufak_b3HJF8Ryr5Q@mail.gmail.com>
@ 2023-08-08 19:06                     ` Eli Zaretskii
       [not found]                       ` <CAOJXmgHfp+BYn3U025xpqD=znQ58yfG-OuUJfTtq-RJc6G2-tw@mail.gmail.com>
  0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2023-08-08 19:06 UTC (permalink / raw)
  To: Ferhat Avcı; +Cc: 65148

> From: Ferhat Avcı <ferhat3223@gmail.com>
> Date: Tue, 8 Aug 2023 21:52:05 +0300
> 
> No it doesn't work. But thank you.

Can you figure out which bytes the keyboard sends when you type those
characters, "ı" and "ğ"?





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#65148: the turkish keyboard layout in the windows's terminal bug
       [not found]                       ` <CAOJXmgHfp+BYn3U025xpqD=znQ58yfG-OuUJfTtq-RJc6G2-tw@mail.gmail.com>
@ 2023-08-09 12:21                         ` Eli Zaretskii
       [not found]                         ` <CAOJXmgEBjZMMrLC3qVTM_f=O=_6c3r6kf6m4WOkLcfHZ+dTMuQ@mail.gmail.com>
  1 sibling, 0 replies; 16+ messages in thread
From: Eli Zaretskii @ 2023-08-09 12:21 UTC (permalink / raw)
  To: Ferhat Avcı; +Cc: 65148

[You are once again replying only to me.  Please CC the bug address.]

> From: Ferhat Avcı <ferhat3223@gmail.com>
> Date: Wed, 9 Aug 2023 12:17:30 +0300
> 
> How can i find out the byte of chars ?

If you cave a port of the 'cat' program, then an easy way is this:

  cat > some-file

Then type ığ and press RET, then Ctrl-Z.  The file "some-file" will
have the bytes the keyboard sent.  Then you can either post that file
as a binary attachment, or use Emacs to show the bytes, e.g., with
"M-x hexl-find-file RET".

'cat' is part of GNU Coreutils, so if you don't have it, perhaps find
some port and install it?

Also, where did you get this version of Emacs?  If you downloaded a
pre-built binary, can you tell from which site?





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#65148: the turkish keyboard layout in the windows's terminal bug
       [not found]                         ` <CAOJXmgEBjZMMrLC3qVTM_f=O=_6c3r6kf6m4WOkLcfHZ+dTMuQ@mail.gmail.com>
@ 2023-08-09 12:23                           ` Eli Zaretskii
       [not found]                             ` <CAOJXmgFeOAmGEOkCW4aKOKO4-E=BkHXn8B0jCFHONNxzcJ=0PA@mail.gmail.com>
  0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2023-08-09 12:23 UTC (permalink / raw)
  To: Ferhat Avcı; +Cc: 65148

> From: Ferhat Avcı <ferhat3223@gmail.com>
> Date: Wed, 9 Aug 2023 12:30:03 +0300
> 
> I executed "describe-key-briefly" to show which commands calling in emacs.Then I pressed the
> turkish character on the keyboard, which is ğ. It prints this output.
> --------------------------------------------------------------------
> C-_ runs the command undo (found in global-map), which is an
> interactive native-compiled Lisp function in ‘simple.el’.

C-_ has the character code of 0x1F, which is the lower byte of ğ,
whose codepoint is 0x11F.  So for some reason Emacs doesn't see the
upper byte, not sure why.

How are your regional and language preferences set on that system?





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#65148: the turkish keyboard layout in the windows's terminal bug
       [not found]                             ` <CAOJXmgFeOAmGEOkCW4aKOKO4-E=BkHXn8B0jCFHONNxzcJ=0PA@mail.gmail.com>
@ 2023-08-09 13:46                               ` Eli Zaretskii
  2023-08-09 14:05                                 ` Eli Zaretskii
  0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2023-08-09 13:46 UTC (permalink / raw)
  To: Ferhat Avcı; +Cc: 65148

> From: Ferhat Avcı <ferhat3223@gmail.com>
> Date: Wed, 9 Aug 2023 16:35:33 +0300
> 
> Regional: Turkish
> Keyboard: Turkish Q
> Language: Turkish

Don't you have a system codepage somewhere there?  If so, what is it?

P.S. And you again replied only to me.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#65148: the turkish keyboard layout in the windows's terminal bug
  2023-08-09 13:46                               ` Eli Zaretskii
@ 2023-08-09 14:05                                 ` Eli Zaretskii
       [not found]                                   ` <CAOJXmgF4r+f6t0wkpyVy2G95u=xQD=f8Xo9w7YcSVZghBm7Ybg@mail.gmail.com>
  0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2023-08-09 14:05 UTC (permalink / raw)
  To: ferhat3223; +Cc: 65148

> Cc: 65148@debbugs.gnu.org
> Date: Wed, 09 Aug 2023 16:46:34 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> 
> > From: Ferhat Avcı <ferhat3223@gmail.com>
> > Date: Wed, 9 Aug 2023 16:35:33 +0300
> > 
> > Regional: Turkish
> > Keyboard: Turkish Q
> > Language: Turkish
> 
> Don't you have a system codepage somewhere there?  If so, what is it?

Also, what does the following display in Emacs:

  M-: current-language-environment RET





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#65148: the turkish keyboard layout in the windows's terminal bug
       [not found]                                   ` <CAOJXmgF4r+f6t0wkpyVy2G95u=xQD=f8Xo9w7YcSVZghBm7Ybg@mail.gmail.com>
@ 2023-08-09 14:42                                     ` Eli Zaretskii
       [not found]                                       ` <CAOJXmgGnVvgCb-_v-aFwFA2Dpr__1XLcnOOJp1U7-e0riLpUfg@mail.gmail.com>
  0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2023-08-09 14:42 UTC (permalink / raw)
  To: Ferhat Avcı; +Cc: 65148

> From: Ferhat Avcı <ferhat3223@gmail.com>
> Date: Wed, 9 Aug 2023 17:35:22 +0300
> 
> I pressed C-h v ,then wrote "current-language-environment."
> 
> -------------------------
> current-language-environment is a variable defined in ‘mule-cmds.el’.
> 
> Its value is "UTF-8"
> Original value was "English"

Why UTF-8?  That's not a good idea on Windows.  Did you customize your
Emacs to set this language-environment?  If so, do you see the problem
with the keyboard input of ğ and ı in "emacs -Q -nw"?





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#65148: the turkish keyboard layout in the windows's terminal bug
       [not found]                                       ` <CAOJXmgGnVvgCb-_v-aFwFA2Dpr__1XLcnOOJp1U7-e0riLpUfg@mail.gmail.com>
@ 2023-08-09 16:46                                         ` Eli Zaretskii
       [not found]                                           ` <CAOJXmgEZXAoC7cdjYFG5ckn+4a76v3u371qkZpEG0DNkc=WNgQ@mail.gmail.com>
  0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2023-08-09 16:46 UTC (permalink / raw)
  To: Ferhat Avcı; +Cc: 65148

> From: Ferhat Avcı <ferhat3223@gmail.com>
> Date: Wed, 9 Aug 2023 19:37:04 +0300
> 
> I set the Turkish,but nothing has changed.Thank you.

Does the problem still exist if you start Emacs as "emacs -Q -nw"?  Do
you still get ğ to run Undo in that case?  Or does something change?
If something does change, please tell what changes in "emacs -Q -nw",
it's important.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#65148: the turkish keyboard layout in the windows's terminal bug
       [not found]                                           ` <CAOJXmgEZXAoC7cdjYFG5ckn+4a76v3u371qkZpEG0DNkc=WNgQ@mail.gmail.com>
@ 2023-08-09 18:02                                             ` Eli Zaretskii
       [not found]                                               ` <CAOJXmgFD1O1tn9c5mGeeBsnTVXGhp7RdqunUpHTj3Pt-mNrchg@mail.gmail.com>
  0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2023-08-09 18:02 UTC (permalink / raw)
  To: Ferhat Avcı; +Cc: 65148

> From: Ferhat Avcı <ferhat3223@gmail.com>
> Date: Wed, 9 Aug 2023 19:55:45 +0300
> 
> It's same. Still ğ doing undo.

And what does "C-h v current-language-environment RET" say in
"emacs -Q -nw"?  Also, what does "C-h v current-locale-environment RET"
say in "emacs -Q -nw"?





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#65148: the turkish keyboard layout in the windows's terminal bug
       [not found]                                               ` <CAOJXmgFD1O1tn9c5mGeeBsnTVXGhp7RdqunUpHTj3Pt-mNrchg@mail.gmail.com>
@ 2023-08-09 18:19                                                 ` Eli Zaretskii
  0 siblings, 0 replies; 16+ messages in thread
From: Eli Zaretskii @ 2023-08-09 18:19 UTC (permalink / raw)
  To: Ferhat Avcı; +Cc: 65148

> From: Ferhat Avcı <ferhat3223@gmail.com>
> Date: Wed, 9 Aug 2023 21:15:05 +0300
> 
> I got it done. In config file added i ;
> 
> (if (display-graphic-p) nil
> (global-set-key (kbd "C-_") "ğ")
> (global-set-key (kbd "C-^") "Ğ")
> (global-set-key (kbd "_") "ş")
> (global-set-key (kbd "^") "Ş")
>   )

That's fine for you personally, but it doesn't really solve the
problem.





^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-08-09 18:19 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08 12:20 bug#65148: the turkish keyboard layout in the windows's terminal bug Ferhat Avcı
2023-08-08 12:43 ` Eli Zaretskii
     [not found]   ` <CAOJXmgHskLcDNRcrpRzOViy54MA1XhM=RrWuJz-tooKbgyRf8g@mail.gmail.com>
2023-08-08 13:52     ` Eli Zaretskii
     [not found]       ` <CAOJXmgF-vKVEb_ENAyo_gGFe7KjDkbVSgLSaMmUfFNSv2Fy3TA@mail.gmail.com>
2023-08-08 15:26         ` Eli Zaretskii
2023-08-08 17:26           ` Ferhat Avcı
2023-08-08 17:34             ` Eli Zaretskii
     [not found]               ` <CAOJXmgHtrW4OQj5zKCxcVmHaV32Z0PpfvPSk0PzjU8kXTUtq+Q@mail.gmail.com>
2023-08-08 18:15                 ` Eli Zaretskii
     [not found]                   ` <CAOJXmgF2QLyCsxv2vKRJXrkUQGtqMop8tmufak_b3HJF8Ryr5Q@mail.gmail.com>
2023-08-08 19:06                     ` Eli Zaretskii
     [not found]                       ` <CAOJXmgHfp+BYn3U025xpqD=znQ58yfG-OuUJfTtq-RJc6G2-tw@mail.gmail.com>
2023-08-09 12:21                         ` Eli Zaretskii
     [not found]                         ` <CAOJXmgEBjZMMrLC3qVTM_f=O=_6c3r6kf6m4WOkLcfHZ+dTMuQ@mail.gmail.com>
2023-08-09 12:23                           ` Eli Zaretskii
     [not found]                             ` <CAOJXmgFeOAmGEOkCW4aKOKO4-E=BkHXn8B0jCFHONNxzcJ=0PA@mail.gmail.com>
2023-08-09 13:46                               ` Eli Zaretskii
2023-08-09 14:05                                 ` Eli Zaretskii
     [not found]                                   ` <CAOJXmgF4r+f6t0wkpyVy2G95u=xQD=f8Xo9w7YcSVZghBm7Ybg@mail.gmail.com>
2023-08-09 14:42                                     ` Eli Zaretskii
     [not found]                                       ` <CAOJXmgGnVvgCb-_v-aFwFA2Dpr__1XLcnOOJp1U7-e0riLpUfg@mail.gmail.com>
2023-08-09 16:46                                         ` Eli Zaretskii
     [not found]                                           ` <CAOJXmgEZXAoC7cdjYFG5ckn+4a76v3u371qkZpEG0DNkc=WNgQ@mail.gmail.com>
2023-08-09 18:02                                             ` Eli Zaretskii
     [not found]                                               ` <CAOJXmgFD1O1tn9c5mGeeBsnTVXGhp7RdqunUpHTj3Pt-mNrchg@mail.gmail.com>
2023-08-09 18:19                                                 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).