Date: Mon, 24 Jan 2005 00:07:30 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 393 ************************************************** Sunday 23 January 2005 Number 393 ************************************************** Subjects for today 1 Re: Webmin update : Stefan.Neis at t-online.de 2 Re: Webmin update : John Poltorak 3 Re: Webmin update : John Poltorak 4 Re: Webmin update : Lyn St George" 5 Re: Webmin update : Lyn St George" 6 Re: Webmin update : John Poltorak **= Email 1 ==========================** Date: Sat, 22 Jan 2005 15:56:33 +0100 From: Stefan.Neis at t-online.de Subject: Re: Webmin update Hi, > Also what string should be used to identify OS/2? - os2? Well, the one it's checking against, of course. ;-) Seriously, I don't know what webmin actually uses to determine the OS and how it compares against those strings. If it's essentially based on "uname", then "OS/2" appears to be the right choice to identify our OS, it it's doing somthing like config.guess from autoconf/configure, then "os2" or "os2-emx" could be the right string. You could just use trial-and-error ... Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Sat, 22 Jan 2005 15:20:47 +0000 From: John Poltorak Subject: Re: Webmin update On Sat, Jan 22, 2005 at 03:56:33PM +0100, Stefan.Neis at t-online.de wrote: > You could just use trial-and-error ... Or even ask on the Webmin support list ;-)... > > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Sat, 22 Jan 2005 15:55:44 +0000 From: John Poltorak Subject: Re: Webmin update On Sat, Jan 22, 2005 at 03:56:33PM +0100, Stefan.Neis at t-online.de wrote: > Hi, > > > Also what string should be used to identify OS/2? - os2? > > Well, the one it's checking against, of course. ;-) > > Seriously, I don't know what webmin actually uses to determine > the OS and how it compares against those strings. If it's essentially > based on "uname", then "OS/2" appears to be the right choice to > identify our OS, it it's doing somthing like config.guess from > autoconf/configure, then "os2" or "os2-emx" could be the right string. > You could just use trial-and-error ... Whilst I'm waiting for a response from the Webmin list, I may as well try and fogure it out for myelf... The check for os_support appears to be done in the procedure check_os_support :-)... This is in web-lib.pl, but my knowledge of Perl is even worse than my knowledge of shell scripts so it's none too clear to me what is happening... > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Sat, 22 Jan 2005 16:13:53 +0000 (GMT) From: "Lyn St George" Subject: Re: Webmin update On Sat, 22 Jan 2005 15:55:44 +0000, John Poltorak wrote: >On Sat, Jan 22, 2005 at 03:56:33PM +0100, Stefan.Neis at t-online.de wrote: >> Hi, >> >> > Also what string should be used to identify OS/2? - os2? >> >> Well, the one it's checking against, of course. ;-) >> >> Seriously, I don't know what webmin actually uses to determine >> the OS and how it compares against those strings. If it's essentially >> based on "uname", then "OS/2" appears to be the right choice to >> identify our OS, it it's doing somthing like config.guess from >> autoconf/configure, then "os2" or "os2-emx" could be the right string. >> You could just use trial-and-error ... > >Whilst I'm waiting for a response from the Webmin list, I may as well try >and fogure it out for myelf... > >The check for os_support appears to be done in the procedure >check_os_support :-)... This is in web-lib.pl, but my knowledge of Perl is >even worse than my knowledge of shell scripts so it's none too clear to me >what is happening... I'll try to sort this out tonight. >> Regards, >> Stefan > > > >-- >John > > >_______________________________________________ >UX2BS mailing list >UX2BS at os2ports.com >http://os2ports.com/mailman/listinfo/ux2bs > - Lyn _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Sun, 23 Jan 2005 04:18:42 +0000 (GMT) From: "Lyn St George" Subject: Re: Webmin update On Sat, 22 Jan 2005 15:55:44 +0000, John Poltorak wrote: > >The check for os_support appears to be done in the procedure >check_os_support :-)... This is in web-lib.pl, but my knowledge of Perl is >even worse than my knowledge of shell scripts so it's none too clear to me >what is happening... > I did some of this for v1.121, and in os_list.txt added: OS/2xxxxWarp 4xOS/2xx4x$uname -sv =~/OS\/2 2.40/i (where each x is a tab). oschooser.pl was not changed, nor was OS/2 added to module.info anywhere - ISTR that it didn't matter on earlier versions. It's 4 am and I've only just got onto this but I think I'll need to leave the rest for tomorrow.. - Lyn _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Sun, 23 Jan 2005 11:23:24 +0000 From: John Poltorak Subject: Re: Webmin update On Sun, Jan 23, 2005 at 04:18:42AM +0000, Lyn St George wrote: > On Sat, 22 Jan 2005 15:55:44 +0000, John Poltorak wrote: > > > > >The check for os_support appears to be done in the procedure > >check_os_support :-)... This is in web-lib.pl, but my knowledge of Perl is > >even worse than my knowledge of shell scripts so it's none too clear to me > >what is happening... > > > > I did some of this for v1.121, and in os_list.txt added: > OS/2xxxxWarp 4xOS/2xx4x$uname -sv =~/OS\/2 2.40/i > (where each x is a tab). oschooser.pl was not changed, nor > was OS/2 added to module.info anywhere - ISTR that it > didn't matter on earlier versions. It's 4 am and I've only just > got onto this but I think I'll need to leave the rest for tomorrow.. Can you say which version you had this working on? If you have any patches for that version I can try and get that up and running and we can move things forward from that point. > > > - > Lyn -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs