1833758 Members
2759 Online
110063 Solutions
New Discussion

Pound Sign (#)

 
Andy Elston
Advisor

Pound Sign (#)

Why is it that I cant get a pound sign to show on our UX 11 system. I can acheive it via a terminal emulator but when I exit and login again all pound signs appear as #. This happens even if I save my emulation changes.
Any ideas?
3 REPLIES 3
Alex Glennie
Honored Contributor

Re: Pound Sign (#)

Not sure but try putting your "changes" in your .profile and running your "terminal emulator" with -ls command option if its dtterm,xterm or hpterm.

If not detail exactly how you get the ? sign and under what enviroment.

I suspect you need to set LANG, Locale etc in .profile and then ensure the correct keyboard mapping is in place and your .profile is being sourced.
Stefan Farrelly
Honored Contributor

Re: Pound Sign (#)


You can always get a pound sign to show with;

echo "\0257" from a dtterm
or from a win/nt telnet window;
echo "\0243"

Now, trying to get the shift-3 key working as a pound sign instead of a # is completely dependant on your terminal emulator. You can do it with Win/NT telnet but you will need a particular font - R_ANSI. Its not default and Ive been trying unsuccessfully to obtain it, then when you telnet in you do;
stty cs8 -parenb -ixany -istrip
and now the shift-3 key should work.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Andreas Garbe
Advisor

Re: Pound Sign (#)

Hi,
please type this in /etc/profile an you have the Pound Sign and any other Characters

# German umlauts and special characters in HP-UX
#
stty cs8 -istrip

rgds
Andreas