nano syntax highlighting doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux