Subject: Determine session type?
To: None <netbsd-help@netbsd.org>
From: Jan Danielsson <jan.m.danielsson@gmail.com>
List: netbsd-help
Date: 11/30/2006 16:59:15
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig7B98F1D657442D62F3B029AE
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello,

   I have a script which I use to edit encrypted files. It simply
decrypts the file onto /tmp/, starts "vi" against the decrypted file,
then - when I quit the editor - it encrypts the file again.

   But I'd like it to start "nedit" instead *if* I'm running under X. I
assume this is possible? If so -- how?

--=20
Kind regards,
Jan Danielsson



--------------enig7B98F1D657442D62F3B029AE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFFbv/Zbgs4ia4rq9IRCtAJAJ9mnf312eFvUgSA4euI+Fy8kzK9cQCeIn1d
+A40xFCAPD2W2r4M3B6AFOw=
=tkvN
-----END PGP SIGNATURE-----

--------------enig7B98F1D657442D62F3B029AE--