iTerm2 stopped showed cyrillic letters (it shows ? instead of them). Terminal.app worked fine. System localization was setup to Russian.
Everything were working in High Sierra
Clarification: iTerm2 is usually used not as 'ssh' client but as regular terminal app on client macOS machine instead.
I would like to not that changing LC_ALL to russian is not good option here since it will change entire locale variable which will change the behaviour of other applications, I don't want to have russian in terminal output on the servers for example. So I would suggest to change it to en_US.UTF-8 instead.
Solution is simple - just add export LC_ALL=ru_RU.UTF-8 to ~/.bashrc
Related
I have this rendering issue on Chinese characters on multiple console app: fzf, lazygit and vim (when running fzf).
I have set the chcp to 65001 as default, using the correct font for Chinese (so the displaying the characters themselves have no problem). And the problem occurs to 2 PCs I have, one running Win10 Pro, one Win10 home. I have also tried to set system locale to Chinese and Use Unicode NTF-8 for worldwide language support option. Both options result the same.
I suspect there is some generic system setting that I could have tried / missed out. Would appreciate if you could point out to me. Many thanks in advance!
I am trying to understand why Mac terminal font is not sharp.
Mac terminal most of the time shows up like this:
Rarely it shows up like this:
Much sharper. I want to make it so it is always like the second image here, the sharper version.
What could be causing the fond to be not as sharp like shown in the first image?
I am running macOS 12.0 Monterey.
And this is my General and Profiles tabs:
That's the Antialias text option in Terminal's Preference->Profiles. My guess is that you sometimes switch between the predefined Basic profile, which has the option enabled, and the Homebrew profile, which has it disabled.
In the Preferences General tab, you can setup the Terminal to use a non-default profile on startup. If you do so, but at the same time have new windows open with the default profile, you get a different profile for every Terminal window but the first, which may be why you see these differences.
I have a different emoji in my .bash_profile config depending on the user in the terminal. I have both IntelliJ and Android Studio and the emoji shows as a broken character (Two squares). Is there any way to get intellij to recognize emoji. I have a couple of user profiles and I set the emoji to provide me with an easy way to know what profile I'm in without taking up 10 characters in the cmd line. This way, I save 9 chars.
I know this sounds like a bit of a ridiculous request (Who the heck needs emoji in terminal), but since the Mac terminal supports it, I suppose it wouldn't be a huge deal to get it working in IntelliJ?
I use the same emacs config in my windows 7 and osx.
By default, I don't blink the cursor by setting (blink-cursor-mode 0).
In osx, when I type a non-candicate of auto-complete(for example, typing a new function name or some fdsafdsafdsa), at this moment, auto-complete matches nothing but each time I type a char, the cursor will blink once as if it's trying to do completion. This just works fine in my windows 7.
Is there anything wrong with my osx or Emacs For Mac OS X? What should I do to fix this since the cursor blinking too much is really upsetting me ?
Any help will be greatly appreciated ~ :)
On my test OS X system, I turned the blinking cursor off by setting its 'off' character to be equal to its 'on' character. This can be done with the Emacs setting 'blink-cursor-alist'. The format is '(ON-TYPE . OFF-TYPE)'. For me, the help was in section '14.20 Displaying the Cursor', in the on-line manual. See: https://www.gnu.org/software/emacs/manual/html_node/emacs/Cursor-Display.html
I have a mac, on which I routinely use two keyboard layouts, French and UK english.
Locally I have an installation of Aquamacs I believe, which is running fine. However my work involves connecting to a ssh server running on a Linux x64 architecture, and this is where the problem lies.
When running emacs over ssh with X forwarding, the keyboard layout/input method remains French, no matter what I do. I have tried toggling input method, forcing it to British, I even tried other input methods that seemed to work fine. The French mac keyboard layout is very unpractical for programming, so I would really like to use the regular british layout.
I have tried recompiling the latest version of emacs from scratch, I have also moved my .emacs so that it is not used and removed .emacs.d, to no avail. I have also tried the solution here How to return emacs to qwerty keyboard layout? This just changes U into U+1 in the status bar (I do not know what that means) but has no effect on the layout.
Any help would be greatly appreciated.
"I have tried toggling input method" is very vague,since there are many different levels where this can be done.
I suspect the issue is that your X server is using the French layout for some reason and that it does not correctly react to changes in Mac OS X's own layout choice. You might like to check the config of your X server.