Hi,

I don't know how to get syntax highlighting for nano, when I start it
from the Jwm menu.

Now I run
[rocketmouse@archlinux ~]$ grep nano .jwmrc
      <Program label="Nano">roxterm --maximize -T Nano -e nano</Program>
and syntax highlighting doesn't work.

If I run nano in roxterm by
[rocketmouse@archlinux ~]$ nano /etc/fstab
the highlighting (~/.nanorc) takes effect, but if I run
[rocketmouse@archlinux ~]$ nano
and then read /etc/fstab I don't get syntax highlighting.

If the below option should be related to the highlighting, then I don't
understand how to use it.
[rocketmouse@archlinux ~]$ nano --help | grep syntax
 -Y <str>       --syntax=<str>
Syntax definition to use for coloring

Any hints are welcome.

Regards,
Ralf

Reply via email to