Re: How to enable nanorc file?
Benno Schulenberg <[email protected]> Fri, 21 May 2021 16:24:03 +0200
| Newsgroups | gmane.editors.nano.general |
|---|---|
| Message-ID | <[email protected]> |
Op 21-05-2021 om 08:40 schreef Kemal Gençay: > The begining of nanorc file states that --enable-nanorc should be configured. That text is in old versions of sample.nanorc (wich many distros install as /etc/nanorc). You can ignore it. It is irrelevant for people who do not build nano themselves. > I write .nanorc file with a single line stating --enable-nanorc and get the > following error when opening nano: > > Error in /home/kemal/.nanorc on line 1: Command "--enable-nanorc" not understood The --enable-nanorc is a configure option, not a command-line option, and not a nanorc option (which all start with 'set' or 'color'). > When I delete .nanorc file from my home directory expecting /etc/nanorc file to > be in effect, to no avail. Hmm. It seems you did build nano yourself. Did you? If yes, then please build the latest version of nano (5.7), and pay attention to the last two lines of output of ./configure. Also see: https://nano-editor.org/dist/latest/faq.html#3.9 But best is to ignore /etc/nanorc and just copy it into your ~/.nanorc, and then edit/remove everything that you don't need. Benno
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEv9AJBh5TUFKtDfIVDSjU0qCs6IQFAmCnwosACgkQDSjU0qCs 6ISVQA//XCtrWvTESZlgudF5L8Zvv51BRfyb2BITAZozw1Gsx/bv/nN9612zhYEB JR0XnNv147ben94vNEq4WHF/7zRS/+RsivyUzIvCcq/F39ne5+F1gsooSlxyPolh Wlr/IAih7Hpvc5VHXpuToN27dzvF6uu5g7aU+V5/GmJ+5ibZRj1uys8KX4UhHzEq lU9RihUPJsYSECmcbx4T3x6cjdLCI2jkRgde5d0mV6wX53/XJs/pUIZXJO7/pZjV 9+cFQW6aZb9HztMr5m6CZdMkil7qmHpVHyDsJ8RvdMExz4p07iDbwPRviycjyK3P xSlLSjNtBH2iWst1+IPqF04HNFQj3bV2jFfXpgk5I9V+hCjGVOygAcMtiLwVdZUy DvnnGiE5w9mmMX2TZT7M7dHTXMwvCM6EWCYuQYv0H4a8fD3AJc+wZH0irM1C2g5h MljC6EMGaPAmQzmVZz04P1RdgqNepbwYTo1tLPpuU+iy/3AP9jlWpmbiRCFNX508 Fvbh8a3F7HYhIlHDtUpDB3QOOpTmiQ1psWUOjepReebZHpmnhTA9ZhJR2vfr/G61 X3PISV9RJ17KM3YvrEEh83ZTMVl5V8JfatBc1k0ZebfCJA0lfyb4tZ32H1vUGt6v eRG6cvk52g6PDmmrwneRpdG7sCt0+WKnnqidFnL6pdo6xI/AWeo= =vaIc -----END PGP SIGNATURE-----