You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to type the character â over an SSH session #518
Locally, I'm able to type the â character in an IRB console without problems. However, when running IRB remotely on an SSH connexion, I'm unable to type the character.
Locally:
Screen.Recording.2023-03-08.at.10.21.22.AM.mov
Remotely
Screen.Recording.2023-03-08.at.10.22.14.AM.mov
Result of irb_info
Local
Ruby version: 3.1.3
IRB version: irb 1.6.2 (2022-12-13)
InputMethod: RelineInputMethod with Reline 0.3.2 and /Users/louim/.inputrc
.irbrc path: /Users/louim/.irbrc
RUBY_PLATFORM: x86_64-darwin21
LANG env: en_US.UTF-8
East Asian Ambiguous Width: 1
Remote
Ruby version: 3.1.3
IRB version: irb 1.4.1 (2021-12-25)
InputMethod: ReidlineInputMethod with Reline 0.3.1
.irbrc path: /home/app/.irbrc
RUBY_PLATFORM: x86_64-linux
LANG env: en_CA.UTF-8
LC_ALL env: en_CA.UTF-8
East Asian Ambiguous Width: 1
Terminal Emulator
Iterm 2 Build 3.4.19
Setting Files
Remote:
cat ~/.irbrc
IRB.conf[:USE_AUTOCOMPLETE] = false
Going over the irb_info, I see that the reline and the IRB versions are different. Could it be related? I'm not sure how / when reline and IRB is updated in relation to the installed ruby version.
Thanks for your report!
Perhaps this default setting in Reline has caused it to be assigned to a different key binding.
I think this is a problem with Reline. I will transfer this issue.
Activity
ima1zumi commentedon Mar 9, 2023
Could you type
âin remote shell, for example, bash?Also, please tell me how to type ^a to display â.
Is there a shortcut or an OS setting?
louim commentedon Mar 9, 2023
It seems to be working correctly in Bash:
Screen.Recording.2023-03-08.at.8.47.28.PM.mov
In Mac OS (I'm sure there is an equivalent on other OS'es):
^aima1zumi commentedon Mar 16, 2023
Thanks for your report!
Perhaps this default setting in Reline has caused it to be assigned to a different key binding.
I think this is a problem with Reline. I will transfer this issue.
https://github.com/ruby/reline/blob/master/lib/reline/ansi.rb#L122-L123
tompng commentedon Jul 19, 2023
fixed in #569
See https://github.com/ruby/reline/pull/569/files#r1260260271