Re: SMS Hebrew encoding

2006-07-04 Thread Levy, Chen

ביום שלישי 04 יולי 2006, 08:27, נכתב על ידי Omer Zak:
 On Tue, 2006-07-04 at 08:11 +0300, Levy, Chen wrote:
   2. To send legally-formatted Hebrew SMS message, certain flags in the
   system parts of the message need to be correctly set for it to have 70
   Unicode characters rather than 160 Latin characters.  vicq probably
   does not have those flags correctly set.  I do not have vicq on my PC
   (it is supposed to be a Perl script), so I did not check this.
 
  I will look into it. Any pointers to specific information will be
  welcome.

I tried to  follow your hint, and found the following configuration options in 
the rc file:

encoding={koi|win|translit}
separator_length={70|160}

I tried it with win/70/unicode but got the same results without sep

 If vicq is really a single Perl script, then E-mail it to me and I'll
 look for hints there.

it is a 61K download from http://gonzo.kiev.ua/projects/vicq/vicq-0.4.2.tar.gz
but since you asked for it I will send the script to you privately.

  --- Omer

Thanks,
-- Chen

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]



kernel module question

2006-07-04 Thread Michael Sternberg

Hi, I'm writing kernel module for 2.6 linux.

The purpose is to intercept all writes to disk devices and to notify user 
mode application about sector/length of write.


I want to change function pointers of request_fn and make_request_fn to my 
own routines.


The question is what is a difference between this two functions?

Sometimes I see device like sda which has both pointers and both functions 
get called upon I/O.


Sometimes I see only make_request_fn (for instance in LVM case).

Which function should I intercept?

I did it for make_request_fn and checked with application that writes to 
some sector on disk. But in kernel I got write to different location.


Make_request_fn gets bio as parameter so I got writes info from it, but 
request_fn gets only queue as parameter.


Thank you for help

=
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: kernel module question

2006-07-04 Thread Gilad Ben-Yossef

Michael Sternberg wrote:

Hi, I'm writing kernel module for 2.6 linux.

The purpose is to intercept all writes to disk devices and to notify 
user mode application about sector/length of write.


I want to change function pointers of request_fn and make_request_fn to 
my own routines.


Sounds like a horrible and racy plan. I'm sure there's a far better way.


The question is what is a difference between this two functions?

I did it for make_request_fn and checked with application that writes to 
some sector on disk. But in kernel I got write to different location.


Make_request_fn gets bio as parameter so I got writes info from it, but 
request_fn gets only queue as parameter.


AFAIK, make_request_fn is the function that produces the request queue = it queues requests for a device. request_fn is 
the consumes the queue - it's the function where the driver reads the queue and handle the requests.


Gilad



--
Gilad Ben-Yossef [EMAIL PROTECTED]
Codefidence. A name you can trust(tm)
Web: http://codefidence.com  | SIP: [EMAIL PROTECTED]
IL: +972.3.7515563 ext. 201  | Fax:+972.3.7515503
US: +1.212.2026643 ext. 201  | Cel:   +972.52.8260388

The journey of a thousand miles begins with a single oy.

=
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]



Moving

2006-07-04 Thread Marc A. Volovic
Lo, children.

I am moving house. By 1st August. This being the case, and there being
HEAVY stuff I am not really interested in moving, the following equipment
is for TRADE or SALE (with significant preference to trade):

1. nStor CR8e RAID box with 7*18GB disks
2. nStor CR8e RAID box with 8*36GB disks
3. IBM x306 1U pizzabox 2.8GHz, 512MB RAM, SCSI disk
4. Sun Ultra 5 270MHz, 256MB, 10GB disk
5. Sun Ultra 60 1*450MHz, 1GB, 2*18GB disks, KB+M

What do I want in return? I have no idea. I want small, light, interesting
stuff. Micro-controller kits? CPU devel boards? A whole lot of diapers?
Vintage and working fountain pens? Or - as a last resort - make a monetary
offer, which I do not really relish.

Should this NOT go to someone by 30th of July, on the 31st of July #1 and
#2 will be trash-binned and #4 will (possibly) be sent to Brasil to OpenBSD
people. I have not yet decided what I will do with #3 and #5.

M

-- 
---MAV
Marc A. Volovic [EMAIL PROTECTED]
Swiftouch, LTD +972-544-676764

=
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: Moving

2006-07-04 Thread Amos Shapira

On 04/07/06, Marc A. Volovic [EMAIL PROTECTED] wrote:

Lo, children.

I am moving house. By 1st August. This being the case, and there being
HEAVY stuff I am not really interested in moving, the following equipment
is for TRADE or SALE (with significant preference to trade):

1. nStor CR8e RAID box with 7*18GB disks
2. nStor CR8e RAID box with 8*36GB disks

..

Should this NOT go to someone by 30th of July, on the 31st of July #1 and
#2 will be trash-binned and #4 will (possibly) be sent to Brasil to OpenBSD


Wouldn't these be useful for community servers?


people. I have not yet decided what I will do with #3 and #5.


Also maybe some Linux distributions like Debian might be interested in these?

--Amos

--
(a grizzly) can tear through a tree like a Jewish mother
through self-esteem.  - The Simpsons

=
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: Kernel I/O Errors

2006-07-04 Thread ik

Hi,

I patched the BIOS of that computer with the latest patch.

The good news is that it solved few things (not related) that I
thought to myself that they are not right, and in I was shucked to see
that I'm actually right ...

The bad news is that it did not solve my problem at all.

I tried all of the dma speeds possible to use, and only using
ide=nodma on grub parameters works.

I have two more ideas, but I would be very glad to get additional
ideas from any of you, if you have any ...

My first idea:
1. Compile your own kernel.
2. Try completely different hard-drive (I have an old hd, with dma of
133 or might even less).

Any more ideas you might be able to give me ?

Ido

On 6/30/06, ik [EMAIL PROTECTED] wrote:

Hi,

Thank you all for your answers.

I turned off the dma support using:
/sbin/hdparm -d0 /dev/hda
 and the errors ended...

Now, how can I make it permanently off in linux boot (what parameter
should I give for grub) ?

Ido

On 6/30/06, Henry Ficher [EMAIL PROTECTED] wrote:
 Hi Ido,


 You may need to upgrade your mobo's BIOS


 ik wrote:

  On 6/30/06, Shachar Shemesh [EMAIL PROTECTED] wrote:
 
  ik wrote:
 
   OK, I replaced the Hard drive for a new one,
  
   It does not have any bad blocks or FS on it when I checked (using a
   live cd and bad blocks like before), now when I install either debian
   stable with 2.6.8 or Fedora Core 5, I'm getting
   dma_intr: status=0x51 {DriveReady SeekComplete Error }
  
   Then I re-run the same live cd with bad blocks, and still no bad
   blocks where found ...
 
 




=
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]



good book in tcsh shell programming.

2006-07-04 Thread yahav Biran
Hi,
Does any body know a good book with examples for learning tcsh. I would like
to learn the benefits of using it by scripting such as: variables and
arithmetic, looping, functions and other stuff.


Thanks
yahav


=
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: good book in tcsh shell programming.

2006-07-04 Thread Shachar Shemesh

yahav Biran wrote:


Hi,
Does any body know a good book with examples for learning tcsh.
First, I don't think there is such a thing as tcsh programming. I'm 
not aware that programming tcsh is, in any way, different than 
programming csh. You are far more likely to find what you need by 
searching for C-Shell programming.

 I would like
to learn the benefits of using it by scripting such as: variables and
arithmetic, looping, functions and other stuff.
  
At the risk of starting a flame war, why not study bourne shell 
programming instead?


The way I see it is this. If you want to do any amount of serious 
scripting, shell scripting is not the right tool for the job. It's too 
easy to get security problems due to non-standard file names and 
wildcard expansions. If you want to code large code segments, use perl, 
python etc.


Which leaves shell scripting for one of two things:
1. Small scale programming
2. Programs intended to run on systems where perl/python may not be 
installed.


For 1, it doesn't really matter. For 2, bourne shell is much more likely 
to be around than csh.


That aside, csh has some serious down sides for serious programming, 
with some constructs (especially having to do with complicated 
redirections) simply not being possible. For that reason alone, if you 
have to learn something, learn bourne shell.

Thanks
yahav
  

Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting ltd.
Have you backed up today's work? http://www.lingnu.com/backup.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: good book in tcsh shell programming.

2006-07-04 Thread Ira Abramov
Quoting yahav Biran, from the post of Tue, 04 Jul:
 Hi,
 Does any body know a good book with examples for learning tcsh. I would like
 to learn the benefits of using it by scripting such as: variables and
 arithmetic, looping, functions and other stuff.

start by GFI of course...
http://www.google.com/search?q=%22tcsh+tutorial%22

then stop and ask yourself what does tcsh have that's not done better
and more commonly with bash. I can't think of anything. I don't even
bother installing it on my machines unless a user asks for it.

not to mention...
http://www.google.com/search?q=csh+harmful

just take a peek at the first link.

-- 
Wuzzp?
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]



Re: Moving

2006-07-04 Thread Marc A. Volovic
Quoth Eli Marmor:

 But I'm sure other people will be interested to have answers for the
 following questions:
 
  1. nStor CR8e RAID box with 7*18GB disks
  2. nStor CR8e RAID box with 8*36GB disks
 
 Including disks?  How old and what RPM?

