Re: [4SALE] Opteron machine

2010-07-08 Thread Shlomi Fish
On Thursday 08 Jul 2010 07:20:01 Marc Volovic wrote:
 Opteron 148
 2GB RAM
 250GB disk
 ATI 2400
 
 1,200 ILS
 
 Marc Volovic
 marcvolo...@me.com
 

Marc, you deserve to be flogged with your own differential SCSI cable for 
starting a new thread by replying to an existing message instead of by sending 
a new message to the list.

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
Stop Using MSIE - http://www.shlomifish.org/no-ie/

God considered inflicting XSLT as the tenth plague of Egypt, but then
decided against it because he thought it would be too evil.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: hebrew letters in non-unicode vfat

2010-07-08 Thread Arie Skliarouk
Thanks to everybody who responded. The solution was pretty simple:
mount -o utf8=yes /dev/sdc1 /mnt/dok

IMHO, the option needs to be on by default.

--
Arie
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: [4SALE] Opteron machine

2010-07-08 Thread Avraham Rosenberg
On Thu, Jul 08, 2010 at 07:20:01AM +0300, Marc Volovic wrote:
 Opteron 148
 2GB RAM
 250GB disk
 ATI 2400
 
 1,200 ILS
 
 Marc Volovic
 marcvolo...@me.com
 
 
Marc,
You give very few details, but coming from you, I assume that all the
hardware is linux-compatible.
If this is so, I am interested in the machine.
We live in Jerusalem, but we shall be in your neighbourhood (in 
Rehovot or/and Nes-Ziona) within the next two weeks.
If you wish me to send the money before we meet, please indicate the
modality. The simplest way would be to deposit it in your bank account, but
I am open to any suggestion.
Cheers, Avraham
-- 
Please avoid sending Excel or Powerpoint attachments to this address.

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: [4SALE] Opteron machine

2010-07-08 Thread Amos Shapira
On 8 July 2010 19:29, Shlomi Fish shlo...@iglu.org.il wrote:

 Marc, you deserve to be flogged with your own differential SCSI cable for
 starting a new thread by replying to an existing message instead of by
 sending
 a new message to the list.


It appeared as a separate thread to my on gmail (and I think gmail is pretty
good at picking up threads).

I've also looked through the headers and  can't see anything that suggests
that his message is part of an existing thread.

--Amos
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: [4SALE] Opteron machine

2010-07-08 Thread Shlomi Fish
On Thursday 08 Jul 2010 13:21:40 Amos Shapira wrote:
 On 8 July 2010 19:29, Shlomi Fish shlo...@iglu.org.il wrote:
  Marc, you deserve to be flogged with your own differential SCSI cable for
  starting a new thread by replying to an existing message instead of by
  sending
  a new message to the list.
 
 It appeared as a separate thread to my on gmail (and I think gmail is
 pretty good at picking up threads).
 

Actually it isn't. GMail starts a new thread upon every change of the Subject 
line. See:

http://shlomif.livejournal.com/46955.html

 I've also looked through the headers and  can't see anything that suggests
 that his message is part of an existing thread.
 

There is:

{{{
In-reply-to: 20100708040930.ga25...@jasper.tkos.co.il
}}}

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
The Human Hacking Field Guide - http://shlom.in/hhfg

God considered inflicting XSLT as the tenth plague of Egypt, but then
decided against it because he thought it would be too evil.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: [4SALE] Opteron machine

2010-07-08 Thread Marc Volovic
Dear Avraham,

The machine is fully Linux compatible. It is actually NOT Windows compatible 
(Win XP - no SATA, Win 7 - no audio). Under Linux (ubuntu and so on) works 
great.

No need to send money before we meet. Easiest is paypal :-). Cash in hand is 
also fine.

Will supply machine with a 1-2 VGA cable splitter (it is dual screen capable) 
and a spare 250GB disk, just in case.

Best regards.

Marc


