USB gadget linux connection

2009-02-08 Thread Moshe Gorohovsky
Hi all,

How to detect USB gadget linux connection to another host?

Are there /sys or /proc files that I can see from them, if the system is
connected to another host, via a USB cable?

- Moshe


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


Re: Identifying linux-il messages

2009-02-08 Thread Moshe Gorohovsky
Hi,

Herouth Maoz wrote:
 That's not a message from linux-il. That's a message to which linux-il
 was CCed. The powers in charge of this mailing list encourage people to
 use Reply-to-all when answering messages to the list. As a result, you
 get a direct message from the person who is writing (if you are in the
 recipient/sender list of the original message).
 
 When the list software sees that it has been CCed to a message that was
 sent directly to you, it refrains from sending you its own copy, so you
 get only one copy (although this can be changed).
 
 Messages that were not addressed to you but come directly from the list
 have many additional headers. Personally, I rely on the List-Id header
 to filter the list.
 
 However, this strategy means that you cannot filter all messages that
 relate to the list. Only the ones that were not addressed to you.
 Discussions in which you have involved yourself will end up in your
 inbox. For some reason, the list owners consider this to be a GOOD
 thing. I consider it to be very annoying, but I have no say in the
 matter...
 
 Herouth
 

Thanks

mmm... I think, I found a way to put these linux-il-related messages to
a separate folder:

Define a filter that moves all messages with List-Id header or with CC
header that contain 'linux-il' to the folder. Just thought this might be
help. Note ORed headers :)

- Moshe

 Quoting Moshe Gorohovsky mo...@tkos.co.il:
 
 Hi All,

 How do I identify linux-il messages?

 In full message source, I see only one header that mentions linux-il:
   CC: linux-il linux-il@cs.huji.ac.il
 No other header mentions 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: Webcam Recommendations?

2008-11-26 Thread Moshe Gorohovsky


Chaim Keren-Tzion wrote:
 Any recommendations for a good webcam to use with linux? (Mainly for use
 with Skype)
 
 TIA,
 Chaim
 

Logitec QuickCam Pro 9000 works for me out of the box on Debian Lenny
with Skype 2.0.0.X

-- 
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - [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: Preferred video card for Linux dual-head?

2008-08-24 Thread Moshe Gorohovsky
Hi,

I had bought ATI Sapphire HD 2400 PRO for a developer workstation.
The card was in mass sales two months ago. The card is working
perfect with Debian lenny - July 2008 and with Knoppix 5.3.1.
Graphics display and video processing seems fine with
xserver-xorg-video-radeonhd video driver.

- Moshe.

Amos Shapira wrote:
 Hello,
 
 My boss bought second-hand extra monitors for all of us and I now need
 to buy graphics cards which can support dual-head for Debian/Ubuntu
 (and Windows XP and Vista).
 
 Since there are always swings around about best linux support which
 I didn't follow, what's the order of the day? Should go with nVidia,
 AMD or maybe Intel? Any specific card families/models?
 
 The computers are a mix of older (2-3 years?) to new (2 months old),
 so the system bus might be a bit limited too.
 
 I don't need to run games or anything too fancy - just plain
 programming/surfing and remote desktop, though support for Compiz
 would be a nice bonus.
 
 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]
 

-- 
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - [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]



Enable packet forwarding on boot on Debian Etch

2008-07-10 Thread Moshe Gorohovsky
Hi list members,

I have a PC with Debian Etch.
The PC has tow NICs, eth1 and eth2
I need the PC to forward IPV4 packets between the NICs.
To permanently enable IPV4 packet forwarding on Debian Etch,
one needs to uncomment corresponding line in /etc/sysctl.conf:
   net.ipv4.conf.default.forwarding = 1

Debian reference on Etch does not mention this configuration,
so I think this is a useful information.
(Or search the Internet)

- Moshe

=
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: Multiple penguins on boot

2008-05-09 Thread Moshe Gorohovsky
Hi,

Tzafrir Cohen wrote:
 On Thu, May 08, 2008 at 12:59:59PM +0300, Shlomi Fish wrote:
 On Thursday 08 May 2008, Moshe Gorohovsky wrote:
 Hi linux-il,

 Hag Sameah!

 I recently set up a linux PC with Intel Core2 Duo CPU.

 I had started the PC up from a knoppix v5.3.1 DVD.
 Linux kernel on this DVD uses graphical framebuffer console and
 shows two penguin images on start-up. My previous machine
 showed a single penguin image. It was AMD K7 CPU (single core).

 Why linux kernel shows two penguin images on boot?
 Does it count CPU cores?

 In a way. The number of penguins is indicative of the number of processors 
 the 
 machine has. I'm getting two processors on my relatively old P4-2.4GHz 
 machine which just has the so-called Hyper-Threading feature.
 
 As far as Linux is concerened, those are two separate processors, for
 the most part.
 
 e.g: you'll see two CPUs in /proc/cpuinfo .
 
Indeed, cat /proc/cpuinfo shows two processors:
processor   : 0
.
processor   : 1
.

Is there a Linux tool to start and run a program till it exits
on specific processor or core?

Moshe.


=
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: Multiple penguins on boot

2008-05-09 Thread Moshe Gorohovsky
Arie Skliarouk wrote:
 On Thu, May 8, 2008 at 11:49 AM, Moshe Gorohovsky [EMAIL PROTECTED] wrote:
 
 Where to look for available linux kernel parameters documentation
 on installed Debian GNU/Linux Lenny system?
 
 
 linux kernel source-Documentation/kernel-parameters.txt
 
Thanks.

- Moshe.

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



Multiple penguins on boot

2008-05-08 Thread Moshe Gorohovsky
Hi linux-il,

Hag Sameah!

I recently set up a linux PC with Intel Core2 Duo CPU.

I had started the PC up from a knoppix v5.3.1 DVD.
Linux kernel on this DVD uses graphical framebuffer console and
shows two penguin images on start-up. My previous machine
showed a single penguin image. It was AMD K7 CPU (single core).

Why linux kernel shows two penguin images on boot?
Does it count CPU cores?

How to set up Debian GNU/Linux Lenny linux kernel to use framebuffer
console on boot, instead of VGA console that it uses by default?

Where to look for available linux kernel parameters documentation
on installed Debian GNU/Linux Lenny system?

- Moshe

=
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: Multiple penguins on boot

2008-05-08 Thread Moshe Gorohovsky
Hi,

Thank you for the answers.

Moshe.

Michael Tewner wrote:
 A recent version of the Linux kernel will see two CPU's but know
 they're on the same physical processor. This is important especially
 when you have multiple physical multi-core processors.
 
 Multiple cores share text segments- the kernel will try to keep
 multiple threads of the same process on the same physical CPU.
 
 On 5/8/08, Shlomi Fish [EMAIL PROTECTED] wrote:
 On Thursday 08 May 2008, Moshe Gorohovsky wrote:
 Hi linux-il,

 Hag Sameah!

 I recently set up a linux PC with Intel Core2 Duo CPU.

 I had started the PC up from a knoppix v5.3.1 DVD.
 Linux kernel on this DVD uses graphical framebuffer console and
 shows two penguin images on start-up. My previous machine
 showed a single penguin image. It was AMD K7 CPU (single core).

 Why linux kernel shows two penguin images on boot?
 Does it count CPU cores?

 In a way. The number of penguins is indicative of the number of processors
 the
 machine has. I'm getting two processors on my relatively old P4-2.4GHz
 machine which just has the so-called Hyper-Threading feature.

 Regards,

  Shlomi Fish

 -
 Shlomi Fish   http://www.shlomifish.org/
 Parody on The Fountainhead - http://xrl.us/bjria

 The bad thing about hardware is that it sometimes work and sometimes
 doesn't.
 The good thing about software is that it's consistent: it always does not
 work, and it always does not work in exactly the same way.

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



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



Bug#477363: tomcat5.5 5.5.26-1 can not start

2008-04-22 Thread Moshe Gorohovsky
Package: tomcat5.5
Version: 5.5.26-1
Severity: normal
Tags: patch

