From: Merciadri Luca on
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

In MATLAB, when I press the combinationf keys which normally lead to a
tilde (~), nothing appears. Why? It works under all the other apps.

Thanks.
- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- --

The dog is nude though the clothing cost a penny.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkuqiWMACgkQM0LLzLt8MhyjwACfdEB8Dk72ZesazXLZvz4PwtgJ
/CYAoKRKCZcAZfbfp7Mm8wnQZDI/x0RD
=Ul03
-----END PGP SIGNATURE-----
From: Walter Roberson on
Merciadri Luca wrote:

> In MATLAB, when I press the combinationf keys which normally lead to a
> tilde (~), nothing appears. Why? It works under all the other apps.

Do you mean the tilde by itself, char(126), or do you mean tilde as a
diacritical mark, such as over an n (char 241) or over an a (char 227) ?

Are you using a Windows PC? If so, then what font have you set up as your
default font, or what have you set up as your default language ?
From: Merciadri Luca on
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Walter Roberson <roberson(a)hushmail.com> writes:

> Merciadri Luca wrote:
>
>> In MATLAB, when I press the combinationf keys which normally lead to a
>> tilde (~), nothing appears. Why? It works under all the other apps.
>
> Do you mean the tilde by itself, char(126), or do you mean tilde as a
> diacritical mark, such as over an n (char 241) or over an a (char 227)
> ?
Astonishingly, the tilde by itself (char(126), as you say) does not
work, but the tilde as a diacritical mark such as ñ works nicely
(however, it is completely unuseful in MATLAB, unlike the bare ~).

> Are you using a Windows PC? If so, then what font have you set up as
> your default font, or what have you set up as your default language ?
Sorry, I thought it was clear but I am using MATLAB 7.0.0.19901 (R14),
under Debian Linux, kernel 2.6.26-2-686-bigmem (on i686).

Thanks.

- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- --

The secret of life is not to do what you like, but to like what you do.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkuriZIACgkQM0LLzLt8MhzeDwCdFoXlofmlM0/Ui5AgXUHcvLI1
KhEAn2FAPw4LkO1OjuCG24+gGB+newRz
=7/40
-----END PGP SIGNATURE-----
From: Walter Roberson on
Merciadri Luca wrote:
> -----BEGIN PGP SIGNED MESSAGE-----

>> Merciadri Luca wrote:

>>> In MATLAB, when I press the combinationf keys which normally lead to a
>>> tilde (~), nothing appears.

> Astonishingly, the tilde by itself (char(126), as you say) does not
> work,

If you give

char(126)

as a command, does it display the tilde? If so then does copying and
pasting that work?


> Sorry, I thought it was clear but I am using MATLAB 7.0.0.19901 (R14),
> under Debian Linux, kernel 2.6.26-2-686-bigmem (on i686).

Okay... what is your LANG environment variable set to? And if you unset
LANG or set it to en-US before you start Matlab, does tilde start working?
From: Merciadri Luca on
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Walter Roberson <roberson(a)hushmail.com> writes:

> If you give
>
> char(126)
>
> as a command, does it display the tilde? If so then does copying and
> pasting that work?
Totally. Here is an excerpt from my commnds:

==
>> char(126)

ans =

~
==
>
>> Sorry, I thought it was clear but I am using MATLAB 7.0.0.19901 (R14),
>> under Debian Linux, kernel 2.6.26-2-686-bigmem (on i686).
>
> Okay... what is your LANG environment variable set to? And if you
> unset LANG or set it to en-US before you start Matlab, does tilde
> start working?
$ echo $LANG
en_US.UTF-8


Normal, as I am working on a workstation with English language, with
English GUIs, English GNOME, _but_ AZERTY keyboard (physically and on
the layout point of view).

- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- --

Something is better than nothing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkurnaUACgkQM0LLzLt8MhwPfgCfX1V7vSrQhCLfwec1szrUKAWh
cgoAmwVACXpteDwrX0N/Fc9tdEb7N1p9
=t7bP
-----END PGP SIGNATURE-----