bug 219448

Jörg Sommer joerg@alea.gnuu.de
Tue, 3 May 2005 18:28:50 +0200


--CblX+4bnyfN0pR09
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

G. Milde schrieb am Mon 02. May, 11:06 (+0200) :
> On  1.05.05, J=F6rg Sommer wrote:
> > The problem is this:
> > please allow /etc/jed-init.d/ to override global settings
> > $ xjed -batch
> > loading /usr/share/jed/lib/site.slc
> > loading /usr/share/jed/lib/os.sl
> > loading /usr/share/jed/lib/menus.slc
> > loading /etc/jed.conf
> >=20
> > Here a admin may make system wide setting
> >=20
> > loading /etc/jed-init.d/00debian.sl
>=20
> Or here, in any file that resides in /etc/jed-init.d/ as all these will
> be loaded at every startup.

Right. But in /etc/jed.conf you can be sure your code is ran after
/etc/jed-init.d/ and not overwritten by a 99zzz script.

> > loading /usr/share/jed/lib/jed.rc
> >=20
> > and here they get overwritten by jeds default settings.
>=20
> (If and only if the user doesn't have a ~/.jedrc file.)

Right. But I think this is OK.

> > I would say, we should remove /usr/share/jed/lib/jed.rc=20
>=20
> I would not remove JED_ROOT/lib/jed.rc, as the original jed documentation
> refers to it as a reference (a la "copy ... to ~/.jedrc and adapt to your
> needs...").

So its an example and should be in doc/jed-common/examples/.

> > Does anyone know, why a command_line_hook is necessary?=20
>=20
> To make things more complicated? ;-)
>=20
> Well, it allows the user (in .jedrc) or the site-administrator to
> overwrite the command_line_hook. (Unfortunately, that this hook is
> quite long.)

,----[ hooks.txt ]---
| This hook is called from within the editor to parse the command line
| arguments, and it also loads the user's personal initialization file.
| It is defined in the file `site.sl' and should not be customized by
| the user.
`----

--=20
"It's been said you aren't a real UNIX system administrator until you've
edited a sendmail.cf file. It's also been said that you are crazy if you=20
attempted to do so twice"=20

--CblX+4bnyfN0pR09
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iQEVAwUBQnemwoZ13Cz2nwVYAQLrWQf+PbhRS2e0MkyPABfqL85ixInCU2WB5Uwz
hoOhUKlC9oqIyW7mhavMM5/QT02mB7mNDOmKBQQUsIWBVFhy39LdlDVOhA22B7rz
dWXgct0Oc4hJ1bYlURxl4SXhycu1cNshNkhfH5FxRjTwt4RxRfPhqjduxLFcpAth
G2YaIvcypFmPEJRGpwaJJrbccAEhhQC+T0Ooc9jZA0vljTVdlkLyzhuFF17w33vy
ncd9HHSZR/fV6AL54Db7YPSKy48FWxQgYBHiuEFxyl9UC+fO4CDoFynBeBPRTPNy
X/cwl7Ib0jvp5uWhAOd3l30z0GQ501OE6TFuH52bPSrCow6bvRBopg==
=RMUq
-----END PGP SIGNATURE-----

--CblX+4bnyfN0pR09--