I am not sure how to write #1 and #2 differently. There are seven disks in
number one (out of eight possible slots). The disks are eighteen GB SCSI. I
think they are ten thousand RPM, but I am not sure. I do NOT remember how
old they are, I will need to check.

Number two has eight disks out of possible eight. The disks are thirty-six
GB SCSI. These are also, IIRC, ten thousand RPM.

  3. IBM x306 1U pizzabox 2.8GHz, 512MB RAM, SCSI disk
 The same question about the SCSI disk, plus its size.

I am NOT sure, but is either nine GB or eighteen GB.

-- 
---MAV
Marc A. Volovic [EMAIL PROTECTED]
Swiftouch, LTD +972-544-676764

=
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: Moving

2006-07-04 Thread Marc A. Volovic
Quoth Amos Shapira:

 Should this NOT go to someone by 30th of July, on the 31st of July #1 and
 #2 will be trash-binned and #4 will (possibly) be sent to Brasil to OpenBSD
 Wouldn't these be useful for community servers?

Not really. they need a head to connect to something (i.e. a machine with a
scsi controller). And - I do not know anyone with anything like the
competence and the willingness to maintain this shit. Maybe,when I move,
I'll contrib them to the local school.

-- 
---MAV
Marc A. Volovic [EMAIL PROTECTED]
Swiftouch, LTD +972-544-676764

=
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: Moving

2006-07-04 Thread Shachar Shemesh

Marc A. Volovic wrote:


Not really. they need a head to connect to something (i.e. a machine with a
scsi controller). And - I do not know anyone with anything like the
competence and the willingness to maintain this shit. Maybe,when I move,
I'll contrib them to the local school.
  

Not to mention that they can, today, be replaced by a single disk

 Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting ltd.
Have you backed up today's work? http://www.lingnu.com/backup.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: Recommendations for XP under Linux

2006-07-04 Thread Michael Ben-Nes

Hmmm


If you have Hardware virtualization like Intel vt-x you can use Xen.

And the performance overhead is from 0.3% to 5% ( it will kick vmware butt )


http://www.xensource.com/products/xen/index.html


Aharon Schkolnik wrote:


Greetings.
 
I have started a new job and find that I will have to use some 
applications which will run only under Windows (XP).  I would like to 
run Linux on my desktop with a virtual XP machine running under it. In 
the (relatively distant) past I have use VMware for this. At the time, 
I convinced my employer to shell out the money for the VMware license. 
I have been informed that getting the money out of my current employer 
may be difficult and time consuming. In any event, I need to get some 
solution up and running right away, so they don't start pressuring me 
to put Windows on my desktop. I understand that VMware has a free 
player and that it is possible to hack it into installing XP. Is 
this as big a pain as it looks ? Has anyone done it ? Are there other 
possible solutions ? What do you recommend ?
 
TIA
 
Aharon
 
 


--

--
Michael Ben-Nes - Internet Consultant and Director.
http://www.epoch.co.il - weaving the Net.
Cellular: 054-4848113
--


=
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]



convert Microsoft Excel xls To CSV

2006-07-04 Thread yahav Biran

It's nightmare to process an xls file. An external system is generating it
and I need to process it.
Is there any way to convert Microsoft Excel xls To CSV using a shell script.
Is there any linux util that can help?

thanks


=
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: convert Microsoft Excel xls To CSV

2006-07-04 Thread Omer Zak
gnumeric in batch mode?
(DISCLAIMER:  I did not actually try it for this purpose or read its man
file.)

On Tue, 2006-07-04 at 16:16 +0300, yahav Biran wrote:
 It's nightmare to process an xls file. An external system is generating it
 and I need to process it.
 Is there any way to convert Microsoft Excel xls To CSV using a shell script.
 Is there any linux util that can help?
 
 thanks

-- 
You haven't made an impact on the world before you caused a Debian
release to be named after Snufkin.
My own blog is at http://tddpirate.livejournal.com/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/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: good book in tcsh shell programming.

2006-07-04 Thread Marc A. Volovic
Quoth Shachar Shemesh:

 At the risk of starting a flame war, why not study bourne shell 
 programming instead?
[snip]

Actually, there is one reason to learn {,t}csh - which may or may not apply
as the case may be - most biotech software/systems are done with csh glue
(except where I had my hand in it ;-)...

m
-- 
---MAV
Marc A. Volovic [EMAIL PROTECTED]
Swiftouch, LTD +972-544-676764

=
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: Recommendations for XP under Linux

2006-07-04 Thread Muli Ben-Yehuda
On Tue, Jul 04, 2006 at 04:17:04PM +0300, Michael Ben-Nes wrote:

 If you have Hardware virtualization like Intel vt-x you can use Xen.
 
 And the performance overhead is from 0.3% to 5% ( it will kick vmware butt )

