bug 219448

Jörg Sommer joerg@alea.gnuu.de
Sun, 1 May 2005 17:54:01 +0200


--K8nIJk4ghYZn606h
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

[Cc-ing John, maybe he can help.]

Hello,

this bug [1] is really interesting. The problem is this:

$ 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

Here a admin may make system wide setting

loading /etc/jed-init.d/00debian.sl
loading /usr/share/jed/lib/jed.rc

and here they get overwritten by jeds default settings.

/etc/jed.conf become loaded at the end of site.sl. jed.rc become loaded
by the command line hook, which is called after site.sl has quit. This
must change, we can't make system wide settings before program defaults.

I would say, we should remove /usr/share/jed/lib/jed.rc and put it at the
beginning of /etc/jed.conf and set Default_Jedrc_Startup_File to NULL to
prevent jed.rc is searched by command_line_hook().

Does anyone know, why a command_line_hook is necessary? Why the command
line can't be parsed in site.sl directly?

J=F6rg.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D219448

--=20
Life can only be understood backwards, but it must be lived forwards.=20
                                             (Soren Kierkegaard)

--K8nIJk4ghYZn606h
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)

iQEVAwUBQnT7mIZ13Cz2nwVYAQKa+wf+O5TizPMrtm7+fLo+tqE1YBUtF3iwV2AJ
qeI8ww/u6YoD9/UVO4j9tBv/1BtHRvfzPYu1DYeFdvMroAacbCpKDmv2D/7too+i
F1yVS/PLvCggdBjJeL1PQ0zSyL++7S4xwk1bTpW4dketEXf3d8sbJfd+IFyqSp/D
mmXgD4RO3+Acpvdw/4k8d2/SM6gWLZ4V3u348zU7XRmrqD32iQc+3KL1AaPJiiXr
+oFTSyKtOlsl449ls1QEhPY0/3wSzc7SukB9idUJSeXyrmmZrYQrPrAz+8rEPgKJ
uyELQu4s7OcOyxHv9hIskvX0Jf7VAsitdTD5PhFn7KlOpF+6T48Czw==
=wpwS
-----END PGP SIGNATURE-----

--K8nIJk4ghYZn606h--