Tomcat 5.5.26-1 can not start.
Running /etc/init.d/tomcat5.5 start yelds following
lines in /var/log/syslog:
  jsvc.exec[3606]: java.lang.NoClassDefFoundError:
  org/apache/commons/logging/LogFactory
  ...
  jsvc.exec[3606]: Caused by: java.lang.ClassNotFoundException:
  org.apache.commons.logging.LogFactory


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tomcat5.5 depends on:
ii  adduser  3.107   add and remove users and groups
ii  java-gcj-compat [jav 1.0.78-1Java runtime environment using GIJ
ii  jsvc 1.0.2~svn20061127-6 wrapper to launch Java application
ii  libecj-java  3.3.0+0728-9Eclipse Java compiler (library)
ii  libtomcat5.5-java5.5.26-1Java Servlet engine -- core librar
ii  sun-java6-jre [java2 6-06-1  Sun Java(TM) Runtime Environment (

tomcat5.5 recommends no packages.

-- no debconf information
--- tomcat5.5-orig-20080422 2008-04-02 08:49:37.0 +0300
+++ tomcat5.5   2008-04-22 18:28:52.0 +0300
@@ -120,6 +120,8 @@
 CATALINA_PID=/var/run/$NAME.pid
 BOOTSTRAP_CLASS=org.apache.catalina.startup.Bootstrap
 
JSVC_CLASSPATH=/usr/share/java/commons-daemon.jar:$CATALINA_HOME/bin/bootstrap.jar
+JSVC_CLASSPATH=/usr/share/java/commons-logging.jar:$JSVC_CLASSPATH
 
 # Look for Java Secure Sockets Extension (JSSE) JARs
 if [ -z ${JSSE_HOME} -a -r ${JAVA_HOME}/jre/lib/jsse.jar ]; then
___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Bug#477363: patch clarification

2008-04-22 Thread Moshe Gorohovsky
The patch is for /etc/init.d/tomcat5.5: add commons-logging.jar to
JSVC_CLASSPATH

-- 
Sent from Gmail for mobile | mobile.google.com



___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#477363: tomcat5.5 5.5.26-1 can not start

2008-04-22 Thread Moshe Gorohovsky
Package: tomcat5.5
Version: 5.5.26-1
Severity: normal
Tags: patch

Tomcat 5.5.26-1 can not start.
Running /etc/init.d/tomcat5.5 start yelds following
lines in /var/log/syslog:
  jsvc.exec[3606]: java.lang.NoClassDefFoundError:
  org/apache/commons/logging/LogFactory
  ...
  jsvc.exec[3606]: Caused by: java.lang.ClassNotFoundException:
  org.apache.commons.logging.LogFactory


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tomcat5.5 depends on:
ii  adduser  3.107   add and remove users and groups
ii  java-gcj-compat [jav 1.0.78-1Java runtime environment using GIJ
ii  jsvc 1.0.2~svn20061127-6 wrapper to launch Java application
ii  libecj-java  3.3.0+0728-9Eclipse Java compiler (library)
ii  libtomcat5.5-java5.5.26-1Java Servlet engine -- core librar
ii  sun-java6-jre [java2 6-06-1  Sun Java(TM) Runtime Environment (

tomcat5.5 recommends no packages.

-- no debconf information
--- tomcat5.5-orig-20080422 2008-04-02 08:49:37.0 +0300
+++ tomcat5.5   2008-04-22 18:28:52.0 +0300
@@ -120,6 +120,8 @@
 CATALINA_PID=/var/run/$NAME.pid
 BOOTSTRAP_CLASS=org.apache.catalina.startup.Bootstrap
 
JSVC_CLASSPATH=/usr/share/java/commons-daemon.jar:$CATALINA_HOME/bin/bootstrap.jar
+JSVC_CLASSPATH=/usr/share/java/commons-logging.jar:$JSVC_CLASSPATH
 
 # Look for Java Secure Sockets Extension (JSSE) JARs
 if [ -z ${JSSE_HOME} -a -r ${JAVA_HOME}/jre/lib/jsse.jar ]; then


Bug#477363: patch clarification

2008-04-22 Thread Moshe Gorohovsky
The patch is for /etc/init.d/tomcat5.5: add commons-logging.jar to
JSVC_CLASSPATH

-- 
Sent from Gmail for mobile | mobile.google.com



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Using SSH keys without havint to type a passphrase

2008-02-17 Thread Moshe Gorohovsky

Hi List,

Erez D wrote:

#generate keys:
ssh-keygen -t dsa
#copy to destenation
scp .ssh/id_dsa.pub target_machin:/path to home/.ssh/authorized_keys2
#(actually you should append to destenation instead of copying to it)


erez.

I second the solution that Erez had suggested.
What are advantages and disadvantages of other solutions over
this plain ssh usage?


On Feb 16, 2008 1:40 PM, Geoff Shang [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi,

First, thanks to everyone who made suggestions re incremental backups.
I've not looked into every suggestion, but have so far decided to go
with
duplicity as it appears to take care of all the physical backup
files so I
don't need to know how it's all stored and how to get at a particular
backed up file - it takes care of that for me.

I've now hit a problem with SSH keys however.  Duplicity needs to be
able
to conect via SSH without needing a password or passphrase, as there
seems
to be no way to specify it.  At any rate, I want this to be automated.

Since I'm new to the world of keys, I've done a bit of experimenting.  I
did have logins from my home machine to the target machine working
properly
at one stage.  But then I tried setting it up from the machine to be
backed
up and found that it always wanted the passphrase, and now my home
machine
does too.

If it is relevant, the target machine is running Ubuntu Feisty openssh
1:4.3p2, the source machine is running Fedora 7 (not sure which
version of
ssh) and my home box is mostly running Debian Woody with OpenSSH
1:3.4p1.

I'm using FTP instead for now but would rather do this securely.

Any ideas?  Do I have to use the agent for this or is there some way to
make this happen reliably without it?

Geoff.

=
To unsubscribe, send mail to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]




--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - [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]



Bug#452739: Detailed crash log file

2008-02-06 Thread Moshe Gorohovsky
Hi Brice,

I have installed 2:2.2.0.90-2 driver and X server continues to crash.
I have started icedove, was inactive for few minutes, screensaver
attempted to start and X server crashed.
I have attached a log file that corresponds to the crash.
There are same error lines in the log file:
  Error in I830WaitLpRing()
  space: 130732 wanted 131064

- Moshe.

On Feb 6, 2008 9:43 PM, Brice Goglin [EMAIL PROTECTED] wrote:
 On Tue, Dec 04, 2007 at 04:05:44PM +0200, Moshe Gorohovsky wrote:
  Hi Brice,
 
  My X.Org just crashed. Previousely I have disabled gdm.
  X VT was blank. Text VTs were left blank. I had to reboot.
  X.org.0.log contains  following error messages:
 
  ...
  Fatal server error:
  lockup
  ...
  Error in I830WaitLpRing()
  ...

 Still experiencing this lockup?
 Does 2:2.2.0.90-2 help? It just entered unstable.

 Brice





Xorg.0.log-crash05
Description: Binary data


Bug#452739: Detailed crash log file

2008-02-06 Thread Moshe Gorohovsky
Hi Brice,

I have installed 2:2.2.0.90-2 driver and X server continues to crash.
I have started icedove, was inactive for few minutes, screensaver
attempted to start and X server crashed.
I have attached a log file that corresponds to the crash.
There are same error lines in the log file:
  Error in I830WaitLpRing()
  space: 130732 wanted 131064

- Moshe.

On Feb 6, 2008 9:43 PM, Brice Goglin [EMAIL PROTECTED] wrote:
 On Tue, Dec 04, 2007 at 04:05:44PM +0200, Moshe Gorohovsky wrote:
  Hi Brice,
 
  My X.Org just crashed. Previousely I have disabled gdm.
  X VT was blank. Text VTs were left blank. I had to reboot.
  X.org.0.log contains  following error messages:
 
  ...
  Fatal server error:
  lockup
  ...
  Error in I830WaitLpRing()
  ...

 Still experiencing this lockup?
 Does 2:2.2.0.90-2 help? It just entered unstable.

 Brice





Xorg.0.log-crash05
Description: Binary data


Re: X Acceleration That Finally Works

2008-02-05 Thread Moshe Gorohovsky

Hi,

I have i915GM GPU on a laptop. I am using Debian unstable (sid).
Sauerbraten, scorched3d games start with 3D acceleration working,
but always hang after few minutes. I didn't want to fix them,
but maybe there are OpenGL settings that can prevent these hangs.

- Moshe.

Oron Peled wrote:

On Tuesday, 5 בFebruary 2008, Amos Shapira wrote:

... (doesn't look like a ready made solution but anyway).


Combining the Subject line with this comment may lead most people
to believe we currently don't have a working accelerated display.

For at least the past two years, X.org came with native out of the
box and free software drivers with 3D acceleration for Intel
chipsets (e.g: 82865G, i915GM etc.)

Which means that people that were using any of the distros
that carry up to date packages (Debian Testing, Fedora, Ubuntu etc.)
did not have to do anything special to have their 3D
games/compiz/what'not working out of the box -- if they chose the
right vendor.

Disclaimer: I would be more than happy to make the same claim for
ATI (it's getting warm since AMD bought them) and Nvidia
when it would release open-source drivers (probably after
AMD/ATI, when they are left alone).




--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - [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]



[native-lang] Running without installing

2008-01-31 Thread Moshe Gorohovsky

Hi all,

I want to debug OOo that I have just compiled.

My build environment is MS Windows XP SP2, Cygwin (uname -a:)
  CYGWIN_NT-5.1 hhh 1.5.25(0.156/4/2) 2007-12-14 19:21 i686 Cygwin
MS Visual stdio .NET 2003, cygwin's tcsh.

I changed some localization strings in official OOo-2.3.1 source files
and compiled the source code. Resulting setup.exe and OOo *.cab files
install and installed OOo works. It has issues.

Now I want to debug what I have built, without generating *.cab
files and installing them. When I cd to solver/680/wntmsci10.pro/bin/
and run ./soffice.bin, it shows a dialog message Missing vcl resource
... localization problem and exits.

How can I run localized version of OOo without installing it first?

--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - [EMAIL PROTECTED] - tel: +972.2.679.5364, http://www.tkos.co.il -

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Running without installing SOLVED

2008-01-31 Thread Moshe Gorohovsky

Hi all,

I have solved the problem of my compiled localized OOo-2.3.1,
on MS Windows XP SP2 fully updated 20080131,
that I had reported previously to this list.

Previously, localized OOo-2.3.1 that I had compiled from sources
did not start from long-named path:
/sourcetree/instsetoo_native/.../installed/install/locale
It was unable to create OpenOffice.org2/ subdirectories
in /sourcetree/instsetoo_native/.../installed/install/locale
with very deep and long subdirectory tree.

I have copied the compiled OOo files to /cygdrive/c/locale/

Now swriter starts without warnings and creates
/cygdrive/c/locale/OpenOffice.org2/VeryLongSubTree directories
without a warning.

Moreover, localization problems that I wanted to debug have disappeared.

- Moshe.

Moshe Gorohovsky wrote:

Hi,

When I am running soffice.exe or swriter.exe from installed/install/...
directory, they show a warning about broken Substitution.xcu file in
OpenOffice.org2/user/uno_packages/cache/registry/com.sunPackageRegistryBackend/... 


directory. The directory
installed/install/locale/OpenOffice.org2/user/uno_packages/cache/
is empty.

Am I missing something?

- Moshe.

Oliver Braun wrote:

Hi Moshe,

Moshe Gorohovsky wrote:

Now I want to debug what I have built, without generating *.cab
files and installing them. When I cd to solver/680/wntmsci10.pro/bin/
and run ./soffice.bin, it shows a dialog message Missing vcl resource
... localization problem and exits.

How can I run localized version of OOo without installing it first?


Change your PKGFORMAT variable to installed and run build in 
instsetoo_native. You'll get a full Office installation directly 
located at instsetoo_native/wnt/OpenOffice/installed/install/your 
languages


Regards,
Oliver




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - [EMAIL PROTECTED] - tel: +972.2.679.5364, http://www.tkos.co.il -

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hebrew-friendly list server on Linux?

2008-01-27 Thread Moshe Gorohovsky

Hi,

I extensively used mailman-2.1.9 on Debian Etch, at a government
ministry. We sent (and they are sending now) mails in Hebrew.
There were no complaints, at least about Hebrew (there were complains
about Mailman and MS Outlook interoperability with regard to mail
headers).

We tested every mail distribution before sending it to actual
recipients, there was no gibberish in Outlook, gmail, yahoo,
and eudora(?).

- Moshe.

Shachar Shemesh wrote:

Jonathan Ben Avraham wrote:



Mailman?
Mailman is ok for most things, but some things are horrible with Hebrew. 
It does not transfer the encoding properly for asking to authorize 
moderated emails, and doesn't handle the Hebrew encoding properly.


Sometimes I wish there would be some law requiring everyone to work with 
Unicode


  - yba

Shachar

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



--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - [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: [native-lang] Hebrew OpenOffice project yearly report for 2007

2008-01-26 Thread Moshe Gorohovsky

Hi Charles,

I had no plans for http://he.openoffice.org/ and
for opening up a wiki. What are these?
I see that http://he.openoffice.org/, embeds www.openoffice.org.il site.
I will check this later, after I finish to set up OOo build environments
for various OSs.

Moshe.

Charles-H. Schulz wrote:

Moshe,

Le 25 janv. 08 à 13:26, Moshe Gorohovsky a écrit :


Hi,

This is a yearly report for Hebrew OOo project year 2007.

Hebrew team released Hebrew OpenOffice.org version 2.2 in May - June
2007, for MS Windows and for Linux Fedora Core 6 OSs. The Hebrew version
includes all the features and fixes from OOo 2.2 and many fixes to
support Hebrew. The Hebrew team submitted all the fixes to Issue
Tracker, although not all the code propagated to official OOo source
code.

This Hebrew release comes with default settings for CTL languages,
with Hebrew fonts (Maxim Iorsh's Culmus), Hebrew presentation
settings, like Hebrew backgrounds, and other Hebrew related
things. In this 2.2 version, the Hebrew OOo team put special emphasis
on importing and displaying presentations in Hebrew.

The Hebrew team maintained active Hebrew web site for OpenOffice.org,
with forums and mailing lists. http://www.openoffice.org.il/
In addition, the Hebrew OOo team maintains active bugzilla bug reporting
site at http://bugzilla.openoffice.org.il/

We had an OpenOffice conference in ZOA house in Tel Aviv in June.
About 70 people showed up. Jonathan Ben Avraham also gave a project 
update report at August Penguin.


I have taken the responsibility for Hebrew OpenOffice.org releases since
the middle of January 2008. I plan to release next Hebrew OOo version
in a few months.

--
Moshe Gorohovsky


Thank you for this report, I'll upload it with the others. What are your 
plans concerning http://he.openoffice.org, especially in regard of the 
fact that you can open up a wiki here: 
http://wiki.services.openoffice.org/wiki/Main ?


Best,
Charles.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - [EMAIL PROTECTED] - tel: +972.2.679.5364, http://www.tkos.co.il -

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[native-lang] Hebrew OpenOffice project yearly report for 2007

2008-01-25 Thread Moshe Gorohovsky

Hi,

This is a yearly report for Hebrew OOo project year 2007.

Hebrew team released Hebrew OpenOffice.org version 2.2 in May - June
2007, for MS Windows and for Linux Fedora Core 6 OSs. The Hebrew version
includes all the features and fixes from OOo 2.2 and many fixes to
support Hebrew. The Hebrew team submitted all the fixes to Issue
Tracker, although not all the code propagated to official OOo source
code.

This Hebrew release comes with default settings for CTL languages,
with Hebrew fonts (Maxim Iorsh's Culmus), Hebrew presentation
settings, like Hebrew backgrounds, and other Hebrew related
things. In this 2.2 version, the Hebrew OOo team put special emphasis
on importing and displaying presentations in Hebrew.

The Hebrew team maintained active Hebrew web site for OpenOffice.org,
with forums and mailing lists. http://www.openoffice.org.il/
In addition, the Hebrew OOo team maintains active bugzilla bug reporting
site at http://bugzilla.openoffice.org.il/

We had an OpenOffice conference in ZOA house in Tel Aviv in June.
About 70 people showed up. Jonathan Ben Avraham also gave a project 
update report at August Penguin.


I have taken the responsibility for Hebrew OpenOffice.org releases since
the middle of January 2008. I plan to release next Hebrew OOo version
in a few months.

--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - [EMAIL PROTECTED] - tel: +972.2.679.5364, http://www.tkos.co.il -


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [native-lang] Hebrew project lead

2008-01-21 Thread Moshe Gorohovsky

Hi Charles, Louis, list,

Thanks for your good wishes.

I have changed the leads of Hebrew OpenOffice.org project with Alan.

I had experience with non-localized OpenOffice.org builds from the
source code. I will release next Hebrew OpenOffice.org version.
I am preparing to integrate Alan's code (that he sent to IssueZilla)
and other Hebrew localization related additions into the build. I will
work closely with Alan and our team.

Hebrew OOo project is greatly appreciated. We receive feedback from
users and even publications in the press. We also receive
feature requests and bug reports from Hebrew OOo users.

I conclude that there is wide adoption of Hebrew OOo, and we need
to release next version.

Moshe.

Charles-H. Schulz wrote:

Shalom Moshe, Shalom to the Hebrew team,

Louis will do it. Could you introduce yourself and tell us more about 
the OOo adoption in Hebrew and issues/good points of the Hebrew 
native-language project?


Good luck for your new role!

Charles-H. Schulz,
Lead of the Native-Language
Confederation, OpenOffice.org



Le 21 janv. 08 à 03:55, Moshe Gorohovsky a écrit :


Hi list,

I, Moshe Gorohovsky, will lead Hebrew OpenOffice.org project releases.
I am currently working on Hebrew OpenOffice.org version 2.3.1.

How do I change the project lead field for the Hebrew project
to me, [EMAIL PROTECTED], on
http://projects.openoffice.org/native-lang.html page?

--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
- [EMAIL PROTECTED] - tel: +972.2.679.5364, http://www.tkos.co.il -

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - [EMAIL PROTECTED] - tel: +972.2.679.5364, http://www.tkos.co.il -

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [native-lang] Hebrew project lead

2008-01-21 Thread Moshe Gorohovsky

Hi Kazunari,

Kazunari Hirano wrote:

Hi Moshe, the new lead of Hebrew Native Language Project,


I had experience with non-localized OpenOffice.org builds from the
source code. I will release next Hebrew OpenOffice.org version.

Good news!


I am preparing to integrate Alan's code (that he sent to IssueZilla)

Can you give us the IssueZilla number?


Alan has reported and fixed many issues. For example, Issue Tracker
number 73707. As I understand, the fix should appear in OOo 2.4 source
code, but I am currently building OOo 2.3.1 version.


Hebrew OOo project is greatly appreciated. We receive feedback from
users and even publications in the press. We also receive
feature requests and bug reports from Hebrew OOo users.

I would like to see those publications :)
Have you filed those feature requests and bug reports in IssueZilla
(IssueTracker)?
I would like to see them :)


Example article in Hebrew, from November 2007:
http://it.themarker.com/tmit/article/1976

I conclude that there is wide adoption of Hebrew OOo, and we need
to release next version.

I am looking forward to seeing OpenOffice.org 2.4 Hebrew!

Thanks,
khirano

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - [EMAIL PROTECTED] - tel: +972.2.679.5364, http://www.tkos.co.il -

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[native-lang] Hebrew project lead

2008-01-20 Thread Moshe Gorohovsky

Hi list,

I, Moshe Gorohovsky, will lead Hebrew OpenOffice.org project releases.
I am currently working on Hebrew OpenOffice.org version 2.3.1.

How do I change the project lead field for the Hebrew project
to me, [EMAIL PROTECTED], on
http://projects.openoffice.org/native-lang.html page?

--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - [EMAIL PROTECTED] - tel: +972.2.679.5364, http://www.tkos.co.il -

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: 64-bit linux and 32-bit applications

2007-12-19 Thread Moshe Gorohovsky

Hi list,

Thanks for your replies.

I want to install 32-bit vlc, mplayer and xine on 64-bit CentOS system.
Will I need to install 32-bit versions of all dependencies,
32-bit libxine, libavcodec, etc.?

Will these 32-bit libraries work if I already installed
64-bit libavcodec?

Ilya Konstantinov wrote:
On Dec 19, 2007 9:32 AM, Moshe Gorohovsky [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


What is the prevailing opinion about installing and running
32-bit applications and shared libraries on 64-bit Linux
operating systems?


It's a perfectly okay thing to do.

Naturally it's a waste of memory (cause you end up loading similar sets 
of libraries twice), but it's not a sin.


Do Red Hat based 64-bit operating systems support 32-bit
applications and shared libraries, but Debian based 64-bit
operating systems do not?


They both do. The 32-bit support is a kernel thing. IIRC, the userspace 
facilities are a bit different: RedHat stores the 32-bit programs in the 
same filesystem hierarchy as the 64-bit ones (/usr/lib vs. /usr/lib64) 
whereas Debian shelves 32-bit binaries away in some chroot.


Also, at least as of two years ago, RPM supported installing multiple 
architecture versions of a package whereas APT/dpkg did not (but 64-bit 
Debian maintains the 32-bit stuff in a chroot so I guess it maintains 
separate dpkg databases for it).


--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
  - [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]



64-bit linux and 32-bit applications

2007-12-18 Thread Moshe Gorohovsky

Hi list,

What is the prevailing opinion about installing and running
32-bit applications and shared libraries on 64-bit Linux
operating systems?

Do Red Hat based 64-bit operating systems support 32-bit
applications and shared libraries, but Debian based 64-bit
operating systems do not?

--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
  - [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]



Bug#452739: Crash

2007-12-06 Thread Moshe Gorohovsky
Hi,

My X server started to crash once or twice a day,
after xserver-xorg-video-intel upgrade. I have saved
few log files right after the crashes, after reboots,
before starting gdm manually.

The log files are almost the same:

  Fatal server error:
  lockup

  (II) AIGLX: Suspending AIGLX clients for VT switch
  (II) intel(0): fbc disabled on plane a
  Error in I830WaitLpRing(), timeout for 2 seconds

Diffing the log files showed time, date and few hexadecimal
addresses were different.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#452739: Crash

2007-12-04 Thread Moshe Gorohovsky

Hi Brice,

1. The crash is not easy to reproduce. It occurs once or twice a day
   on Debian unstable, all packages upgraded on 20071203.

2. I have not switched between text VTs and X VT before a crash.

3. page table error appears only after a crash.
   Now I realize that the log file I had supplied is from gdm
   restart attempt after a crash. I am searching how to disable
   gdm automatic restarts. I will supply more information
   if I catch a crash and its log file.

How to allow gdm startup at boot and disable gdm or X.org
restarts after a crash?

Moshe.

Brice Goglin wrote:

Øystein Gisnås wrote:

Just a minute after I sent the previous report, X.org http://X.org
crashed again. This time I managed to stop gdm from starting again.
 The attached Xorg.0.log is the same as in the previous report, but
this time with details about the crash towards the end.

Would it give more info if I had the -dbg package installed?


This is not a crash (segfault of the X server or so), this looks like a
lockup (the server is stuck somewhere and stop processing anything
else). So -dbg would probably not help, unless you can catch a segfault
with gdb.


I tried to downgrade xserver-xorg-video-intel to 2.1.0-2, but I get a
conflict with xserver-xorg-core. Can someone suggest an
xserver-xorg-core-version I can use with 2.1.0-2, and where to
download that?


You probably want 2.1.1-4, it is available from
   
http://snapshot.debian.net/archive/2007/09/17/debian/pool/main/x/xserver-xorg-video-intel/

You won't have to downgrade xserver-xorg-core if you take this one.

It this problem easy to reproduce? Did you switch to/from a virtual
console right before it happened? You seem to have some VT switch
related messages in your log.

It is not even sure that the page table error is related to the
problem. Can you check whether the page table error appears when the
lockup occurs and not earlier?

Brice



--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - [EMAIL PROTECTED] - tel: +972.52.882.0101, http://www.tkos.co.il -




Bug#452739: Crash

2007-12-04 Thread Moshe Gorohovsky

Hi Brice,

Thanks.
Please see below.

Brice Goglin wrote:


If what you want is actually the log of the previous X session (before 
gdm restarted),

then it should be in /var/log/Xorg.0.log.old.

According to the upstream dev, page table error can be caused by the 
previous
X session leaving bad page table entries and the new session finding 
them. So the

log of the previous session would probably be interesting.

Brice


page table error appeared in Xorg.0.log.old file.
This is a log file for X.org failed restart attempt after a crash.
This restart attempt left a screen blank, and page table error line
in the log file. text VTs were also blank. I restarted the laptop.
Then, reportbug tool grabbed Xorg.0.log file after successful X.org
startup.

I will try to catch Xorg.0.log after a crash. Now I am searching
how to prevent gdm or X.org from restarting, so I can save log files
after a crash.

Probably, I will disable gdm in /etc/rc*.d/ directories and start
gdm manually from a command line.

Moshe



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#452739: Detailed crash log file

2007-12-04 Thread Moshe Gorohovsky
Hi Brice,

My X.Org just crashed. Previousely I have disabled gdm.
X VT was blank. Text VTs were left blank. I had to reboot.
X.org.0.log contains  following error messages:

...
Fatal server error:
lockup
...
Error in I830WaitLpRing()
...

I am pasting this whole X.org.0.log file in this message body.

Moshe.

X.Org X Server 1.4.0
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20071119-1)
Current Operating System: Linux hibook1 2.6.22-3-686 #1 SMP Mon Nov 12
08:32:57 UTC 2007 i686
Build Date: 20 November 2007  01:48:55AM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Tue Dec  4 14:09:37 2007
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Default Layout
(**) |--Screen Default Screen (0)
(**) |   |--Monitor Generic Monitor
(**) |   |--Device Generic Video Card
(**) |--Input Device Generic Keyboard
(**) |--Input Device Configured Mouse
(**) |--Input Device Synaptics Touchpad
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory /usr/X11R6/lib/X11/fonts/misc does not exist.
Entry deleted from font path.
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/cyrillic does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/100dpi/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/75dpi/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/Type1 does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/100dpi does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/75dpi does not exist.
Entry deleted from font path.
(==) Including the default font path
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType.
(**) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/cyrillic,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) RgbPath set to /etc/X11/rgb
(==) ModulePath set to /usr/lib/xorg/modules
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81d7500
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 2.0
X.Org XInput driver : 2.0
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: pcidata
(II) Loading /usr/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor=X.Org Foundation
compiled for 1.4.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 2.0
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2590 card 1043,1997 rev 04 class 06,00,00 hdr 00
(II) PCI: 00:02:0: chip 8086,2592 card 1043,1882 rev 04 class 03,00,00 hdr 80
(II) PCI: 00:02:1: chip 8086,2792 card 1043,1882 rev 04 class 03,80,00 hdr 80
(II) PCI: 00:1b:0: chip 8086,2668 card 1043,1993 rev 04 class 04,03,00 hdr 00
(II) PCI: 00:1d:0: chip 8086,2658 card 1043,1997 rev 04 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,2659 card 1043,1997 rev 04 class 0c,03,00 hdr 00
(II) PCI: 00:1d:2: chip 8086,265a card 1043,1997 rev 04 class 0c,03,00 hdr 00
(II) PCI: 00:1d:3: chip 8086,265b card 1043,1997 rev 04 class 0c,03,00 hdr 00
(II) PCI: 00:1d:7: chip 8086,265c card 1043,1997 rev 04 class 0c,03,20 hdr 00
(II) PCI: 00:1e:0: chip 8086,2448 card , rev d4 class 06,04,01 hdr 01
(II) PCI: 00:1f:0: chip 8086,2641 card 1043,1997 rev 04 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,266f card 1043,1997 rev 04 class 01,01,8a hdr 00
(II) PCI: 01:03:0: chip 1180,0476 card d000, rev b3 class 06,07,00 hdr 82
(II) PCI: 01:03:1: chip 1180,0552 card 1043,1997 rev 08 class 0c,00,10 hdr 80
(II) PCI: 01:03:2: chip 1180,0822 card 1043,1997 rev 17 class 

Re: Request for UPS info

2007-12-04 Thread Moshe Gorohovsky

You can replace PC + UPS system by a laptop with external monitor
and with (USB) keyboard and mouse. Then you will have up to three
hours of power protection:). You definitely need to select a
laptop with adequate CPU/GPU/NIC for your tasks. Current (Dec 2007)
Debian unstable works fine on laptops with Intel CPU/GPU/NICs.

Moshe.

Omer Zak wrote:

On Mon, 2007-12-03 at 19:31 +0200, Geoff Shang wrote:
1.  I'm guessing that there are two issues when it comes to UPSs - power 
output and how long that power can be delivered before draining the 
bateries.  How much power will I need and is there a target length of time 
I should aim for?  Does one factor influence price more than the other?


Actually, UPSes are rated in terms of volt-amper rather than power (in
watts).  This is because UPSes need to deliver also reactive power
(which happens when voltage and current are not in phase).

I would aim at 200 volt*amper per PC to be protected.

UPSes generally deliver only few minutes' power.  At the time I looked
for an UPS which can power a FAX machine (much lower standby power
consumption than PCs) for hours - but in vain.  To deliver more power,
you may need a generator powered by motor.

This time should be enough for orderly power-down of the computers.

3.  What are typical prices for UPSs in Israel?  I saw an ad for some 
products today but I don't know how well they compare to prices generally 
(no brands mentioned, which was interesting in itself).


When I was in the market for UPSes, they had 3-digit cost in US$.

4.  The ad mentioned above also mentioned surge protection.  Is this a 
typical UPS feature?


Depends.  For full protection, you would need on-line type of UPSes (a
bit more expensive).

That's probably enough questions for anyone who wants to answer.  I've 
never laid hands on a UPS so am not sure what to expect when I get one, but 
I'm guessing that there's a UPS howto out there somewhere which should at 
least tell me what to expect on the LInux side of things.


There used to be an UPS HOWTO, written by Harvey Stein (remembered by
the Linux-IL oldtimers).  But it was several years ago.

You can also expect an UPS to be heavy - it usually contains lead-acid
batteries.
 --- Omer
(who has two UPSes, one powers his FAX machine, and the other - his
computers)


--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - [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]



Bug#452739: Crash

2007-12-04 Thread Moshe Gorohovsky

Hi Brice,

1. The crash is not easy to reproduce. It occurs once or twice a day
   on Debian unstable, all packages upgraded on 20071203.

2. I have not switched between text VTs and X VT before a crash.

3. page table error appears only after a crash.
   Now I realize that the log file I had supplied is from gdm
   restart attempt after a crash. I am searching how to disable
   gdm automatic restarts. I will supply more information
   if I catch a crash and its log file.

How to allow gdm startup at boot and disable gdm or X.org
restarts after a crash?

Moshe.

Brice Goglin wrote:

Øystein Gisnås wrote:

Just a minute after I sent the previous report, X.org http://X.org
crashed again. This time I managed to stop gdm from starting again.
 The attached Xorg.0.log is the same as in the previous report, but
this time with details about the crash towards the end.

Would it give more info if I had the -dbg package installed?


This is not a crash (segfault of the X server or so), this looks like a
lockup (the server is stuck somewhere and stop processing anything
else). So -dbg would probably not help, unless you can catch a segfault
with gdb.


I tried to downgrade xserver-xorg-video-intel to 2.1.0-2, but I get a
conflict with xserver-xorg-core. Can someone suggest an
xserver-xorg-core-version I can use with 2.1.0-2, and where to
download that?


You probably want 2.1.1-4, it is available from
   
http://snapshot.debian.net/archive/2007/09/17/debian/pool/main/x/xserver-xorg-video-intel/

You won't have to downgrade xserver-xorg-core if you take this one.

It this problem easy to reproduce? Did you switch to/from a virtual
console right before it happened? You seem to have some VT switch
related messages in your log.

It is not even sure that the page table error is related to the
problem. Can you check whether the page table error appears when the
lockup occurs and not earlier?

Brice



--
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - [EMAIL PROTECTED] - tel: +972.52.882.0101, http://www.tkos.co.il -




Bug#452739: Crash

2007-12-04 Thread Moshe Gorohovsky

Hi Brice,

Thanks.
Please see below.

Brice Goglin wrote:


If what you want is actually the log of the previous X session (before 
gdm restarted),

then it should be in /var/log/Xorg.0.log.old.

According to the upstream dev, page table error can be caused by the 
previous
X session leaving bad page table entries and the new session finding 
them. So the

log of the previous session would probably be interesting.

Brice


page table error appeared in Xorg.0.log.old file.
This is a log file for X.org failed restart attempt after a crash.
This restart attempt left a screen blank, and page table error line
in the log file. text VTs were also blank. I restarted the laptop.
Then, reportbug tool grabbed Xorg.0.log file after successful X.org
startup.

I will try to catch Xorg.0.log after a crash. Now I am searching
how to prevent gdm or X.org from restarting, so I can save log files
after a crash.

Probably, I will disable gdm in /etc/rc*.d/ directories and start
gdm manually from a command line.

Moshe



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#452739: Detailed crash log file

2007-12-04 Thread Moshe Gorohovsky
Hi Brice,

My X.Org just crashed. Previousely I have disabled gdm.
X VT was blank. Text VTs were left blank. I had to reboot.
X.org.0.log contains  following error messages:

...
Fatal server error:
lockup
...
Error in I830WaitLpRing()
...

I am pasting this whole X.org.0.log file in this message body.

Moshe.

X.Org X Server 1.4.0
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20071119-1)
Current Operating System: Linux hibook1 2.6.22-3-686 #1 SMP Mon Nov 12
08:32:57 UTC 2007 i686
Build Date: 20 November 2007  01:48:55AM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Tue Dec  4 14:09:37 2007
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Default Layout
(**) |--Screen Default Screen (0)
(**) |   |--Monitor Generic Monitor
(**) |   |--Device Generic Video Card
(**) |--Input Device Generic Keyboard
(**) |--Input Device Configured Mouse
(**) |--Input Device Synaptics Touchpad
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory /usr/X11R6/lib/X11/fonts/misc does not exist.
Entry deleted from font path.
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/cyrillic does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/100dpi/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/75dpi/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/Type1 does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/100dpi does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/75dpi does not exist.
Entry deleted from font path.
(==) Including the default font path
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType.
(**) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/cyrillic,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) RgbPath set to /etc/X11/rgb
(==) ModulePath set to /usr/lib/xorg/modules
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81d7500
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 2.0
X.Org XInput driver : 2.0
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: pcidata
(II) Loading /usr/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor=X.Org Foundation
compiled for 1.4.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 2.0
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2590 card 1043,1997 rev 04 class 06,00,00 hdr 00
(II) PCI: 00:02:0: chip 8086,2592 card 1043,1882 rev 04 class 03,00,00 hdr 80
(II) PCI: 00:02:1: chip 8086,2792 card 1043,1882 rev 04 class 03,80,00 hdr 80
(II) PCI: 00:1b:0: chip 8086,2668 card 1043,1993 rev 04 class 04,03,00 hdr 00
(II) PCI: 00:1d:0: chip 8086,2658 card 1043,1997 rev 04 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,2659 card 1043,1997 rev 04 class 0c,03,00 hdr 00
(II) PCI: 00:1d:2: chip 8086,265a card 1043,1997 rev 04 class 0c,03,00 hdr 00
(II) PCI: 00:1d:3: chip 8086,265b card 1043,1997 rev 04 class 0c,03,00 hdr 00
(II) PCI: 00:1d:7: chip 8086,265c card 1043,1997 rev 04 class 0c,03,20 hdr 00
(II) PCI: 00:1e:0: chip 8086,2448 card , rev d4 class 06,04,01 hdr 01
(II) PCI: 00:1f:0: chip 8086,2641 card 1043,1997 rev 04 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,266f card 1043,1997 rev 04 class 01,01,8a hdr 00
(II) PCI: 01:03:0: chip 1180,0476 card d000, rev b3 class 06,07,00 hdr 82
(II) PCI: 01:03:1: chip 1180,0552 card 1043,1997 rev 08 class 0c,00,10 hdr 80
(II) PCI: 01:03:2: chip 1180,0822 card 1043,1997 rev 17 class 

Re: Tracing the functions stack through gdb

2007-04-26 Thread Moshe Gorohovsky
Hi Elazar,

Put some fprintfs into the code, start with main().
Save the output to a file.
This is a quick way to circumvent all the gdb hassle.
This requires some code understanding.

Example:
== ce.h 
#include cstdio

static char *cefilename = ce.txt;

#define ceprintf(...) \
do { \
  FILE *dfp = fopen(cefilename, a); \
  fprintf(dfp, __VA_ARGS__); \
  fclose(dfp); \
} \
while (0)

 End of ce.h ===

LyX main() fuction:

#include ce.h

..
main() {
  ...
  ceprintf(Starting main()\n);
  ...
  ceprintf(Calling somefunc or somemethod.\n);
  someclass.somemethod(foo, bar);
  ceprintf(back from somemethod.\n);
  ...
}

=

Check ce.txt file in your cwd.

Moshe.

Elazar Leibovich wrote:
 Problem:
 I wish to hack and solve Bidirectionality related bugs in Lyx.
 However, I don't want to read all and understand all the code in Lyx,
 but only the code related to cursor movement, character insertion,
 etc.
 How can I find the relevant pieces of code quickly?
 Suggested Solution:
 Run Lyx with a debugger, have the debugger print constantly which
 functions from lyx sources (so that printf() wouldn't litter the
 output) are being called, now press left, and watch the execution
 flow, based on that locate the required code.
 
 Is there any way to do that with gdb? Any other smart solution?
 
 =
 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]
 

-- 
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - 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: Tracing the functions stack through gdb

2007-04-26 Thread Moshe Gorohovsky
Hi Elazar,

Using the cpp macro that I have mentioned in my previous post
eliminates the need to recompile all the LyX source files
with debug information. No more g++ -g !

Elazar Leibovich wrote:
 Problem:
 I wish to hack and solve Bidirectionality related bugs in Lyx.
 However, I don't want to read all and understand all the code in Lyx,
 but only the code related to cursor movement, character insertion,
 etc.
 How can I find the relevant pieces of code quickly?
 Suggested Solution:
 Run Lyx with a debugger, have the debugger print constantly which
 functions from lyx sources (so that printf() wouldn't litter the
 output) are being called, now press left, and watch the execution
 flow, based on that locate the required code.
 
 Is there any way to do that with gdb? Any other smart solution?
 
 =
 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]
 

-- 
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
  - 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: Help with sound card

2007-04-12 Thread Moshe Gorohovsky
Hi Orr,

Try switching external amplifier in alsamixer on or off,
this had helped me with a similar microfone issue a while ago.

Use full view in alsamixer to see all alsa settings and controls.
New kernel can introduce new alsa setting or control that
you do not see in your current configuration.

When you use a vanilla kernel (compiled your own kernel)
you must use alsa-tools, alsa-lib, alsa-utils, etc. from
alsa-project.org. Do not use FC6 alsa-tools on non-FC6 kernels.

- Moshe

Orr Dunkelman wrote:
 Long story short: Laptop, sound card, microphone doesn't work. Windows -
 work.
 
 Laptop: Compaq Evo N800V (four years old)
 FC6. Standard. Kernel - 2.6.20.4 - manually compiled.
 
 modules (courtesy of lsmod):
 
 snd_intel8x0   31644  4
 snd_ac97_codec 89508  1 snd_intel8x0
 ac97_bus2560  1 snd_ac97_codec
 snd_seq_dummy   3972  0
 snd_seq_oss29312  0
 snd_seq_midi_event  7296  1 snd_seq_oss
 snd_seq45808  5
 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
 snd_seq_device  7948  3 snd_seq_dummy,snd_seq_oss,snd_seq
 snd_pcm_oss39552  0
 snd_mixer_oss  15616  3 snd_pcm_oss
 parport_pc 26020  1
 snd_pcm71172  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
 snd_timer  21252  2 snd_seq,snd_pcm
 pcmcia_core39716  3 pcmcia,yenta_socket,rsrc_nonstatic
 snd49668  13
 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
 
 soundcore   7776  3 snd
 snd_page_alloc  9992  2 snd_intel8x0,snd_pcm
 pcspkr  3328  0
 
 playes with alsamixer.
 
 results:
 
 when microphone is on, switch: Microphone Capture, I hear from the speakers
 whatever I say into the mic.
 when it's off - nothing.
 
 Tried all combinations of
 Line-in capture, microphone capture, +20 db Boost, and IEC 958.
 Tried both mic1 and mic2 for inputs (surprisingly only mic1 works).
 
 No other sound device (especially not a mic).
 
 Permissions:
 /dev/dsp and /dev/snd/*
 were user.root and user.user, permission 600.
 none worked.
 
 anyone with some guess why this happens? google tells me a lot about two
 sound cards, but I have only one, and alsamixer does not solve the problem.
 
 Thanks!
 

-- 
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
 - 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]



Perl book

2007-04-08 Thread Moshe Gorohovsky
Hi,

Can you recommend a perl cookbook please ?
Please share your opinion on perl books or other manuals that you have
used.

I need a perl book for a system administrator with Java/C++/C
background, with lots of examples.

--
 Moshe Gorohovsky

 A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
 ---
 - 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: Perl book

2007-04-08 Thread Moshe Gorohovsky
Noam Meltzer wrote:
 Learning Perl  Programming Perl, both by O'reilly.
 The first is a gr8 dive into water for everyone, programmer or no
 programmer. The latter is a great reference for those who know.
 
Thank you for the recommendation, I will look at Learning Perl.

I had looked at Programming Perl by Larry Wall, etc.

and Perl Cookbook by Tom Christiansen, etc.

and online perl manuals and man-pages.



I was lost in Programming Perl and

perl man-pages because of their too detailed descriptions,

without good examples. I was need to run many examples

on my own, to understand first sections of the Programming Perl.

 - Moshe.

 On 4/8/07, Moshe Gorohovsky wrote:

 Hi,

 Can you recommend a perl cookbook please ?
 Please share your opinion on perl books or other manuals that you have
 used.

 I need a perl book for a system administrator with Java/C++/C
 background, with lots of examples.

 -- 
 Moshe Gorohovsky

 A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
 ---
  - 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]


 


=
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: Perl book

2007-04-08 Thread Moshe Gorohovsky
Hi Shlomi,

The perl course slides at cs.technion.ac.il that are linked from your
site is just what I need.

Is there an exercises [ and solutions :) ] page for that course
that we can access ?

Thank you.

- Moshe.

Shlomi Fish wrote:
 On Sunday 08 April 2007, Moshe Gorohovsky wrote:
 Hi,

 Can you recommend a perl cookbook please ?
 Please share your opinion on perl books or other manuals that you have
 used.

 I need a perl book for a system administrator with Java/C++/C
 background, with lots of examples.

 
 Hi Moshe!
 
 Please consult my site for that at:
 
 http://perl-begin.berlios.de/
 
 Regards,
 
   Shlomi Fish
 
 -
 Shlomi Fish  [EMAIL PROTECTED]
 Homepage:http://www.shlomifish.org/
 
 If it's not in my E-mail it doesn't happen. And if my E-mail is saying
 one thing, and everything else says something else - E-mail will conquer.
 -- An Israeli Linuxer
--

 Moshe Gorohovsky



A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.

---

 - 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: spam and mail forwarding

2007-03-19 Thread Moshe Gorohovsky
Hi Ori,

You can install a sendmail milter.

Try http://dag.wieers.com/rpm/packages/spamass-milter/

Another possibility is MIMEDefang: it runs spamassassin and can run
clamav and other mail filtering software. Get MIMEDefang from
http://dag.wieers.com/rpm/packages/mimedefang/.
You will need to fine-tune MIMEDefang perl code for your needs.

Add

INPUT_MAIL_FILTER(`mimedefang',
`S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:5m;R:5m')

line to your sendmail.mc, regenerate sendmail.cf and reload sendmail.

 - Moshe Gorohovsky

Ori Idan wrote:
 Hello list,
 I assume some people here have more experience then me with sendmail...
 
 I have a Linux server running sendmail.
 The server itself does not store mail for users, it only forwards mail  to
 their addresses.
 It is done by adding their name in /etc/mail/virtusertable
 
 Is there a simple way to run spam filters before forwarding the mail?
 

-- 
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
   - 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: Environment variable when running OOo from menus

2007-02-18 Thread Moshe Gorohovsky

Hi Alan,

You should modify /usr/share/applications/ooo-*.desktop files,
or equivalent files in the OOo sources:
Set up environment variables as you wish, before running the
actual programs inside those *.desktop files.

Another possibility is to call shell scripts from *.desktop files,
do not call the OOo binary programs themselves.

See Mozilla / Firefox / Iceweasel *.desktop files:
they run shell scripts, they do not run binary programs directly
from user menus.

--
 Moshe Gorohovsky

 A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
 ---
  -  http://www.tkos.co.il -

On Sun, 18 Feb 2007, Alan Yaniger wrote:


Hi everyone,

When OpenOffice saves a file with Hebrew in the filename, it checks the 
system locale to see which encoding it should use. This causes problems if 
OpenOffice is run with a shell using an en_US locale. If a user saves a 
file with Hebrew in the filename, closes the file, and then tries to open it 
in a filepicker window, the Hebrew is not readable.


In order to deal with this, I've changed the OOo startup script so that it 
sets the LANG variable to he_IL before running OOo, and then changes it 
back when exiting. This makes Hebrew filenames readable in OOo filepicker 
windows. I've also added an enviornment variable called OO_LOCALE, which 
allows a user to change the default from he_IL to something else 
(he_IL.utf8, for example), so that the Hebrew will be readable in other 
apps, like file managers.


This is very easy to do if you run OOo from a command line. First set 
OO_LOCALE, then run OOo. My question is: how I can have the OO_LOCALE 
variable recognized by the OOo startup script when I run OOo from the 
applications menus?


Thanks in advance,
Alan

=
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: Converting to UTF-8 encoding

2007-02-18 Thread Moshe Gorohovsky

On Sun, 18 Feb 2007, Uri Even-Chen wrote:



On 2/18/07, Peter [EMAIL PROTECTED] wrote:

Emacs ?


Does it support UTF-8?  Does it support search  replace on many files
simultaneously?  Which version of Emacs (for Windows XP) do you
recommend?  And where do I download it?




Hi Uri,

Try VIM for WinXP with easy WinXP settings, it supports UTF-8
out of the box on WinXP with _all_ fonts installed.
http://mesh.dl.sourceforge.net/sourceforge/cream/cream-0-38-gvim-7-0-152.exe
Easy-vim settings have keyboards shortcuts like in notepad.

Or try regular VIM:
http://mesh.dl.sourceforge.net/sourceforge/cream/gvim-7-0-191.exe

- Moshe Gorohovsky

 A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
 ---
  - 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: entering hebrew?

2007-02-14 Thread Moshe Gorohovsky
Hi,

For xorg:

1. Test from command line:

   host~$ setxkbmap us
   It is important to save this in shell history,
   before you switch to Hebrew !
   host~$ setxkbmap he
   Typpe in Hebrew in firefox.
   host~$ setxkbmap us

2. Configure your favorite keyboard indicator:
   Add keyboard indicator to your desktop: panels, fvwm box, etc.
   Add Hebrew to keyboard layouts in your keyboard indicator.


Dan Bar Dov wrote:
 How do I input hebrew on Linux?
 More specifically, in firefox (2.0).

 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]


-- 
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
   - http://www.tkos.co.il -


Dan Bar Dov wrote:
 How do I input hebrew on Linux?
 More specifically, in firefox (2.0).
 
 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]
 


=
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: Quickest way to list content of directory(s)

2007-02-12 Thread Moshe Gorohovsky
Hi,

Use shell globbing, like
`echo *'

Gilboa Davara wrote:
 On Mon, 2007-02-12 at 15:56 +0200, Maxim Veksler wrote:
 Hi,

 Someone at work told me that doing du -a DIR|grep FILE is faster
 then find DIR|grep FILE. I've measured, it doesn't looks quite
 so. It did OTOH got me wondering what's the quickest way to answer if
 file existed in a hierarchy of directories.

 Assuming I'm not interested in any information besides the answer if
 file existing or not. I would only need to access the directory
 listing and not the inode of each file, right? Is there some utility
 that can do this very simple search efficiently?

 
 What about $ file -name FILE ?
 
 - Gilboa
 
 
 =
 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]
 

-- 
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
   - 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: Why are GNOME applications (and applets) take so much [EMAIL PROTECTED] memory ?

2007-01-21 Thread Moshe Gorohovsky
Hi,

Gnome clock applet is not a clock, but a huge process with
evolution data server and client code involved. You are talking about
its menus. Take into account that these are evolution menus.

If you click on the GNOME clock applet, calendar appears.
If you double click on a day in the calendar, evolution appears.

- Moshe Gorohovsky.

Oded Arbel wrote:
 On Tue, 2007-01-16 at 22:40 +0200, Nadav Har'El wrote:
 Let's compare a few clock applications:

 app  VIRTRES NOTE
 xdaliclock   3756796
 oclock   36321540
 xclock   85442976
 kclock.kss   25840   8164
 clock-applet (Gnome) 90212   11256   (only the applet process)
 clock_panelapplet (KDE)  33664   12028   (for kicker with only a clock 
 applet)
 
 Hardly fair - Kicker does tons of stuff even when no applet is loaded -
 its the entire panel mechanism (including the main menu, or without ?).
 If you want to compare apples and apples, you should compare your KDE
 figure with the sum of gnome's clock applet and gnome-panel (entirely -
 everything that is painted on the gnome-panel is out-of-process).
 
 Trying to understand where Gnome's clock-applet's huge VIRT comes from,
 I discovered something very interesting. It start with just 28 MB of VIRT,
 but at the moment you right-click on the clock, and a menu pops up, it grows
 to, belive it or not - 90 MB. That's 60 MB to show a menu !?
 I diffed the /proc/../maps, and this is what the extra 60 MB contain: 0.5 MB
 of newly allocated memory, plus a lot of mapped files; One interesting mapped
 file is the HUGE /usr/share/icons/crystalsvg/icon-theme.cache, taking up 28 
 MB
 of mapped space!
 
 I'll check some of the other suspects to see whats in their mappings.
 Funny enough, gnome-system-monitor has a UI for /proc/../maps, which -
 if I'm reading it correctly - shows that Evolution with a relatively
 small VIRT of 500MB maps over 200MB of it as writable memory. Just as a
 comparison, that 200MB is almost twice as the entire VIRT size of KMail.
 
 --
 Oded
 ::..
 Learning is what most adults will do for a living in the 21st century.
 -- Perelman
 
 
 
 =
 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]
 

-- 
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
  - 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: Why are GNOME applications (and applets) take so much [EMAIL PROTECTED] memory ?

2007-01-21 Thread Moshe Gorohovsky
You are right, GNOME clock consumes too much memory for its tasks.

Briefly checking clock.c
(http://svn.gnome.org/viewcvs/gnome-panel/trunk/applets/clock/clock.c?rev=10182view=markup)
I can not see a reason for this memory consumption.
The calls to evolution code and the evolution data usage seems to be
encapsulated by well-organized code.

- Moshe Gorohovsky

Oded Arbel wrote:
 On Sun, 2007-01-21 at 10:44 +0200, Moshe Gorohovsky wrote:
 Hi,

 Gnome clock applet is not a clock, but a huge process with
 evolution data server and client code involved. You are talking about
 its menus. Take into account that these are evolution menus.

 If you click on the GNOME clock applet, calendar appears.
 If you double click on a day in the calendar, evolution appears.
 
 The KDE clock applet is similar. evo-data-server is out-of-process, but
 the kde clock also has korganizer client code, and when you click on it
 you get a calendar as well. Still there's not much reason for the GNOME
 clock to be so much larger then the KDE clock applet.
 
 --
 Oded
 ::..
 I wish Lucas  Co. would get the thing going a little faster.
 I can't really imagine waiting until 1997 to see all nine parts
 of the Star Wars series.
 -- Randal L. Schwartz (at 1982 on usenet)
 
 
 
 =
 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]
 

-- 
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
  - 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: Swiftfox for Duo Core 2

2007-01-21 Thread Moshe Gorohovsky
Dotan Cohen wrote:
 Swiftfox (firefox builds optimized for a paricular processor) are
 available for these processors:
   *  Pentium 4
   * Pentium M
   * Pentium 3
   * Pentium 3M
   * Pentium 2
   * Prescott
   * Celeron (Willamette, Northwood, Celeron D)
   * Celeron M
   * Celeron (Coppermine, Tualatin)
 
 Which one should I choose if I've got an Intell Duo Core 2 proccessor?
 Thanks in advance.
 
 Dotan Cohen
 
 http://what-is-what.com/what_is/microsoft.html
 http://english-lyrics.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]
 

If you mean Intel Core Duo, you should use Pentium M.

-- 
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
   - 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: Swiftfox for Duo Core 2

2007-01-21 Thread Moshe Gorohovsky
Hi,

According to http://mikeshardware.co.uk/CPURoadmap.htm,
Pentium M is a successor to Prescott on mobile platforms.
Core Duo is a successor to Pentium M.
Core Duo 2 is a successor to Core Duo.

What to choose for gcc's -march flag on Core Duo 2 ?

- Moshe Gorohovsky

Dotan Cohen wrote:
 On 21/01/07, Moshe Gorohovsky [EMAIL PROTECTED] wrote:
 If you mean Intel Core Duo, you should use Pentium M.

 
 Actually, it is Prescott as Muli had hinted. I found a post on the
 Swiftfox forums where the guy who builds them suggested the prescott
 build.
 
 Thanks.
 
 Dotan Cohen
 
 http://lyricslist.com/lyrics/artist_albums/463/sting.html
 http://kitha.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]
 

-- 
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
  - 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: Why are GNOME applications (and applets) take so much [EMAIL PROTECTED] memory ?

2007-01-16 Thread Moshe Gorohovsky
Hi,

I am using GNOME-2.14.3+ desktop, all compiled from sources on a linux
system, all compiled from sources with gcc-CVS-200608XX, using
-march=athlon-xp on Athlon 2600+ (1917 MHz) with 256 MB RAM.

I have experienced the GNOME memory usage problem before
glibc-CVS-20060813. After upgrading glibc to that version,
total memory usage have dropped below 82 MB, swap usage is 0 to ~200 KB.
I am looking at xosview screen.

I am running LyX (using pdflatex), Firefox, Inkscape, evince, java.
I do not run GNOME clock applet, which runs full evolution-data-server.
The system is very responsive,

- Moshe Gorohovsky

Tzafrir Cohen wrote:
 On Tue, Jan 16, 2007 at 12:47:03PM +0200, Hetz Ben Hamo wrote:
 
 My opinion: Some serious debate needs to be occured, whether in
 slashdor or the mailing lists, some sort of shake up in the
 GNOME/KDE development community, to remind them that this situation
 cannot be continue, and some diet is required.
 
 OpenOffice and Firefox are not developed by either gnome or KDE.
 Actually it seems that KDE apps are reasonably efficient. Gnome uses 
 Gecko as an HTML rendering engine and thus is not entirely off the hook
 regarding FireFox.
 
 I heard my advocates who recommend people to switch to Linux and use
 KDE or GNOME with 256MB RAM. To them I can say HA HA! go ahead, fire
 the latest GNOME and open 2-3 apps and give the machine a minute or
 so, it will be almost unresponsive. It's better in KDE but not by
 much. If someone wants something speedy, they should look at using
 FVWM, flux box or any other lite window manager and use some
 independent applications. I used FVWM with Kopete and KMAIL and
 Konqueror, and the results were pretty good on a 192MB machine. I
 tried to switch to GNOME (yes, stupid decision) and I had to reset the
 machine in order to get my control back.
 
 If you use Konqueror and KMail there isn't much to gain from using fvwm
 as the WM (memory-wise). 
 
 I tried using KDE recenly in a system with 128MB. Basically usable.
 Sadly kword is not usable enough and thus OOo has to be used, which is a
 loading and swapping pain.
 

-- 
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
  - 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: Debian Hebrew OpenOffice

2006-12-04 Thread Moshe Gorohovsky

Hello debian-openoffice maintainers,

Thank you for the information about ooo-build system.

Till now, Hebrew OOo was based on the stock OOo source code.
We have not used ooo-build system and patches.
We are getting ooo-build now, 20061204 from GNOME CVS HEAD.

We will build Hebrew OOo version using ooo-build system and
prepare source code patches for submission to ooo-build.

- Moshe Gorohovsky

 A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
 ---
   - tel: +972.2.679.5364, http://www.tkos.co.il -


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



sendmail-8.12 and bogofilter

2006-11-29 Thread Moshe Gorohovsky

Hello,

I am trying to integrate bogofilter-1.1.1 with sendmail-8.12.
I want to filter all messages by running bogofilter as
an unprivileged user.

What can I do in this situation ?

Upgrading sendmail is not an option, I can not use bogom-1.9
sendmail milter.

bogofilter-milter.pl uses individual users' bogofilter databases,
which is not suited for my task.

Does anybody know how to configure bogofilter-milter.pl
to use centralized bogofilter database and to run bogofilter
as one specific user only ?

- Moshe Gorohovsky.

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



Sound card for linux

2006-11-12 Thread Moshe Gorohovsky

Hi linux-il subscribers.

Can you recommend a PCI sound card that is currently available
in Israel and works well with both linux (with ALSA drivers in linux
kernel 2.6.5 till current 2.6.18) and windows (win2000 / winXP) ?

Please write about your experience with the sound card, did you
need to configure it manually in linux or in windows ?
Did you need to configure the sound card after each linux reboot
(maybe with a script) ?

--
 Moshe Gorohovsky

 A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
 ---
   - [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]