On Jul 8, 2010, at 1:17 PM, Avraham Rosenberg wrote:

 On Thu, Jul 08, 2010 at 07:20:01AM +0300, Marc Volovic wrote:
 Opteron 148
 2GB RAM
 250GB disk
 ATI 2400
 
 1,200 ILS
 
 Marc Volovic
 marcvolo...@me.com
 
 
 Marc,
 You give very few details, but coming from you, I assume that all the
 hardware is linux-compatible.
 If this is so, I am interested in the machine.
 We live in Jerusalem, but we shall be in your neighbourhood (in 
 Rehovot or/and Nes-Ziona) within the next two weeks.
 If you wish me to send the money before we meet, please indicate the
 modality. The simplest way would be to deposit it in your bank account, but
 I am open to any suggestion.
 Cheers, Avraham
 -- 
 Please avoid sending Excel or Powerpoint attachments to this address.

Marc Volovic
marcvolo...@me.com




___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: GUI for WiFi connection

2010-07-08 Thread Dotan Cohen
On 8 July 2010 08:07, Baruch Siach bar...@tkos.co.il wrote:
 Nothing fancy. I need WiFi for unrestricted outside access, and wired for
 internal servers access. So I just let wicd connect to the default WiFi AP,
 and then do:

 # udhcpc -q -s /usr/local/bin/udhcpc.script -i eth0

 With udhcpc.script being (lightly edited):

 #!/bin/sh

 if [ $1 != bound ]; then
    exit 0
 fi

 ifconfig $interface $ip netmask $subnet

 # Access the mail server via the wired network when in example.net, since the
 # WiFi connection there is unstable
 if [ $domain = example.net ]; then
    for i in $router; do
        ip route add a.b.c.d via $i dev eth0
    done
 fi


Nice, thanks.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


automatic/passive grab vs XGrabPointer/XUngrabPointer q

2010-07-08 Thread Erez D
hi

X automatically does pointer grab when the mouse drags (i.e. press and hold
the mouse button while moving it).
It is possible to override the auto grab settings (i.e owner_events, etc)
with a passive grab (e.g. XGrabButton)

what if:

1. the user presses mouse button 1 (and holds it down)
2. the use moves the mouse
3. the application calles XUngrabPointer - will it ungrab ?
or..
3. the application calles XGrabPointer  (withough XUngrabPointer first) -
will it regrab ?

thanks,
erez.
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: automatic/passive grab vs XGrabPointer/XUngrabPointer q

2010-07-08 Thread guy keren

Erez D wrote:

hi

X automatically does pointer grab when the mouse drags (i.e. press and 
hold the mouse button while moving it).
It is possible to override the auto grab settings (i.e owner_events, 
etc) with a passive grab (e.g. XGrabButton)


what if:

1. the user presses mouse button 1 (and holds it down)
2. the use moves the mouse
3. the application calles XUngrabPointer - will it ungrab ?
or..
3. the application calles XGrabPointer  (withough XUngrabPointer first) 
- will it regrab ?


thanks,
erez.


3.a no idea - this is not specifically explained in the man page - 
you'll need to check with a test program.


3.b read the man page for XGrabPointer:
 If the pointer is actively grabbed by some other client, it fails and 
returns Already‐Grabbed. If the pointer is frozen by an active grab of 
another client, it fails and returns GrabFrozen.


note: the grab is done by some client. the question is - when you say X 
automatically does pointer grab - who are you talking about? the X 
server does NOT do that. it is more likely that the toolkit in use (or 
the window manager, if this is a drag on one of the windows it created, 
which include the title-bar/borders of all application windows) does this.


so the question is - do you want to affect a dragdrop done by the same 
application in which your code resides? if so - it seems to be possible 
to do this - provider that you can send the right time-stamp (with 
regards to re-grabs). however, by doing this, you _might_ disrapt the 
working of the toolkit - so you should check that this does not happen 
by testing and by reading the source - and probably also by asking on 
the mailing list of the relevant toolkit.


--guy

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Why are the serial port numbers changing?

2010-07-08 Thread Dotan Cohen
A machine with a Gigabyte g33 motherboard and two serial expansion
cards has an interesting situation in which on each boot the serial
ports get different tty numbers. Why should they change on each boot,
and how can I prevent that?

The machine is currently running Ubuntu 10.04. I had run various
Ubuntus and Debians without issue in the past. Thanks.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Why are the serial port numbers changing?

2010-07-08 Thread Hetz Ben Hamo
IIRC correctly, it's due to the new features in Ubuntu (and Fedora): Each
time you boot the machine, it re-maps everything, although most of the maps
remains the same.

