Re: Syntax Coloring in Restricted Mode

Benno Schulenberg <[email protected]> Mon, 5 Oct 2020 20:15:13 +0200
Newsgroups gmane.editors.nano.general
Message-ID <[email protected]>
Op 05-10-2020 om 17:41 schreef Jafar Al-Gharaibeh:
> We have a product where we want the end user to be able to view/edit a few files
> but nothing else, exactly what restricted mode is designed to do.

Which product is that?  If I'm allowed to ask.  :)

> Is --rcfile meant to be used in addition to -R ? i.e restricted and with custom
> configs ?

Precisely.  (--rcfile can be used for other things too, but it will work together
with -R.)

> I did look at the sources yesterday and noticed the version is up to  5.2, might
> as well go with the latest version if I'm building from sources.

Yes, version 5.2 is a good one -- no serious bugs, as far as I know.

> Thanks for the great work Benno,

Thank you for using nano.  :)

Benno
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEv9AJBh5TUFKtDfIVDSjU0qCs6IQFAl97YrEACgkQDSjU0qCs
6IS4BQ//XrtVw4yYMJ8ATjbEY1Qz9PabyjPOFxMdHL1al7LcMAmmTpEGOK4+4avg
4p9F9h4DTXGAWyIyOmUh8T0HjAT3CAD5DCB9ZpMTlxS3EJZhbye6gOQYQDqsqu/K
i24Q8Xvq2LI2IzVKfF2oR4cpDbYSGuC6w9FVDq9kfzcCP6IOxrfAIRkbzxA20PMX
wRZ8TDx5O/8ouaQVRkg3xzHevfLDGXQ38qYiFHwqrtUduyfZs7rCAWU32TNzIKsO
Rzq7V0+iCIyz6cz0VgxunGoLuTT9LXIs2elWLAuFS4uQZzV3zvbq3wGGnW+bpFON
nPom3/jwiqKwmP3HHIFv60PZAzYbN5jIB9tGoHz3NxtSn2zChfmNrltwWpT9yaDF
HebsHfhuA2PahtU/lHXuix5+z3dgziS7Jd443KjomLhmMuM6SmACCbV8aLvyVaGP
3yfTN1o3QRL5mPg5Nz1zzBa62lTycGTmzu5C/9gR/Iq0qPPubr3Mf43DvbrfQSIy
ntC63R0/WuY9uUmQ6aQpCRJX3AI7lccpznydL88ehRJrk2wx9AtToJVeLcsJ0FAl
UsetZpt3HZZGn1s28TH19EW4mVYxn4uiqwNrVggiId17OdzdsoX2FHogQLkVxbaR
xNlhy2Ox7pImZ50rdYGDvbIomVYQ2ACXBAAXcAA2/kAM8sAYvUY=
=Z6CB
-----END PGP SIGNATURE-----