These numbers are for para-virtualized guests, not fully virtualized
guests (and are somewhat in dispute in any case). Compute performance
with VT is reasonable; IO performance with VT is horrible.

Cheers,
Muli

=
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: convert Microsoft Excel xls To CSV

2006-07-04 Thread Gabor Szabo

On 7/4/06, yahav Biran [EMAIL PROTECTED] wrote:


It's nightmare to process an xls file. An external system is generating it
and I need to process it.
Is there any way to convert Microsoft Excel xls To CSV using a shell script.
Is there any linux util that can help?


I don't know about shell scripts but if you have Perl on the system
you can have very simple interface to both read and write Excel files.

See these modules

http://search.cpan.org/dist/Spreadsheet-ParseExcel-Simple/
http://search.cpan.org/dist/Spreadsheet-ParseExcel/

Gabor

=
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: Moving

2006-07-04 Thread Marc A. Volovic
Quoth Marc A. Volovic:
   3. IBM x306 1U pizzabox 2.8GHz, 512MB RAM, SCSI disk
   4. Sun Ultra 5 270MHz, 256MB, 10GB disk
   5. Sun Ultra 60 1*450MHz, 1GB, 2*18GB disks, KB+M

All three for ONE of:

Namiki Cherry Blossom
Namiki Wave and Plover
Namiki Raden 2000
Namiki Sweet Flag and Moon
Dani-Trio Squirrel and Grape

Any two of the above for ONE of:
Delta Monza
Delta Venezia
Delta Don Quixote Vermeil

Just the Ultra 60 for ONE of:
Namiki Sterling Dragon
Namiki Sterling Hawk


All are FP.

-- 
---MAV
Marc A. Volovic [EMAIL PROTECTED]
Swiftouch, LTD +972-544-676764

=
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: Moving

2006-07-04 Thread Marc A. Volovic
 I am moving house. By 1st August. This being the case, and there being

Also:

6. Systel PM1500 intelligent UPS
-- 
---MAV
Marc A. Volovic [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: convert Microsoft Excel xls To CSV

2006-07-04 Thread Daniel Feiglin

Load into Open Office. Save as CSV.

You may have to split the xls file into separate sheets to make this work.

Cheers.

yahav Biran wrote:

It's nightmare to process an xls file. An external system is generating it
and I need to process it.
Is there any way to convert Microsoft Excel xls To CSV using a shell script.
Is there any linux util that can help?

thanks


=
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]


  
begin:vcard
fn:Daniel Feiglin
n:Feiglin;Daniel
email;internet:[EMAIL PROTECTED]
tel;work:972 9 8616204
tel;fax:972 9 8621052
tel;cell:927 52 3869986
version:2.1
end:vcard



Re: convert Microsoft Excel xls To CSV

2006-07-04 Thread Ehud Karni
On Tue, 04 Jul 2006 16:16:06 yahav Biran wrote:

 It's nightmare to process an xls file. An external system is generating it
 and I need to process it.
 Is there any way to convert Microsoft Excel xls To CSV using a shell script.
 Is there any linux util that can help?

There is the xlhtml package (sources at: http://chicago.sourceforge.net/xlhtml/
RPM package at Fedora extras). I use it for several years now. I have written
a very simple wrapper script. It works quite well.

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: Moving

2006-07-04 Thread Marc A. Volovic
Quoth Shachar Shemesh:

 Marc A. Volovic wrote:
 
 Not to mention that they can, today, be replaced by a single disk

Yes. They are TWO 3U units, with TWO power supplies each and a LOT of leds.

  Shachar
 
 -- 
 Shachar Shemesh
 Lingnu Open Source Consulting ltd.
 Have you backed up today's work? http://www.lingnu.com/backup.html

-- 
---MAV
Marc A. Volovic [EMAIL PROTECTED]
Swiftouch, LTD +972-544-676764

=
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: Moving

2006-07-04 Thread Marc A. Volovic
Quoth Marc A. Volovic:

   Namiki Cherry Blossom
   Namiki Wave and Plover
   Namiki Raden 2000
   Namiki Sweet Flag and Moon
   Dani-Trio Squirrel and Grape
   Delta Monza
   Delta Venezia
   Delta Don Quixote Vermeil
   Namiki Sterling Dragon
   Namiki Sterling Hawk

A special prize for the poor person who shells out for this :-)...

A development kit for a nice microcontroller.

No - seriously, I do NOT realy expect any of this. Just engage my
interest. Truth be told, had I not been moving house, I'd be delighted to
get Dawn Sun's working Amiga.

M
-- 
---MAV
Marc A. Volovic [EMAIL PROTECTED]
Swiftouch, LTD +972-544-676764

=
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]