You can, after the machine has finished booting, scan the tty for the new
serial ports and use them whatever you like, since the /dev tree is being
re-created every boot.

Hetz

2010/7/8 Dotan Cohen dotanco...@gmail.com

 A machine with a Gigabyte g33 motherboard and two serial expansion
 cards has an interesting situation in which on each boot the serial
 ports get different tty numbers. Why should they change on each boot,
 and how can I prevent that?

 The machine is currently running Ubuntu 10.04. I had run various
 Ubuntus and Debians without issue in the past. Thanks.

 --
 Dotan Cohen

 http://gibberish.co.il
 http://what-is-what.com

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



-- 
my blog (hebrew): http://benhamo.org
Skype: heunique
MSN: hetz-b...@benhamo.org
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Why are the serial port numbers changing?

2010-07-08 Thread Dotan Cohen
On 8 July 2010 20:45, Hetz Ben Hamo het...@gmail.com wrote:
 IIRC correctly, it's due to the new features in Ubuntu (and Fedora): Each
 time you boot the machine, it re-maps everything, although most of the maps
 remains the same.

 You can, after the machine has finished booting, scan the tty for the new
 serial ports and use them whatever you like, since the /dev tree is being
 re-created every boot.
 Hetz

Thanks. I have some scripts that depend on the device being found at a
particular tty. How can I disable scanning so that I won't have to
change the scripts? Or, how can I tell what device is on which tty in
my scripts?

Thanks!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: linux beivrit

2010-07-08 Thread Raz
On Tue, Jul 6, 2010 at 2:14 AM, Tzafrir Cohen tzaf...@cohens.org.il wrote:

 On Mon, Jul 05, 2010 at 03:16:38PM +0300, Raz wrote:
  Hey linux il and others
  In http://sos-linux.svn.sourceforge.net/viewvc/sos-linux/LinuxHebrew/
  you'll find a small book for linux beginners in pdf format and doc
  format. anyone willing  to send his reviews and remarks please send it
  to me to this email. please edit it in word and use track changes.
  access:
  Simply download file one at a time through the web interface.
  In case you wish to add an entire section, you'll be acknowledged.

 Looks nice.

thank you

 A few points:

 1. What's the point in keeping all of those files under version control?
 Why not just use some FTP directory?

This is the only public domain I have.


 2. The book seems to use screenshots extensively. I can't copy text from
 a screenshot. Please try to use actual text rather than a screenshot if
 the window in case is a terminal. This will also greatly reduce the size
 of the file (well, not really, as you keep all the history in the file).

good point. I will use OCR.

 3. You write about ls:

 ls מקבלת תווים מיוחדים שתפקידם לייצג תבנית חיפוש  , סימן הכוכב* מייצג
 מספר כלשהו של תווים

 I hope you explain later on that this is not ls that interperts those
 wildcards.

Does it matter so much ?


 4. rar is in the same class as tar (archiver) not as gzip (simpple
 file/stream compressor). Nobody really uses rar, and there's really no
 use mentioning it (you have not mentioned rar-nonfree and where
 exactly rar 3.x archives are supported. Let's just avoid the topic
 altogether). Maybe consider mentioning zip / unzip.

i have mentioned zip and unzip one sentence before rar.


 One other question: does Docbook work well for Hebrew? Anybody tried it?



 --
 Tzafrir Cohen | tzaf...@jabber.org | VIM is
 http://tzafrir.org.il || a Mutt's
 tzaf...@cohens.org.il ||  best
 tzaf...@debian.org|| friend

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: linux beivrit

2010-07-08 Thread Raz
On Mon, Jul 5, 2010 at 7:11 PM, Ori Idan o...@helicontech.co.il wrote:

 Thank you very much for converting it to an open format.
 I have read the first part and find it written very easy to read, I liked
 it and will continue to read the rest.
 However in the first paragraph you said that someone coming from Windows
 will have the filling of going back in time, I don't understand why?
 Any time I see a Windows machine, I have a filling of going back in time,
 the graphical user interface of all popular distributions today is much more
 advanced then Windows so I do not understand why this is going back in time?

fixed.

 As for CLI, I think it should be rephrased (I will think how later) to show
 that this is a very advanced interface and people should not be afraid of
 it.

I am still waiting...

 --
 Ori Idan



 On Mon, Jul 5, 2010 at 6:27 PM, Raz razi...@gmail.com wrote:

 anyone interested odt format are uploaded to site. odt ,pdf and doc.

 On Mon, Jul 5, 2010 at 6:19 PM, Elazar Leibovich elaz...@gmail.com
 wrote:
  And I totally forgot.
  It's kind of funny, but in the last OS course of the Open University
 (which
  is of course taught using Linux), the student were forced to use .doc
  format for their theoretical answers!
 
  On Mon, Jul 5, 2010 at 6:18 PM, Elazar Leibovich elaz...@gmail.com
 wrote:
 
  In fact I'm having difficulties to find reviewers for my .odt files!
  I'm not aware of any public service provider nor university in Israel
  which accepts open document format in principle.
  But I'll be glad to be proven wrong. (It might be that a specific
 grader
  at your university accepts documents at .odt format, but in general
 the
  university does not support this format, as opposed to .doc format
 which
  is officially supported).
  But OpenOffice is capable of saving documents in the propriety .doc
  format, which is the de facto standard in Israel. And you can have your
 work
  reviewed that way.
  Another option is to print it to PDF, but it's rather clumsy, because
 the
  reviewer cannot edit directly your document.
 
  2010/7/5 Ori Idan o...@helicontech.co.il
 
  So you decided to write in docx format and you expect people to review
  your work?
  I did not even looked at it because of the format.
  If you write it in OpenOffice even if it does not look the best,
 people
  may help you.
  The issue of how it looks can be fixed later.
  You may even work with simple text file to begin and later on transfer
 it
  to a good word processor to do the formatting.
 
  --
  Ori Idan
 
 
  On Mon, Jul 5, 2010 at 4:31 PM, Raz razi...@gmail.com wrote:
 
  Hey Nadav
  When i started i tried to work with open office in Hebrew, but i
  simply spent too much time
  trying to fix things, indentation, merging pictures and so on.
  also, how can ask for people to send me their comments ? I did not
 see
  track changes.
 
 
  On Mon, Jul 5, 2010 at 4:18 PM, Nadav Har'El 
 n...@math.technion.ac.il
  wrote:
   On Mon, Jul 05, 2010, Raz wrote about Re: linux beivrit:
Open office would have been a much better choice (or lyx, or
 latex
or a few
others)
   I tried open format. does not look good at all.
  
   Hi,
  
   A lot of things can be said against Open Office (although I
 personally
   disagree with most of them), but I don't see how you can say its
   output
   (I assume you don't mean its UI) doesn't look good. What didn't you
   like?
   The fonts? The default style or layout? Or what?
  
   In my experience, you can create beautiful documents in Open
 Office,
   and it's
   not harder to do so than with with Microsoft Office, so I wonder
   whater
   problems you are referring to.
  
   Anyway, it's probably too late now for this document (converting
   formats
   is a harder issue), but it's something to think about for your next
   document :-)
  
   --
   Nadav Har'El|  Monday, Jul  5 2010, 23
   Tammuz 5770
   n...@math.technion.ac.il
   |-
   Phone +972-523-790466, ICQ 13349191 |Boat: A hole in the water
   surrounded by
   http://nadav.harel.org.il   |wood into which one pours
 money.
  
 
  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
 
 
  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
 
 
 
 



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: linux beivrit

2010-07-08 Thread Raz
On Mon, Jul 5, 2010 at 4:44 PM, Herouth Maoz hero...@spamcop.net wrote:


 Quoting Raz razi...@gmail.com:

  Hey Nadav
 When i started i tried to work with open office in Hebrew, but i
 simply spent too much time
 trying to fix things, indentation, merging pictures and so on.
 also, how can ask for people to send me their comments ? I did not see
 track changes.


 As a matter of fact, there is a track changes feature:
 Edit-changes-record.

thank you hez. I will use it.


 Herouth

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: linux beivrit

2010-07-08 Thread Raz
On Tue, Jul 6, 2010 at 8:09 AM, Dotan Cohen dotanco...@gmail.com wrote:

 On 5 July 2010 16:31, Raz razi...@gmail.com wrote:
  Hey Nadav
  When i started i tried to work with open office in Hebrew, but i
  simply spent too much time
  trying to fix things, indentation, merging pictures and so on.
  also, how can ask for people to send me their comments ? I did not see
  track changes.
 

 If you let us know specifically what problem you had, such that we can
 reproduce it, one of us (likely me) will file bugs and see that it
 gets fixed. I use Open Office in Hebrew fairly regularly and don't
 have the problems that you mention, but I might just be used to it's
 quirks. Write down step by step instructions about what you tried and
 what happened, and I'll test. Thanks.

1. prompt does not indicate hebrew or english
2. english and hebrew subtitles indent badly

will let you know more as I moved to ooffice 3.0


 --
 Dotan Cohen

 http://gibberish.co.il
 http://what-is-what.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: linux beivrit

2010-07-08 Thread Tzafrir Cohen
On Thu, Jul 08, 2010 at 10:44:52PM +0300, Raz wrote:
 On Tue, Jul 6, 2010 at 2:14 AM, Tzafrir Cohen tzaf...@cohens.org.il wrote:
 
  On Mon, Jul 05, 2010 at 03:16:38PM +0300, Raz wrote:
   Hey linux il and others
   In http://sos-linux.svn.sourceforge.net/viewvc/sos-linux/LinuxHebrew/
   you'll find a small book for linux beginners in pdf format and doc
   format. anyone willing  to send his reviews and remarks please send it
   to me to this email. please edit it in word and use track changes.
   access:
   Simply download file one at a time through the web interface.
   In case you wish to add an entire section, you'll be acknowledged.
 
  Looks nice.
 
 thank you
 
  A few points:
 
  1. What's the point in keeping all of those files under version control?
  Why not just use some FTP directory?
 
 This is the only public domain I have.
 
 
  2. The book seems to use screenshots extensively. I can't copy text from
  a screenshot. Please try to use actual text rather than a screenshot if
  the window in case is a terminal. This will also greatly reduce the size
  of the file (well, not really, as you keep all the history in the file).
 
 good point. I will use OCR.

Hmm copy/paste?

 
  3. You write about ls:
 
  ls מקבלת תווים מיוחדים שתפקידם לייצג תבנית חיפוש  , סימן הכוכב* מייצג
  מספר כלשהו של תווים
 
  I hope you explain later on that this is not ls that interperts those
  wildcards.
 
 Does it matter so much ?

Hmm... if you don't understand the difference - it does matter.

The shell expantion is not that of simple wildcard. It is also of
variables, command substitution, and more.

For instance:

  cp *.a *.b

is pointless (unless you happen to only have a single *.a, and in which
case it will be bopied to the literal '*.b'.

This is because 'cp' does not care about wildcard expansion.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Why are the serial port numbers changing?

2010-07-08 Thread Baruch Siach
Hi Dotan,

On Thu, Jul 08, 2010 at 10:30:16PM +0300, Dotan Cohen wrote:
 On 8 July 2010 20:45, Hetz Ben Hamo het...@gmail.com wrote:
  IIRC correctly, it's due to the new features in Ubuntu (and Fedora): Each
  time you boot the machine, it re-maps everything, although most of the maps
  remains the same.
 
  You can, after the machine has finished booting, scan the tty for the new
  serial ports and use them whatever you like, since the /dev tree is being
  re-created every boot.
  Hetz
 
 Thanks. I have some scripts that depend on the device being found at a
 particular tty. How can I disable scanning so that I won't have to
 change the scripts? Or, how can I tell what device is on which tty in
 my scripts?

The right solution IMO is to use udev rules that instruct udev to create those 
tty devices at a persistent location. To get the full information you need to 
write these rules do something like the following for each tty device:

# udevadm info -a -p $(udevadm info -q path -n /dev/ttyXXX)

Then, use the info you get to write the rules according to 
http://reactivated.net/writing_udev_rules.html. (Note that udevinfo that's 
mention in this document is now 'udevadm info'). Put the udev rules in a file 
(say, '70-persistent-tty.rules') under /etc/udev/rules.d/, and you're done.

baruch

-- 
 ~. .~   Tk Open Systems
=}ooO--U--Ooo{=
   - bar...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il