Re: enough (was Re: the great jerusalem firewall)
I agree, and that's exactly why I was he first one to menton the possible LINUX implicatons. But as I already wrote, only 2 other people referred to that aspect of the problem. All the other posts were about censorship, porn etc - and those subjects, as interesting as they may be, ARE off topic. Can we end this now :-)? PURIM SAMEACH On Sunday 04 March 2007 08:58, Vassilii Khachaturov wrote: I disagree. If an MS-based solution is mandated by law and thus makes non-MS internet connectivity illegal, this suddenly becomes very on- topic. V = 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] -- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 = 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: the great jerusalem firewall
Quoting Shachar Shemesh, from the post of Fri, 02 Mar: The real reason you are confused, however, is because the question is not whether kids should have access to pornography. The real question is whether all internet users in Israel be forced to identify themselves via biometrics in a government and others accessible way in order to access whatever it is that the ISP's vision of pornography happens to be at that moment, as well as should ISPs be liable for any site erroneously identified as pornography while it isn't, as well as for sites not identified as pornography despite being so, and even the ultimate what is pornography. and this is why there should be a propper bill of rights and a constitution. these kinds of theocratic, undemocratic laws should not be even proposed. Sadly, that doesn't even hold in the USA though, which is supposed to be the world's guiding light of freedom or something. The moment such a law passes, before they even find ways to implement it (hint - it's close to impossible), I'll start seeking a visa to move to scandinavia or somewhere where secular sanity still has a say. -- Music inspired by the movie Ira Abramov http://ira.abramov.org/email/ = 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]
xkbd - switching languages
Now that I've learned that to switch input language on Linux I need to click the small icon with the two letters in the system tray, I'd like to do the switching by a keyboard shortcut. I've learned that the following commands do the switching: setxkbmap -model pc104 -layout us setxkbmap -model pc104 -layout il so us selects english layout, il, hebrew. However = 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]
[resend] xkbd language switching
[Sorry for the earlier post, kbd mistake] Now that I've learned that to switch input language on Linux I need to click the small icon with the two letters in the system tray, I'd like to do the switching by a keyboard shortcut. I've learned that the following commands do the switching: setxkbmap -model pc104 -layout us setxkbmap -model pc104 -layout il so I can use them as input actions to select english/hebrew. However, turns out the commands do not update the icon. Is there a better way to switching language on KDE 3.5.5/FC5 using the keyboard? Also while at it. the little language icon is supposed to display the country flag for the current language. Mine show only gray background. What might be missing? Thanks, Dan = 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: [resend] xkbd language switching
On Sunday 04 March 2007 12:42, Dan Bar Dov wrote: Is there a better way to switching language on KDE 3.5.5/FC5 using the keyboard? Do a right click on the panel icon. Choose configure and look at the xkb options tab. You'll find lots of ways to switch language. Also while at it. the little language icon is supposed to display the country flag for the current language. Mine show only gray background. What might be missing? Do a right click on the panel icon. Choose configure and click on the switcching options tab. You'll see a check box to show the country flag. -- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 = 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]
renaming or removing a file that start with minus
Hello, How can I rename and/or delete a file that starts with minus ? For example: mv --test test will end up with the error: mv: unrecognized option `--test' Try `mv --help' for more information. The same error will exists if I'll use the asterisk wildcard instead. Please note that I'm looking for a mv and rm based solutions and not the use (for example) midnight commander. Thanks, Ido -- http://ik.homelinux.org/ = 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: renaming or removing a file that start with minus
a. Try to put AFTER all the regular minus options a double-dash (--), i.e. mv -v -- oldfile newfile this tells the command line parser that no options come after the double-dash. b. sometimes backslash, or tick, is enough, i.e. rm -v 'my*file' or rm -v my\*file - Oren ik wrote: Hello, How can I rename and/or delete a file that starts with minus ? For example: mv --test test will end up with the error: mv: unrecognized option `--test' Try `mv --help' for more information. The same error will exists if I'll use the asterisk wildcard instead. Please note that I'm looking for a mv and rm based solutions and not the use (for example) midnight commander. Thanks, Ido = 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: renaming or removing a file that start with minus
From man mv: POSIX OPTIONS -- Terminate option list. -- Shimi On Sunday 04 March 2007 15:43, ik wrote: Hello, How can I rename and/or delete a file that starts with minus ? For example: mv --test test will end up with the error: mv: unrecognized option `--test' Try `mv --help' for more information. The same error will exists if I'll use the asterisk wildcard instead. Please note that I'm looking for a mv and rm based solutions and not the use (for example) midnight commander. Thanks, Ido 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: renaming or removing a file that start with minus
On Sun, Mar 04, 2007 at 03:43:54PM +0200, ik wrote: Hello, How can I rename and/or delete a file that starts with minus ? For example: mv --test test In addition to '--' already mentioned, you can mv ./--test test This will work with any mv, not only GNU's etc. that accept '--'. -- Didi = 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: renaming or removing a file that start with minus
Hello, Thank you all for the answers. The answer of didi worked for me well. The others did not (some of them I did try before the posting). Ido On 3/4/07, Yedidyah Bar-David [EMAIL PROTECTED] wrote: On Sun, Mar 04, 2007 at 03:43:54PM +0200, ik wrote: Hello, How can I rename and/or delete a file that starts with minus ? For example: mv --test test In addition to '--' already mentioned, you can mv ./--test test This will work with any mv, not only GNU's etc. that accept '--'. -- Didi -- http://ik.homelinux.org/ = 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: [resend] xkbd language switching
On Sunday March 4 2007, Dan Bar Dov wrote: [Sorry for the earlier post, kbd mistake] Now that I've learned that to switch input language on Linux I need to click the small icon with the two letters in the system tray, I'd like to do the switching by a keyboard shortcut. I've learned that the following commands do the switching: setxkbmap -model pc104 -layout us setxkbmap -model pc104 -layout il so I can use them as input actions to select english/hebrew. However, turns out the commands do not update the icon. Is there a better way to switching language on KDE 3.5.5/FC5 using the keyboard? KDE keyboard switching uses xmodmap rather than xkb, so if you change the layout with xkb, the KDE keymap switcher, obviously, isn't aware of the changes. Use Leonid Zeitlin's excellent kkbswitch instead. kkbswitch.sourceforge.net -- Sincerely Yours, Michael Vasiliev For me, the first challenge for computing science is to discover how to maintain order in a finite, but very large, discrete universe that is intricately intertwined. And a second, but not less important challenge is how to mould what you have achieved in solving the first problem, into a teachable discipline: it does not suffice to hone your own intellect (that will join you in your grave), you must teach others how to hone theirs. The more you concentrate on these two challenges, the clearer you will see that they are only two sides of the same coin: teaching yourself is discovering what is teachable. -- Edsger Wybe Dijkstra = 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: renaming or removing a file that start with minus
On Sun, 4 Mar 2007 15:43:54 ido wrote: How can I rename and/or delete a file that starts with minus ? For example: mv --test test will end up with the error: mv: unrecognized option `--test' Try `mv --help' for more information. The same error will exists if I'll use the asterisk wildcard instead. Please note that I'm looking for a mv and rm based solutions and not the use (for example) midnight commander. The problem is that the name is interpreted as an option because it begins with - . You must cause `mv'/`rm' to know that -test is not an option. You can do it in some ways: 1. You can add -- before the file name, this signals mv/cp/ln/rm that all the options has been processed, and file name(s) follow. This is the prefered way - that's why it was built into the file commands. e.g. mv -- --test test to delete a file named -- do: rm -- -- 2. You can add directory specification to the file name and so it won't start with -, any file can be written as ./file . e.g. mv ./--test test Any way that will make the 1st file name NOT to start with - will work. e.g. rm -f dummy-name -file-1 --file-2 Ehud. -- @@ @@@ @@ @@ Ehud Karni אהוד קרני @@ @ @@ @ Senior System Support תמיכה במערכות מחשב @@ @@ @ @@Mivtach - Simon מבטח - סימון @@ @@ @@ Insurance agencies סוכנויות לבטוח Better Safe Than SorryTel: 03-7966-561 :טל Fax: 03-7966-667 :פקס http://www.mvs.co.il mailto:[EMAIL PROTECTED] :דואל Ehud Karni Tel: +972-3-7966-561 /\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ GnuPG: 98EA398D http://www.keyserver.net/Better Safe Than Sorry 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: [resend] xkbd language switching
I've learned that the following commands do the switching: setxkbmap -model pc104 -layout us setxkbmap -model pc104 -layout il so I can use them as input actions to select english/hebrew. However, turns out the commands do not update the icon. Is there a better way to switching language on KDE 3.5.5/FC5 using the keyboard? Please have a look at the following bug with a micro-HOWTO inside, on how to enable keyboard-based switching on the dead right-windows key: http://bugs.kde.org/show_bug.cgi?id=84606 Note that there is an alternative way - switch above the KDE by directly modifying the Option XkbLayout us in the xorg.conf file (but you'll not have the nice KDE flag then. If you want a more light-weight switcher (in case you want a light-weight window manager, as opposed to KDE), there are other packages for the switching/flag indication stuff. Most notably fbxkb. HTH, Vassilii = 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: enough (was Re: the great jerusalem firewall)
On 04/03/07, Shlomo Solomon [EMAIL PROTECTED] wrote: This completely off-topic thread has gone on far too long. Aside from two or three posts about possible LINUX issues, I fail to see why we are having this completely irrelevant discussion about porn, censorship, religion and who knows what else. You are right. Time to (once again) suggest linux-il-chat. where people can find like-technically-minded people to discuss enything that doesn't fall on linux-il charter. --Amos = 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]
Faking out YUM
I downloaded Fedora Core 6 and used the CDs to upgrade a Fedora Core 4 system. Once it was completed I logged on and did a YUM update. YUM downloaded and installed almost 900 packages. I would like to do the same upgrade and update to another system. Is there a way to back the packages up to a DVD or other medium and put them on the other system so I don't have to download them again? I assume there are other files (headers?) I need to copy too. What do I save and where do I put it to use it. On a related note, is there an FC6 (x86) YUM repository? 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: Faking out YUM
On Sun, 4 Mar 2007 23:32:04 Geoffrey S. Mendelson wrote: YUM downloaded and installed almost 900 packages. I would like to do the same upgrade and update to another system. Is there a way to back the packages up to a DVD or other medium and put them on the other system so I don't have to download them again? I assume there are other files (headers?) I need to copy too. What do I save and where do I put it to use it. You have to do 2 things. 1st, you have to change /etc/yum.conf `keepcache' option to 1. For full description read the man page for yum.conf . 2nd you'll find the yum cache in the above file at the `cachedir' option (default to /var/cache/yum), just copy the whole directory, it includes all the headers and rpms loaded. Since I have many machines, I symlinked the cache (on each machine) to a common nfs disk. I do the update (by a script) on one machine (which will download and store the updates) and then run the same update on all other machines. On a related note, is there an FC6 (x86) YUM repository? Sure is. How else would the yum work and find the 900 packages it added for you ? Anyway, bellow are the repositories I use. The 4 standard (you already have them) FC repositories are: fedora-core.repo fedora-updates.repo fedora-extras.repo fedora-legacy.repo I highly recommend the livna.repo - http://rpm.livna.org/ (e.g. vlc, the all media player is kept there). These (and some more) are automatically configured by: rpm -Uvh http://www.fedorafaq.org/yum \ http://rpm.livna.org/livna-release-6.rpm (see: http://www.fedorafaq.org/#yumconf ). I disabled the atrpms and freshrpms repos, because they were problematic (some of their packages were out of sync with the main repos and caused collisions). Just one more hint. Some times the update will hang at the very beginning. Ensure there is no other yum running (ps -ef | grep yum) and if so, do rm /var/lib/rpm/__db.00? and rerun the update. Ehud. -- Ehud Karni Tel: +972-3-7966-561 /\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ GnuPG: 98EA398D http://www.keyserver.net/Better Safe Than Sorry = 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: [resend] xkbd language switching
On Sunday March 4 2007, Vassilii Khachaturov wrote: I've learned that the following commands do the switching: setxkbmap -model pc104 -layout us setxkbmap -model pc104 -layout il so I can use them as input actions to select english/hebrew. However, turns out the commands do not update the icon. Is there a better way to switching language on KDE 3.5.5/FC5 using the keyboard? Please have a look at the following bug with a micro-HOWTO inside, on how to enable keyboard-based switching on the dead right-windows key: http://bugs.kde.org/show_bug.cgi?id=84606 Oh, but that's just evil, setting RWIN to be a third-level modifier just for the fun of selecting it as a language switching key, because the binding selection engine does not understand that it is a modifier. If you would bind it as something else, that would be nice, but people use ISO_Level3_Shift to temporarily switch keymaps, and your hack creates a collision. It is interesting that ISO_Next_Group and ISO_Prev_Group can't be used as kde modifier keys, for some reason unknown to me. Perhaps, in a world where modifier keys can be bound to actions, making it impossible to bind the right key to this action makes sense. Moreover, it is only possible to switch keymaps in one direction in KDE. I still hang to my opinion that KDE keyboard switching is a mess between xkb and modmap, thus, I use xkb and ignore KDE keymap switching altogether. -- Sincerely Yours, Michael Vasiliev The following statement is not true. The previous statement is true. = 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]
sendmail question - discard messages on out of disk
Hello, I'd like to configure sendmail to discard messages if it runs out of disk space. By discard I mean that I want it to just completely delete the message and forget about it. The current situation is that if it runs out of disk space then it keep filling the disk even more with deferred warnings. The discarded messages contain reports about spam, so both the receiver and sender just don't care too much if some of them are dropped in case of a disk space problem. So far digging the sendmail documentation haven't revealed anything. There is the $#DISCARD mailer but the only mention of using it I found is using the Access database feature. I'd like to be able to say deliver to the spool file, but if you fail to deliver and are going to send a deferred message then just discard it. Is this possible? Thanks, --Amos = 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]
RAID5/ext3 trouble...
Hey all I formerly had a gentoo box with a 4x250GB software RAID5, no LVM, ext3 filesystem, using disks sdc,sdd,sde and sdf. sda and sdb were the OS disks. I was to move the RAID over to a new machine running debian. Further to this, my backup of the data turned out to be only partial. The new disks in the system appeared as sda, sdb, sdc and sdd. I've then done a series of damaging things with them: 1. I've added 3 of them as spares rather than as drives with existing data. 2. When trying to assemble the array, this started rebuilding (effectively, wiping) the fourth disk. I did this several times (and I suspect I've clobbered data on more than one drive) before realizing I can sidestep this by assembling three drives at a time - which raises the array as degraded and doesn't kick off anything that can be destructive. 3. I've run --create 4. I've cleared the persistent superblocks off the drives and attempted to recreate them. Roughly at this point I decided this was unsalvageable and went to the backup, only to find out it failed to back up parts of the data. A memorable moment in my life. I've then blocked together a bunch of other harddrives to assemble a ~800GB volume, plonked an LVM on it, shared it as nfs, and made dd if=/dev/sdX ... copies in files of all raw RAID drives over LAN. At least I have a snapshot of things as they are right now before I start fixing things again. I attempted assembling a, b and c (d is the one I suspect is most damaged) - Raid5 degraded with 1 drive missing, and asking mke2fs where superblocks should lie. Half of these locations have superblocks fsck is willing to go on. The other doesn't. I just ran fsck -y on the md device, it's been fixing things for 6 hours now and I suspect whatever is left afterwards will not be of much use. I think the RAID mechanism is getting the stripes wrong, resulting in a total mish-mash of filesystem internals for e2fsck. I can attempt doing that with all the valid superblocks I found (about 8) and I can attempt assembling other combinations of the four physical drives. My most serious concern is a lot of photos that lived on this box, so mild filesystem corruption that will affect some percent of the small files would be more than tolerable. My questions: 1. Short of seeing a specialist shop, is there any recommended course of action to restore data off the array data? (technical suggestions more than welcome, recommendations for sanely-priced commercial software are also welcome) My current plan is to try and salvage some stuff attempting fsck using the various valid superblocks, copy off any files that look half-sane, then trying again with a different subset of the four drives. This is very time-consuming (a restoration of the 3 drives is ~10hrs over Gig ethernet) but seems the first thing to try. 2. Is there some minimally-destructive and readily available way to pool all four drives together and rather than reconstruct one entire drive from the data on the other thre, attempt reconstructing every stripe separately (based on the assumption drive X can help reconstruct a stripe where drive Y got clobbered and vice versa)? 3. If you think I should be flogged for not verifying the backup is AOK before diving in, kindly take a number and stand in line. I shall be distributing low-differential SCSI cables for flogging shortly. Thank you! = 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]
Comfy on Xubuntu?
Hi All, I've asked this before but didn't get any real answers: Is it possible to run a Comfy X keyboard on an old machine running Xubuntu? My kid just turned 2 years old and he is constantly trying to destroy my computer (running Ubuntu). I have 2 old computers on the side and I want to set up a computer for him running entirely on free software. I checked the Childsplay package - but it is only in English... Any Hebrew locale for Childsplay out there? Any other apps any of you know of? Thanks! -- ::. Amichai Rotman UIN#: 6401746 Registered Linux User#: 201192 [http://counter.li.org/] PLEASE READ: http://www.gnu.org/philosophy/no-word-attachments.html ::.
Re: sendmail question - discard messages on out of disk
Hi Amos, I don't know how to answer your question inside Sendmail. I would opt for a (simple and dirty) solution outside of Sendmail using a milter script in Perl that checks disk space and returns a service temporarily unavailable error in the event that there is no space left. Not elegant but easily maintainable by the next engineer. My 2c, - yba On Mon, 5 Mar 2007, Amos Shapira wrote: Date: Mon, 5 Mar 2007 14:31:10 +1100 From: Amos Shapira [EMAIL PROTECTED] To: Linux-IL linux-il@linux.org.il Subject: sendmail question - discard messages on out of disk Hello, I'd like to configure sendmail to discard messages if it runs out of disk space. By discard I mean that I want it to just completely delete the message and forget about it. The current situation is that if it runs out of disk space then it keep filling the disk even more with deferred warnings. The discarded messages contain reports about spam, so both the receiver and sender just don't care too much if some of them are dropped in case of a disk space problem. So far digging the sendmail documentation haven't revealed anything. There is the $#DISCARD mailer but the only mention of using it I found is using the Access database feature. I'd like to be able to say deliver to the spool file, but if you fail to deliver and are going to send a deferred message then just discard it. Is this possible? Thanks, --Amos = 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] -- 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]
New Ubuntu Mirror
Hi All, We just added a new Ubuntu Mirror in http://mirror.inter.net.il/pub/ubuntu and we are on a process of being an official mirror site. You all more than welcome to use it , and get a nice bandwidth for updates and apt-get packages. For all Ubuntu community in Israel. Have fun -- Ram
Random moves of the mouse
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]