Charset or encoding to access Caché terminal through Powershell
Hi,
is anyone using Powershell to access Caché terminal in non-english systems?
I'm trying to access using: csession INSTANCE
But from the beginning it fails to represent spanish characters like ñ,...
It doesn't recognize up-down cursor keys to see previous commands...
Any idea?
Try:
in the beginning of your script.
Also you need to check that your console font has required symbols.
Almost worked... I got the right symbol in login, but, once within the terminal special characters are not recognized.
Up and Down keys are still not recognized.
Is that a production instance?
Is that 8bit or Unicode instance?
What I/O tables NLS routine shows? (Note that modifying locales/defaults can be potentially application-breaking change so do it only if you know what you're doing)
OK. We're improving a bit.
I've changed Cache Terminal to CP850 which is the code page that Windows Powershell uses by default:
Now, any idea how could I make up-down keys work so to see the commands' history? Also, as Robert C. also mentioned… it seems that Ctrl-C quits not only from the command/function in execution but from Caché Terminal itself...
I don't think it's possible.
You can spawn cterm from powershell with
interesting observation with CHPC 65001:
a loop USER>for i=1:1:255 write i," ",$c(i),! stops the session with any character > $c(127).
I'd suggest forget that M$ crap.
Use Putty or any thing else.
Cache for Windows (x86-64) 2018.1.1 (Build 312U) Thu Jan 3 2019 14:34:00 EST
Social networks
InterSystems resources
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue