VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   SecureCRT on the Mac (https://forums.vandyke.com/forumdisplay.php?f=24)
-   -   Local shell on OSX Catalina and zsh (https://forums.vandyke.com/showthread.php?t=13959)

bunub 10-31-2019 08:56 AM

Local shell on OSX Catalina and zsh
 
Hi,

OSX Catalina moved the shell from bash to zsh. Now when opening a local shell with SecureCRT (8.7 Beta), I received a Perl Error concerning the "locale" settings:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "en_CH"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Who to get rid of this message and to correct the encoding ?

Thanks

bgagnon 11-01-2019 07:06 AM

Hi bunub,

I've asked the developers to investigate. If progress is made or more info is needed I will post here. If you want to be contacted directly, please send an email to support@vandyke.com and reference Attn Brenda - Forum Thread #13959 in the subject line.

bgagnon 11-01-2019 07:29 AM

Hi bunub,

Our QA team cannot replicate the issue:
  • I know you wrote Catalina switched shells but can you run echo $SHELL to verify the shell in use?

  • Do you see these warnings when opening Terminal on the system?

  • What are the "Language and Region" settings on your system?

bunub 12-10-2019 11:56 AM

Local shell
 
Hi,

I finally got the time for this issue. Here is the local output:

mimic:~|‚αν echo $SHELL
/bin/zsh
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "en_CH"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
mimic:~|‚αν

When running terminal, it works fine. Language and region are set to English and Switzerland.

Any ideas ?

bunub 12-10-2019 01:21 PM

Local Shell
 
I think I found the problem.

Commenting the ZSH_THEME="pygmalion" in the .zshrc resolved my issue. It seems that some of the theme are handling the LC_LOCAL not correctly.

bgagnon 12-10-2019 01:33 PM

Hi bunub,

I changed my shell to zsh using the command indicated but I still cannot replicate your results.

What version of SecureCRT is installed?

I'm confused as to where the Perl references are coming from. Do you have a logon script that runs on the local system?

bgagnon 12-11-2019 07:05 AM

Hi bunub,

Thanks for posting the resolution. :)


All times are GMT -6. The time now is 09:59 PM.