octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50542] Can't type backslash on JIS Keyboard


From: anonymous
Subject: [Octave-bug-tracker] [bug #50542] Can't type backslash on JIS Keyboard
Date: Sat, 24 Nov 2018 22:06:02 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.1 Safari/605.1.15

Follow-up Comment #3, bug #50542 (project octave):

Hi, I am another macOS Octave user using a JIS keyboard. 

As a background, JIS keyboards have a weird legacy issue in which the "yen"
character (Unicode U+00A5) is mapped to 0x5c (due to Microsoft appropriating
that code for the yen symbol in its Shift-JIS encoding scheme many decades
ago). Even more confusingly, JIS keyboards built for Windows sometimes feature
a separate "backslash" key, but it does not do anything in macOS by default.

That said, I'd like to report the following:

1) Octave 4.4.1 built from MacPorts and ran within Terminal.app works
correctly, mapping the JIS keyboard "yen" key to backslash by default. For
reference, my macOS session is configured to use Japanese by default, and LANG
is set to ja_JP.UTF-8.

2) Octave 4.4.0 built as a Cocoa app does _not_ correctly treat the yen key,
moving the insertion point to beginning of word or line. The user may
reasonable expect to either receive the backslash character or the Unicode yen
character, but not this. The workaround is to use option key + yen; this is
slightly cumbersome, but it does let me type the backslash character. It may
be useful to put this information in the Japanese localized startup message.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?50542>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]