jed-script, getmail

Jörg Sommer joerg@alea.gnuu.de
Tue, 3 May 2005 17:19:07 +0200


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

Rafael Laboissiere schrieb am Mon 02. May, 23:02 (+0200) :
> * J=F6rg Sommer <joerg@alea.gnuu.de> [2005-05-02 09:47]:
>=20
> > jed --help shows a command jed-script and the Makefile in jed source
> > create it as symbolic link on jed. Is there a reason, why we not create
> > it?
>=20
> I think we should.

But this makes jed-common architecture dependent. :(

> > What is getmail? Should we install it with jed?
>=20
> According to the documentation at the top of src/getmail.c it is intended
> at "Moving mail from a maildir.  Written in C to avoid a race condition."
>=20
> This program is called from lib/rmail.sl.  If getmail is not installed,
> then rmail.sl will fail.  To answer your question, I think you should
> install this program.  However there will be two issues:
>=20
> 1) We should not install it in /usr/bin, because there is already another
>    package (called getmail) that has /usr/bin/getmail.

We must install it in /usr/share/jed/bin (this is a FHS violation),
because

$ grep -n getmail rmail.sl=20
504:   variable getmail =3D dircat(Jed_Bin_Dir, "getmail");

it is searched in Jed_Bin_Dir,

519:   if (file_status(getmail) !=3D 1)
521:    error (getmail + " not found!");
524:   cmd =3D sprintf("%s %s %s", getmail, file, tmp_mbox);
527:     error ("getmail returned error.");
$ grep Jed_Bin_Dir *
rmail.sl:   variable getmail =3D dircat(Jed_Bin_Dir, "getmail");
runpgm.sl:     h =3D dircat (Jed_Bin_Dir, "w32/g32shell.exe");
runpgm.sl:     h =3D dircat (Jed_Bin_Dir, "w32/w32shell.exe");
site.sl:variable Jed_Bin_Dir;
site.sl:Jed_Bin_Dir =3D JED_ROOT + "[bin]";
site.sl:Jed_Bin_Dir =3D dircat (JED_ROOT, "bin");

which is set to JED_ROOT/bin in site.sl.

--=20
Der Kl=FCgere gibt nach ....
=2E..deshalb regieren die Dummen die Welt!

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

iQEVAwUBQneWa4Z13Cz2nwVYAQJBAQf/T0qN1UxVFlr+07rg/fI3f4tv+AgXubVa
KnhuONT1tM6F+dAOJN11xuAWu/vNJyeMTePg4YNA4mS1AJSEWA1c874vyg5FXzXM
fe4rKme/piHQQm4BN+vh2yToxmHOlsvP6gjoyDBE52Bw+2R/kLyQw7lZ5s+P0byZ
xNIS3tmX5Cw72uN6ZRay1JAKfZbJCIpWq9AahSx1KoCZ7f936e9EmJWa6VA4VNrL
4HtBDfzDcDg7ApGu4Iy3oJLYKa/vmKBv/Rt8NR1P+OWb/Y7io0PyI3uCvqSttz1N
Ks7y605zEISjYR+pXGfDMZSF8pHaQRq5wJ/zx3Y+qpu36Z/+Dd5Hsw==
=lcIf
-----END PGP SIGNATURE-----

--K8nIJk4ghYZn606h--