FC6 YUM reposity in Israel
Sorry, but I asked the wrong question. Is there an FC6 (x86) YUM repository in Israel? The reason is obvious. Thanks, Geoff. -- Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED] N3OWJ/4X1GM IL Voice: (07)-7424-1667 Fax ONLY: 972-2-648-1443 U.S. Voice: 1-215-821-1838 Visit my 'blog at http://geoffstechno.livejournal.com/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Random moves of the mouse
PS this is a reason for the claim that linux is not for the home user yet. I'm using windows since 95 on various hardwares, and never occured a problem with the crucial input/output (screen/keyboard/mouse). That would be 'Linux is not ready for desktops which use certain kinds of USB mice' ? I've never seen a problem with other mice, and with machines using only one USB pointer. Peter = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Visual diff tool for patches.
Hi, I was given a patch (that refers to several files in a directory) and i wish to review and merge the changes one at a time visually. I tried xfdiff which allows me to review the changes but it have a bug when i am trying to apply them one by one. I tried kcompare, but it tries to do something weird. It tries to revert the patch file to my original files into new files, which is weird enough, but also when i try to save it says it can't upload the file to destination folder etc.. In this instance i tried source:patch destination:folder. If i reverse the roles i get something weird: Error - the files are identical. kdiff3 and meld does not seem to support patch files at all. Can anyone suggest a proper tool? -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Random moves of the mouse
El lun, 05-03-2007 a las 09:47 +0200, Elazar Leibovich escribió: I'm having an ubuntu Edge Eft (2.6.17-11-generic) system with a ps2 mouse. After a period of times it moves randomly clicking spots on the screen. For reference, the system is affected by the bug mentioned here[1] on USB HID wireless mice from HP. Anyone know a cure for that? First time than I hear about such bug in Ubuntu. So I have not experience with it, but according to the link that you provided the bug, if it is the same than yours, was solved for Debian systems. It is also points at the bug description that there are two ways to get it working again: - unplug and replug the mouse - restart the gpm You can also try with other kernels by pressing¨ Delete when Grub starts or with the Ubuntu 6.06 or 7.04 live CDs. You also should search for a similar bug at https://bugs.launchpad.net/ubuntu/+bugs or report a new one. PS this is a reason for the claim that linux is not for the home user yet. Why, by this rare case of an specific mouse on an specific system using an specific distro under, maybe, an specific kernel? The bug description also tells that unplug and replug the mouse will make it work again and also is clear than when the bug was reported, it was solved. I'm using windows since 95 on various hardwares, and never occured a problem with the crucial input/output (screen/keyboard/mouse). I want to see that if you report such bug to Microsoft, they will take care of you. By the way, have you noticed of the bunch of hardware that does not work on Vista? Hope it will help you. Julian [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314954 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Julian Daich [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Visual diff tool for patches.
Meld : Diff and merge tool http://meld.sourceforge.net/ On 3/5/07, Tzahi Fadida [EMAIL PROTECTED] wrote: Hi, I was given a patch (that refers to several files in a directory) and i wish to review and merge the changes one at a time visually. I tried xfdiff which allows me to review the changes but it have a bug when i am trying to apply them one by one. I tried kcompare, but it tries to do something weird. It tries to revert the patch file to my original files into new files, which is weird enough, but also when i try to save it says it can't upload the file to destination folder etc.. In this instance i tried source:patch destination:folder. If i reverse the roles i get something weird: Error - the files are identical. kdiff3 and meld does not seem to support patch files at all. Can anyone suggest a proper tool? -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Alexander Indenbaum = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Visual diff tool for patches.
On Monday 05 March 2007 14:06, Alexander Indenbaum wrote: Meld : Diff and merge tool http://meld.sourceforge.net/ As i wrote below, meld does not seem to support patch files. If you know otherwise, please tell me how to do it. On 3/5/07, Tzahi Fadida [EMAIL PROTECTED] wrote: Hi, I was given a patch (that refers to several files in a directory) and i wish to review and merge the changes one at a time visually. I tried xfdiff which allows me to review the changes but it have a bug when i am trying to apply them one by one. I tried kcompare, but it tries to do something weird. It tries to revert the patch file to my original files into new files, which is weird enough, but also when i try to save it says it can't upload the file to destination folder etc.. In this instance i tried source:patch destination:folder. If i reverse the roles i get something weird: Error - the files are identical. kdiff3 and meld does not seem to support patch files at all. Can anyone suggest a proper tool? -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Visual diff tool for patches.
Did not see you mentioned meld specifically. Anyway I could sugest the following procedure. You could prepare two copies of the source tree: pristine and modified, where modified is pristine with patch applied. Then fire up meld (or any other merge tool) and just apply/move changes one by one from modified to pristine. Hope it helps. On 3/5/07, Tzahi Fadida [EMAIL PROTECTED] wrote: On Monday 05 March 2007 14:06, Alexander Indenbaum wrote: Meld : Diff and merge tool http://meld.sourceforge.net/ As i wrote below, meld does not seem to support patch files. If you know otherwise, please tell me how to do it. On 3/5/07, Tzahi Fadida [EMAIL PROTECTED] wrote: Hi, I was given a patch (that refers to several files in a directory) and i wish to review and merge the changes one at a time visually. I tried xfdiff which allows me to review the changes but it have a bug when i am trying to apply them one by one. I tried kcompare, but it tries to do something weird. It tries to revert the patch file to my original files into new files, which is weird enough, but also when i try to save it says it can't upload the file to destination folder etc.. In this instance i tried source:patch destination:folder. If i reverse the roles i get something weird: Error - the files are identical. kdiff3 and meld does not seem to support patch files at all. Can anyone suggest a proper tool? -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html -- Alexander Indenbaum = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
[YBA] TC Video editing?
Hi linux-il members, Is video editing with Jahshaka or similar OpenGL editor going to work over a remote X display or does it need local control of the graphics card? Is a Linux-based thin client (TC) solution possible for video editing? TIA, - yba -- EE 77 7F 30 4A 64 2E C5 83 5F E7 49 A6 82 29 BA~. .~ Tk Open Systems =}ooO--U--Ooo{= - [EMAIL PROTECTED] - tel: +972.2.679.5364, http://www.tkos.co.il - = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Visual diff tool for patches.
On Monday 05 March 2007 14:33, Alexander Indenbaum wrote: Did not see you mentioned meld specifically. Anyway I could sugest the following procedure. You could prepare two copies of the source tree: pristine and modified, where modified is pristine with patch applied. Then fire up meld (or any other merge tool) and just apply/move changes one by one from modified to pristine. Hope it helps. That is a good idea and i am going to use it, however, it is very tiring to do so for each patch i receive. There got to be a better way, even from the console but interactive so i can approve or disapprove of a certain part. I mean, how do kernel developers work with this. You cannot cut/paste all the time with many many patches instead of clicking like in kdiff and friends. There got to be a better arrangement. On 3/5/07, Tzahi Fadida [EMAIL PROTECTED] wrote: On Monday 05 March 2007 14:06, Alexander Indenbaum wrote: Meld : Diff and merge tool http://meld.sourceforge.net/ As i wrote below, meld does not seem to support patch files. If you know otherwise, please tell me how to do it. On 3/5/07, Tzahi Fadida [EMAIL PROTECTED] wrote: Hi, I was given a patch (that refers to several files in a directory) and i wish to review and merge the changes one at a time visually. I tried xfdiff which allows me to review the changes but it have a bug when i am trying to apply them one by one. I tried kcompare, but it tries to do something weird. It tries to revert the patch file to my original files into new files, which is weird enough, but also when i try to save it says it can't upload the file to destination folder etc.. In this instance i tried source:patch destination:folder. If i reverse the roles i get something weird: Error - the files are identical. kdiff3 and meld does not seem to support patch files at all. Can anyone suggest a proper tool? -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Visual diff tool for patches.
On Mon, 5 Mar 2007, Tzahi Fadida wrote: Hi, I was given a patch (that refers to several files in a directory) and i wish to review and merge the changes one at a time visually. I tried xfdiff which allows me to review the changes but it have a bug when i am trying to apply them one by one. I tried kcompare, but it tries to do something weird. It tries to revert the patch file to my original files into new files, which is weird enough, but also when i try to save it says it can't upload the file to destination folder etc.. In this instance i tried source:patch destination:folder. If i reverse the roles i get something weird: Error - the files are identical. kdiff3 and meld does not seem to support patch files at all. Can anyone suggest a proper tool? I've been using meld and really enjoying its features. Michael = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Random moves of the mouse
I'm taking my words back. I thought that windows has QA'd the basic input/output kernel related modules very well but apparently this[1] is not the case. Bugs are software independent. [1] http://www.tipsdr.com/?p=271 On 3/5/07, Peter [EMAIL PROTECTED] wrote: PS this is a reason for the claim that linux is not for the home user yet. I'm using windows since 95 on various hardwares, and never occured a problem with the crucial input/output (screen/keyboard/mouse). That would be 'Linux is not ready for desktops which use certain kinds of USB mice' ? I've never seen a problem with other mice, and with machines using only one USB pointer. Peter = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Random moves of the mouse
This[1] is an evident the erratic mouse issue is relating to acpi. [1] http://www.linuxquestions.org/questions/showthread.php?threadid=339117 On 3/5/07, Elazar Leibovich [EMAIL PROTECTED] wrote: I'm having an ubuntu Edge Eft (2.6.17-11-generic) system with a ps2 mouse. After a period of times it moves randomly clicking spots on the screen. For reference, the system is affected by the bug mentioned here[1] on USB HID wireless mice from HP. Anyone know a cure for that? PS this is a reason for the claim that linux is not for the home user yet. I'm using windows since 95 on various hardwares, and never occured a problem with the crucial input/output (screen/keyboard/mouse). [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314954 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Comfy on Xubuntu?
Amichai Rotman [EMAIL PROTECTED] writes: I checked the Childsplay package - but it is only in English... Any Hebrew locale for Childsplay out there? You should get Hebrew by using he_IL.utf-8 locale. if you do not, you should report a bug. http://linmagazine.co.il/node/view/16443 http://pyfribidi.sourceforge.net/art/childsplay-heb.png = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Visual diff tool for patches.
On Mon, 5 Mar 2007, Tzahi Fadida wrote: Date: Mon, 5 Mar 2007 16:03:49 +0200 From: Tzahi Fadida [EMAIL PROTECTED] To: Alexander Indenbaum [EMAIL PROTECTED] Cc: Israel Linux Mailing list linux-il@linux.org.il Subject: Re: Visual diff tool for patches. On Monday 05 March 2007 14:33, Alexander Indenbaum wrote: Did not see you mentioned meld specifically. Anyway I could sugest the following procedure. You could prepare two copies of the source tree: pristine and modified, where modified is pristine with patch applied. Then fire up meld (or any other merge tool) and just apply/move changes one by one from modified to pristine. Hope it helps. That is a good idea and i am going to use it, however, it is very tiring to do so for each patch i receive. There got to be a better way, even from the console but interactive so i can approve or disapprove of a certain part. I mean, how do kernel developers work with this. You cannot cut/paste all the time with manymany patches instead of clicking like in kdiff and friends. There got to be a better arrangement. who said anything about copy and paste? all you do is: cp -rp original/ modified apply patch to modified. run the diff tool (meld, tkdiff, whatever) between original and modified. you can write a short script to automate these operations (except the usage of the diff tool, ofcourse). look at this: http://xxdiff.sourceforge.net/local/doc/xxdiff-patch-UNFINISHED.html --guy On 3/5/07, Tzahi Fadida [EMAIL PROTECTED] wrote: On Monday 05 March 2007 14:06, Alexander Indenbaum wrote: Meld : Diff and merge tool http://meld.sourceforge.net/ As i wrote below, meld does not seem to support patch files. If you know otherwise, please tell me how to do it. On 3/5/07, Tzahi Fadida [EMAIL PROTECTED] wrote: Hi, I was given a patch (that refers to several files in a directory) and i wish to review and merge the changes one at a time visually. I tried xfdiff which allows me to review the changes but it have a bug when i am trying to apply them one by one. I tried kcompare, but it tries to do something weird. It tries to revert the patch file to my original files into new files, which is weird enough, but also when i try to save it says it can't upload the file to destination folder etc.. In this instance i tried source:patch destination:folder. If i reverse the roles i get something weird: Error - the files are identical. kdiff3 and meld does not seem to support patch files at all. Can anyone suggest a proper tool? -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | [EMAIL PROTECTED] -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- guy For world domination - press 1, or dial 0, and please hold, for the creator. -- nob o. dy = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Visual diff tool for patches.
On Monday 05 March 2007 19:40, guy keren wrote: On Mon, 5 Mar 2007, Tzahi Fadida wrote: Date: Mon, 5 Mar 2007 16:03:49 +0200 From: Tzahi Fadida [EMAIL PROTECTED] To: Alexander Indenbaum [EMAIL PROTECTED] Cc: Israel Linux Mailing list linux-il@linux.org.il Subject: Re: Visual diff tool for patches. On Monday 05 March 2007 14:33, Alexander Indenbaum wrote: Did not see you mentioned meld specifically. Anyway I could sugest the following procedure. You could prepare two copies of the source tree: pristine and modified, where modified is pristine with patch applied. Then fire up meld (or any other merge tool) and just apply/move changes one by one from modified to pristine. Hope it helps. That is a good idea and i am going to use it, however, it is very tiring to do so for each patch i receive. There got to be a better way, even from the console but interactive so i can approve or disapprove of a certain part. I mean, how do kernel developers work with this. You cannot cut/paste all the time with manymany patches instead of clicking like in kdiff and friends. There got to be a better arrangement. who said anything about copy and paste? all you do is: cp -rp original/ modified apply patch to modified. run the diff tool (meld, tkdiff, whatever) between original and modified. That is a good idea, however, i only wish to automate this for the patched files (since i don't want to copy 20mb of files just for the few patched files). How can i only copy the files to be patched, let's say to /tmp and then run the patch on them. you can write a short script to automate these operations (except the usage of the diff tool, ofcourse). look at this: http://xxdiff.sourceforge.net/local/doc/xxdiff-patch-UNFINISHED.html Looks interesting, buggy though. If i won't find anything working, perhaps i will try to change this to use kdiff3 or meld. --guy On 3/5/07, Tzahi Fadida [EMAIL PROTECTED] wrote: On Monday 05 March 2007 14:06, Alexander Indenbaum wrote: Meld : Diff and merge tool http://meld.sourceforge.net/ As i wrote below, meld does not seem to support patch files. If you know otherwise, please tell me how to do it. On 3/5/07, Tzahi Fadida [EMAIL PROTECTED] wrote: Hi, I was given a patch (that refers to several files in a directory) and i wish to review and merge the changes one at a time visually. I tried xfdiff which allows me to review the changes but it have a bug when i am trying to apply them one by one. I tried kcompare, but it tries to do something weird. It tries to revert the patch file to my original files into new files, which is weird enough, but also when i try to save it says it can't upload the file to destination folder etc.. In this instance i tried source:patch destination:folder. If i reverse the roles i get something weird: Error - the files are identical. kdiff3 and meld does not seem to support patch files at all. Can anyone suggest a proper tool? -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | [EMAIL PROTECTED] -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
How do I encode Hebrew in PHP?
Hi people, I'm trying to encode Hebrew in PHP, when sending automatic mail (using UTF-8). I searched and found function mb_encode_mimeheader(), but it doesn't work. It sends the mail, but the Hebrew becomes Jibrish. I tried to do it using mb_encode_mimeheader(). Here is my mail sending code: ?php $tmp_addresses_clone= $tmp_addresses; $tmp_count= count($tmp_addresses_clone); while ($tmp_count 0) { $tmp_random= rand(0, $tmp_count - 1); // Open Mail Command. $tmp_mail_command= '/usr/sbin/sendmail -f ' . $tmp_email . ' ' . $tmp_addresses_clone[$tmp_random] . ' /dev/null 21'; $tmp_mail_file_pointer= popen($tmp_mail_command, w); if ($tmp_mail_file_pointer) { // Print mail header. fputs($tmp_mail_file_pointer, From: . mb_encode_mimeheader('' . $tmp_name . '', 'UTF-8', 'B', \n) . ' ' '' . $tmp_email . '' . \n); fputs($tmp_mail_file_pointer, To: . $tmp_addresses_clone[$tmp_random] . \n); fputs($tmp_mail_file_pointer, Subject: . mb_encode_mimeheader($tmp_subject, 'UTF-8', 'B', \n) . \n); fputs($tmp_mail_file_pointer, MIME-Version: 1.0\n); fputs($tmp_mail_file_pointer, Content-Type: text/plain; charset=UTF-8\n); fputs($tmp_mail_file_pointer, \n); // Print mail body. fputs($tmp_mail_file_pointer, $tmp_content . \n); fputs($tmp_mail_file_pointer, \n); // Close file. pclose($tmp_mail_file_pointer); } echo ($tmp_addresses_clone[$tmp_random] . 'br' . \n); $tmp_addresses_clone[$tmp_random]= $tmp_addresses_clone[$tmp_count - 1]; unset($tmp_addresses_clone[$tmp_count - 1]); $tmp_count= count($tmp_addresses_clone); } ? How do I correctly encode Hebrew in PHP? By the way, the body of the message looks OK. I'm using PHP 4, I can't use PHP 5 functions such as iconv_mime_encode(). Best Regards, Uri Even-Chen Speedy Net www.speedy.net = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Visual diff tool for patches.
Tzahi Fadida wrote: On Monday 05 March 2007 19:40, guy keren wrote: On Mon, 5 Mar 2007, Tzahi Fadida wrote: Date: Mon, 5 Mar 2007 16:03:49 +0200 From: Tzahi Fadida [EMAIL PROTECTED] To: Alexander Indenbaum [EMAIL PROTECTED] Cc: Israel Linux Mailing list linux-il@linux.org.il Subject: Re: Visual diff tool for patches. On Monday 05 March 2007 14:33, Alexander Indenbaum wrote: Did not see you mentioned meld specifically. Anyway I could sugest the following procedure. You could prepare two copies of the source tree: pristine and modified, where modified is pristine with patch applied. Then fire up meld (or any other merge tool) and just apply/move changes one by one from modified to pristine. Hope it helps. That is a good idea and i am going to use it, however, it is very tiring to do so for each patch i receive. There got to be a better way, even from the console but interactive so i can approve or disapprove of a certain part. I mean, how do kernel developers work with this. You cannot cut/paste all the time with manymany patches instead of clicking like in kdiff and friends. There got to be a better arrangement. who said anything about copy and paste? all you do is: cp -rp original/ modified apply patch to modified. run the diff tool (meld, tkdiff, whatever) between original and modified. That is a good idea, however, i only wish to automate this for the patched files (since i don't want to copy 20mb of files just for the few patched files). How can i only copy the files to be patched, let's say to /tmp and then run the patch on them. look at the patch file - it has a very simple general format. i think you can grep for the file names in it, and with little parsing get the list of affected files. --guy = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
welcome to chat
to http://community.livejournal.com/linux_il/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: How do I encode Hebrew in PHP?
Uri Even-Chen wrote: Hi people, I'm trying to encode Hebrew in PHP, when sending automatic mail (using UTF-8). I searched and found function mb_encode_mimeheader(), but it doesn't work. It sends the mail, but the Hebrew becomes Jibrish. I tried to do it using mb_encode_mimeheader(). Here is my mail sending code: ?php $tmp_addresses_clone= $tmp_addresses; $tmp_count= count($tmp_addresses_clone); while ($tmp_count 0) { $tmp_random= rand(0, $tmp_count - 1); // Open Mail Command. $tmp_mail_command= '/usr/sbin/sendmail -f ' . $tmp_email . ' ' . $tmp_addresses_clone[$tmp_random] . ' /dev/null 21'; $tmp_mail_file_pointer= popen($tmp_mail_command, w); if ($tmp_mail_file_pointer) { // Print mail header. fputs($tmp_mail_file_pointer, From: . mb_encode_mimeheader('' . $tmp_name . '', 'UTF-8', 'B', \n) . ' ' '' . $tmp_email . '' . \n); fputs($tmp_mail_file_pointer, To: . $tmp_addresses_clone[$tmp_random] . \n); fputs($tmp_mail_file_pointer, Subject: . mb_encode_mimeheader($tmp_subject, 'UTF-8', 'B', \n) . \n); fputs($tmp_mail_file_pointer, MIME-Version: 1.0\n); fputs($tmp_mail_file_pointer, Content-Type: text/plain; charset=UTF-8\n); fputs($tmp_mail_file_pointer, \n); // Print mail body. fputs($tmp_mail_file_pointer, $tmp_content . \n); fputs($tmp_mail_file_pointer, \n); // Close file. pclose($tmp_mail_file_pointer); } echo ($tmp_addresses_clone[$tmp_random] . 'br' . \n); $tmp_addresses_clone[$tmp_random]= $tmp_addresses_clone[$tmp_count - 1]; unset($tmp_addresses_clone[$tmp_count - 1]); $tmp_count= count($tmp_addresses_clone); } ? How do I correctly encode Hebrew in PHP? By the way, the body of the message looks OK. I'm using PHP 4, I can't use PHP 5 functions such as iconv_mime_encode(). Usually what needs to be encoded are the headers. It's a simple format, and base64 [1] for the content, something like: =?encoding_name?B?bas64_encoded_content_blabla?= The body itself can be left as utf-8 (specifying the content-type). You can use the mail() function [2] to send it (configure the program sending the mail in php.ini). Don't execute sendmail directly (prevents code portability) Here's a sample code which worked for me in many projects (php4 included): $msubj==?utf-8?B? . base64_encode($subject) . ?=; $mextra=From: =?utf-8?B?.base64_encode($from).?= .$email.\n; $mextra.=Content-type: text/plain; charset=utf-8\n\n; mail($to, $msubj, $mmsg, $utf8_message); [1] http://il2.php.net/manual/en/function.base64-encode.php [2] http://il2.php.net/manual/en/function.mail.php Cheers -- Meir Kriheli = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: How do I encode Hebrew in PHP?
Sorry, forgot the extra headers to the mail function (below). Uri Even-Chen wrote: Hi people, I'm trying to encode Hebrew in PHP, when sending automatic mail (using UTF-8). I searched and found function mb_encode_mimeheader(), but it doesn't work. It sends the mail, but the Hebrew becomes Jibrish. I tried to do it using mb_encode_mimeheader(). Here is my mail sending code: ?php $tmp_addresses_clone= $tmp_addresses; $tmp_count= count($tmp_addresses_clone); while ($tmp_count 0) { $tmp_random= rand(0, $tmp_count - 1); // Open Mail Command. $tmp_mail_command= '/usr/sbin/sendmail -f ' . $tmp_email . ' ' . $tmp_addresses_clone[$tmp_random] . ' /dev/null 21'; $tmp_mail_file_pointer= popen($tmp_mail_command, w); if ($tmp_mail_file_pointer) { // Print mail header. fputs($tmp_mail_file_pointer, From: . mb_encode_mimeheader('' . $tmp_name . '', 'UTF-8', 'B', \n) . ' ' '' . $tmp_email . '' . \n); fputs($tmp_mail_file_pointer, To: . $tmp_addresses_clone[$tmp_random] . \n); fputs($tmp_mail_file_pointer, Subject: . mb_encode_mimeheader($tmp_subject, 'UTF-8', 'B', \n) . \n); fputs($tmp_mail_file_pointer, MIME-Version: 1.0\n); fputs($tmp_mail_file_pointer, Content-Type: text/plain; charset=UTF-8\n); fputs($tmp_mail_file_pointer, \n); // Print mail body. fputs($tmp_mail_file_pointer, $tmp_content . \n); fputs($tmp_mail_file_pointer, \n); // Close file. pclose($tmp_mail_file_pointer); } echo ($tmp_addresses_clone[$tmp_random] . 'br' . \n); $tmp_addresses_clone[$tmp_random]= $tmp_addresses_clone[$tmp_count - 1]; unset($tmp_addresses_clone[$tmp_count - 1]); $tmp_count= count($tmp_addresses_clone); } ? How do I correctly encode Hebrew in PHP? By the way, the body of the message looks OK. I'm using PHP 4, I can't use PHP 5 functions such as iconv_mime_encode(). Usually what needs to be encoded are the headers. It's a simple format, and base64 [1] for the content, something like: =?encoding_name?B?bas64_encoded_content_blabla?= The body itself can be left as utf-8 (specifying the content-type). You can use the mail() function [2] to send it (configure the program sending the mail in php.ini). Don't execute sendmail directly (prevents code portability) Here's a sample code which worked for me in many projects (php4 included): $msubj==?utf-8?B? . base64_encode($subject) . ?=; $mextra=From: =?utf-8?B? . base64_encode($from) . ?= .$email.\n; $mextra.=Content-type: text/plain; charset=utf-8\n\n; mail($to, $msubj, $message, $mextra); [1] http://il2.php.net/manual/en/function.base64-encode.php [2] http://il2.php.net/manual/en/function.mail.php Cheers -- Meir Kriheli = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Comfy on Xubuntu?
ביום שני 05 מרץ 2007, 12:44, נכתב על ידי kzamir: Amichai Rotman [EMAIL PROTECTED] writes: I checked the Childsplay package - but it is only in English... Any Hebrew locale for Childsplay out there? You should get Hebrew by using he_IL.utf-8 locale. if you do not, you should report a bug. http://linmagazine.co.il/node/view/16443 http://pyfribidi.sourceforge.net/art/childsplay-heb.png It seems I don't have pyfribidi installed, which is required for Hebrew support. Does anybody know if there is an ebuild (gentoo) for this package? --y To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Looking for a TCP accelerator card with Linux aupport
Hi, And they have local offices in Nataniya. googling for siverback showed me: http://www.brocade.com/silverbackinformation.jsp which says that Silverback was aquired by brocade; and I could not find the Natanya office in the links in that page (contact us or intenational). Do you have any more info ? Regards, Dan On 3/1/07, Alexander Cheskis [EMAIL PROTECTED] wrote: Rony, Take a look on Silverback cards. They have iSCSI support, and work with Linux. And they have local offices in Nataniya. 10x Alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rony Shapiro Sent: Wednesday, February 28, 2007 9:01 PM To: 'Israel Linux Mailing List' Subject: Looking for a TCP accelerator card with Linux aupport Hi linux-il folks, A friend mine recently bought an Alacritech TCP accelerator card for a Linux server, only to find out that Alacritech supports any operating system you want, as long as it starts with 'W' and comes from Redmond :-) - back to the distributor it went. Seriously, can anyone recommend a TCP accelerator card with decent Linux support (2.6 kernels) available locally? Bonus points for an iSCSI accelerator. Cheers, Rony = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Visual diff tool for patches.
On Tuesday, 6 בMarch 2007 01:09, guy keren wrote: look at the patch file - it has a very simple general format. i think you can grep for the file names in it, and with little parsing get the list of affected files. lsdiff patch_file -- Oron Peled Voice/Fax: +972-4-8228492 [EMAIL PROTECTED] http://www.actcom.co.il/~oron ICQ UIN: 16527398 It's not the software that's free; it's you. - billyskank on Groklaw = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Visual diff tool for patches.
Did not see you mentioned meld specifically. Anyway I could sugest the following procedure. You could prepare two copies of the source tree: pristine and modified, where modified is pristine with patch applied. Very true. It's also a good idea to do the copy with the cp -la option so that the files are not copied, but linked instead, so the only thing you waste the disk for is the inodes and the files that actually differ. Then fire up meld (or any other merge tool) and just apply/move changes one by one from modified to pristine. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]