forums managemenet server needed

2004-02-03 Thread Dan Kenigsberg
Would you recommend to me about a server-side manager of users/news/formus
that supports hebrew well? scaliong is not a real issue here (20 expected
users), but it better be simple to operate.

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
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: [OT]nesws regarding vigros chicks

2004-01-26 Thread Dan Kenigsberg
On Wed, Jan 21, 2004 at 12:56:57PM +0200, Shachar Shemesh wrote:
 This is just wonderful!
 

An article in this line has appeared in NYTimes (reg req)
http://www.nytimes.com/2004/01/25/weekinreview/25john.html?hp

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

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



Online demo for Hspell 0.7 (and newer builds, when available)

2003-12-22 Thread Dan Kenigsberg
I would like to take this opportunity to tell you that a (somewhat slow) CGI
interface to hspell is available at

http://wassist.cs.technion.ac.il/~danken/cgi-bin/hspell.cgi?ling=on

This online demonstration allows you to check out hspell even without installing
it, in order to learn what you are missing.

Notice, that if you choose to receive linguistic information for words, the
sheer power of hspell's morphological analyzer will be unleashed. It will provide
all known readings for each recognized Hebrew string, through hspell's -l
option. For example, for the string , the noun (liver), adjective (heavy),
imperative verb (respect!), and imagery (fabric-like), will show. This is the
initial step in the long march for Hebrew automatic translation or
text-to-speech application or intelligent text-searches.

Enjoy.

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

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



[OT] domain names in China ??

2003-12-21 Thread Dan Kenigsberg
I wonder, does anyone here have experience / heard of someone with experience /
would like to share his wild guesses / about registring domain names in China?

And no, I do not plan to initiate an offshore spam-spredding business there.

Are there special things to worry about? Will just any registrar do? When it
comes to DNS, the market is so wild that I don't know to whom should I believe.

--
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
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: Mozilla Printing

2003-12-19 Thread Dan Kenigsberg
On Thu, Dec 18, 2003 at 05:12:12PM +0200, Zvi Har'El wrote:
 I don't use the RPM, but rather the tar.gz. The main reason I prefer to open a
 tar in /usr/local rather than installing a dozen of rpms. About user.js, I
 suggest you read http://www.mozilla.org/unix/customizing.html#prefs and
 http://www.geocities.com/pratiksolanki/ . I learned there a lot.

And I prefer the easily uninstall-able RPM. However, my about:buildconfig has
--disable-xprint, so I'll have to dump my binary. Damn.

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
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: Mozilla Printing

2003-12-19 Thread Dan Kenigsberg
I failed to use Xprint from mozilla 1.5b which I download as an rpm from
mozilla.org.

Xprint seems all right, but mozilla does not seem to attempt to connect to it at
all.

$ xplsprinters 
AUDIT: Thu Dec 18 16:53:59 2003: 4454 Xprt: client 1 connected from local host
AUDIT: Thu Dec 18 16:53:59 2003: 4454 Xprt: client 1 disconnected
printer: aaa@:33
printer: bbb@:33
printer: spooldir_tmp_Xprintjobs@:33
$ mozilla
nothing

How can I tell if my mozilla binary includes Xprint support? How should I
enable it if it is?

P.S. what is user.js? Why is recomended? Anyway, I've got print.print_method=1
as shown in about:config.

On Wed, Dec 17, 2003 at 07:46:17PM +0200, Zvi Har'El wrote:
 I am using RedHat 9.0, with mozilla 1.5 I downloaded as a tar file
 (mozilla-i686-pc-linux-gnu-1.5.tar.gz). This mozilla doesn't support Xprint by
 default, and this is also what you miss. Do do it, I had to add the line
 
 user_pref(print.print_method, 1);
 
 in mozilla preferences file (you can do it prefs.js, but it is recommended to
 do it in user.js - I also have the definions to enable trutype fonts), and
 

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
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: Pixelated output when exporting from Lyx to PDF

2003-12-14 Thread Dan Kenigsberg
It sounds like a problem related to Acrobat failure to show raster fonts very
well. It can be solved if the vector fonts are embedded in the document file, as
can be done in

dvips -Ppdf file.dvi
ps2pdf file.ps

This problem might have raised its ugly head to to changing of your default
fonts.

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
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: Seeking a perl module

2003-12-09 Thread Dan Kenigsberg
Are you aware of MIME::Tools ? (available, for example in
http://www.iglu.org.il/pub/CPAN/modules/by-module/MIME/MIME-tools-5.411a.tar.gz
)

I did not *really* work with it. Few days ago I gave it a quick trial, and it
seemed to be able to do what you are looking for.

I abandoned it (for the mean while) since I was annoyed by its automatical
creation of a file for each attachment. When you learn how to disable this,
please let me know.

The following will eat a message from stdin and print out its internal layout
(and create plenty of attachment files on disk)


#!/usr/local/bin/perl -w

use MIME::Parser;

my $parser = new MIME::Parser;
$parser-decode_headers(1);
my $entity = $parser-parse(\*STDIN);

$entity-dump_skeleton;

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

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

2003-11-30 Thread Dan Kenigsberg
according to

$ rpm -qf =top
procps-2.0.11-6

ftp://ftp.iglu.org.il/pub/distributions/RedHat/linux/9/en/os/i386/SRPMS/procps-2.0.11-6.src.rpm

would be a good place to start looking.
(haven't checked it myself, but I had to tell the world how usefull is RPM)

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
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: silly gnome-panel question

2003-11-24 Thread Dan Kenigsberg
Cool! Thanks. Just what I was looking for.

On Fri, Nov 21, 2003 at 11:20:01AM +0200, Ilya Konstantinov wrote:
 On Tue, Nov 18, 2003 at 02:06:59PM +0200, Dan Kenigsberg wrote:
  I see that my question wasn't clear. I'll restate it.
  
  When a window opens, gnome adds it automatically to its task bar, where it
  shows as a rectangular button.
  
  I would like to avoid this for xeys. How can this be done?
 
 A bit hacky, but should work:
 
 xeyes
 xprop -name xeyes -f _NET_WM_STATE 32a -set _NET_WM_STATE _NET_WM_STATE_SKIP_TASKBAR
 
 (see http://freedesktop.org/Standards/wm-spec/wm-spec-1.0.html for window properties)
 

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

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



local override for javascript functions?

2003-11-24 Thread Dan Kenigsberg
All of us are familiar with annoying javascript functions on specific pages,
that do somthing that is not understood by our browser, or is simply unwanted to
us end-users.

Wouldn't it be nice to say to mozilla: 
http://some.url/page.html defines a function called doBadThing.
would you please run the function doGood() {} instead of it whenever
requested?

Now to my question: is there a mozilla extension that does just that?

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

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



silly gnome-panel question

2003-11-18 Thread Dan Kenigsberg
I know it is totally uncool to admit using such a vulgar application, but I have
a question about it: How can I run a certain X app, let's say xeyes, without
having its related icon in gnome-panel?

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
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: silly gnome-panel question

2003-11-18 Thread Dan Kenigsberg
I see that my question wasn't clear. I'll restate it.

When a window opens, gnome adds it automatically to its task bar, where it
shows as a rectangular button.

I would like to avoid this for xeys. How can this be done?


-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
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: Bank Hapoalim - was: Re: Mozilla, Internet Banking and Bank Otsar Ha-Hayal: summary

2003-11-03 Thread Dan Kenigsberg
I hereby request. It won't heart me to learn a trick or two.

On Thu, Oct 30, 2003 at 09:18:16PM +0200, Baruch Even wrote:
 For anyone interested I've modified Dan's script to extract the data to
 CSV files, I've also made use of HTML Table extraction to hopefully
 make the script a bit more robust.
 
 I can provide the script upon request.

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
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: Bank Hapoalim - was: Re: Mozilla, Internet Banking and Bank Otsar Ha-Hayal: summary

2003-11-03 Thread Dan Kenigsberg
On Mon, Nov 03, 2003 at 09:04:29AM +0200, Dan Kenigsberg wrote:
 It won't heart me to learn a trick or two.

And neither to spell.


=
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: he-en dictionaries...

2003-11-02 Thread Dan Kenigsberg
Hi,

Sadly, as much as I can tell, there is no free hebrew dictionary. I search for
one for quite a while in order to use it for a basis of the hspell word list.
Since Nadav and myself failed to find such a word list, we sat down to write it
from scratch.

It would be very nice if somebody would add english description to each of the
words that are available in the hspell distribution
( http://www.ivrix.org.il/spell-checker ). I do not plan to start doing it
anytime soon, although it has very interesting implications, such as germinating
a hebrew-english automated translation.

I recall that someone (Didi?) converted the gratis dictionary of Babylon to a
unix-compatible format, so this would be a more practical alley to walk by.

Good luck! If you manage to find a good (and free) list of hebrew words (with,
or without translations), I'll be happy to learn about it.

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
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: Bank Hapoalim - was: Re: Mozilla, Internet Banking and Bank Otsar Ha-Hayal: summary

2003-10-30 Thread Dan Kenigsberg
On Thu, Oct 30, 2003 at 12:36:59PM +0200, [EMAIL PROTECTED] wrote:
 On Thu, Oct 30, 2003 at 12:21:46PM -0500, Guy Baruch wrote:
  Several people mentioned that Otsar Ha-Hayal is subsidiary of Hapoalim, 
  and the URL
  is the same.
 
 Speaking of Bank Hapoalim, last night I tried to enter it with Mozilla
 Firebird 0.6.1 and managed to login but the menu bars on the right
 and the top had the Hebrew revered. The main frame was ok.
 
 Trying to login with Konquerer succeeded in login but gave an empty
 page.
 
 Can I do something to make it work?
 

With mozilla, all you have to do is re-set the encoding manually, and reload
the page. I think Shoshana Forbes, or someone else who know what they are
talking about, said that it is related to a known Mozilla bug.

Oh, and you may find my own *DANGEROUS* perl script interesting. It tries to
summarize a few pages off the poalim site. As written inside, it is GPLed (see
exception!) and comes with absolutely no warranty. In fact, if you use it, don't
be surprised if your life savings have been transferred to a swiss numbered bank
account.

http://www.cs.technion.ac.il/~danken/poalim

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
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: Alcatel PRO firewall - is it good?

2003-06-12 Thread Dan Kenigsberg
An inherent theoretical security disadvantage is the reliance on a closed
system - who knows what the manufacturer forgot protecting against (or
intentionally left unprotected).

The bigger problem, is that with Alcatel ADSL ethernet modem this is,
supposedly, no theory.

http://security.sdsc.edu/self-help/alcatel/alcatel-bugs.html

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

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



SCO vs IBM on yesterday's HaAretz

2003-06-04 Thread Dan Kenigsberg
If you would like to read about it from a Microsoft- and Bush- bashing article,
take a look at (reg. req.)
http://www.haaretz.co.il/hasite/pages/ShArtSR.jhtml?itemNo=299720objNo=10045returnParam=Y

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

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



silly mozilla question

2003-06-02 Thread Dan Kenigsberg
How can I tell mozilla to open .ps.gz files with /usr/X11R6/bin/gv ?

I hope one-liners don't insult you. Should I rephrase my question and a more
elaborate way?
-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
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: silly mozilla question

2003-06-02 Thread Dan Kenigsberg
On Sun, Jun 01, 2003 at 08:39:30PM +0300, Oleg Goldshmidt wrote:
 * Pull down Edit-Preferences
 
 Note that I have no idea whether Mozilla will only pay attention to
 the MIME type and not to the particular extension, and will try to
 open every gzipped file with gv... Just thought I should warn you.

I guess I should have been more elaborate afterall - this is exactly what
bothered me, since I would have liked mozilla to peal the gzip and then
continue with its MIME tricks. and I still does.
-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
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: Announce: Hspell 0.4

2003-03-10 Thread Dan Kenigsberg
On Mon, Mar 10, 2003 at 12:15:04PM +0200, Matan Ninio wrote:
 I'm very happy to here this.  I would be even happier if I would
 understand what I need to do to get this to work with my bidi-emacs.
 Have you looked into the possibility of interfacing with emacs ispell
 like?  being the center of the computational creation, the One True
 Editor is an excellent platform to attach to, if you want to make this
 speller useful.
 Matan 

The glove is thrown down. Who will dare to pick it up?

Certainly not me, since I never saw bidi-emacs. Would you research this and tell
us what is required from hspell? Without Dekel Tsur's help, hspell wouldn't have
interfaced with LyX up to this date.

Dan.

P.S. this message was written in vim.



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



Announce: Hspell 0.4

2003-03-09 Thread Dan Kenigsberg

   The Kenigsberg Address
   ==

  Four score and seven days ago my Unix mentor brought forth on this mailing
list a new software, conceived in liberty and dedicated to the proposition
that all men are lousy spellers. 

  Now we are engaged in a great effort, testing whether that software or
any free software so conceived and so dedicated can long endure and reach
revision 0.4. We are met on a great website

http://www.ivrix.org.il/projects/spell-checker/

We have come to dedicate a portion of that website as a final resting place
for the new version 0.4, created so that the nation might spell correctly.
It is altogether fitting and proper that we should do this.

  The world will little note nor long remember what we say here, but it can
never forget what the new version did:

 * Some incorrect words purged or fixed, and many more words added: as many
   as 2,300 new base words and 60,000 inflections.
 * Shem Poal Natuy + Kinuy for all verbs, things like:  ,
 * Complete overhaul of the hspell homepage. the site now also contains
   small (~100K) signed RPMs.
 * New option for mixed Hebrew-English spellchecking.
 * In response to popular demand, long command line options were added.

We here highly resolve that this software shall not have been written in
vain - that this nation under God shall have a new birth of freedom - and
that spell-checker of the people, by the people, for the people shall not
perish from the earth.

Dan Kenigsberg.

P.S. I seldom go to the theater, so don't get any ideas.

=
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: [Fwd: BSA Accuses OpenOffice ftp sites of piracy]

2003-03-04 Thread Dan Kenigsberg
 On Tue, Mar 04, 2003, Eli Billauer wrote about Re: [Fwd:  BSA Accuses OpenOffice 
 ftp sites of piracy]:
  But the problem is not that some people want a WYSIWYG word processor, 
  or spreadsheets. Micro$oft doesn't have any rights on the WYSIWYG 
  concept. But if you call an application KWord and make it look like 
  MS-Word, you've made a statement about its origins.
 
 Excuse me?
 M-w.com lists the phrase word processor as dating back to 1970, which is
 a good 15 years before the first version of MS-Word I know of. Microsoft
 has no copyrights on the generic English word word, and while calling
 a word processor, of all names, Kword may be strange - it is certainly
 not illegal.

This reminds me of an ancient story about MS acquiring the English language.
(http://www.stokely.com/lighter.side/ms.english.html for once)
If I recall correctly it was circulating exactly out of the fear that some time
in the future, common generic  words like Word or Project will become
proprietary.


=
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: Software design document

2003-02-26 Thread Dan Kenigsberg
  Seriously, while PDF is not a panacea for many Windows kiddies who only
  know of Word, it is still much more accesible than PostScript. Sending a
  document to a Windows guy in PS format is like sending a document to a
  UNIX guy in Word format. Not a nice thing to do.
 
 I disagree. Unless PDF comes by default on windows nowday, installing
 a postscript viewer should be no more and no less complicated than
 installing a PDF viewer. 

Maybe it should, but it is not. pdf is much easier to view there, and it is
much more common in the world accesible by google: the word and appears in
5,860,000 pdf files, but only in 421,000 ps files.

Dan.

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



Re: Software design document

2003-02-25 Thread Dan Kenigsberg
I'm afraid I'll have to chill out the optimism a bit. The original post asked
about writing a complicated /hebrew/ document. The situation of ivritex, the
hebrew support for LaTeX, is far from perfect. Ready yourself for an odd bug 
oneic in a while, and using a good font is still a problem (at least for 
myself).

Having said that, it is feasible - and even recomended (since your document is
complicated and full of features, we might earn a couple of bug fixes :) )

Good luck.

On Tue, Feb 25, 2003 at 06:57:48PM +0200, Muli Ben-Yehuda wrote:
 On Tue, Feb 25, 2003 at 07:00:05PM +0200, kfir lavi wrote:
 
  is the conversion to pdf is easy, with no faults?
 
 Yes. Let me know if you want to see my LaTeX makefile, which is based
 on Oleg's. Also, make sure to follow the advice at
 http://www.advogato.org/person/ladypine/diary.html?start=37 for
 producing a valid pdf. 

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



Re: Looking for a WM that will...

2003-01-15 Thread Dan Kenigsberg
What about a directory with soft links? ;-

On Wed, Jan 15, 2003 at 05:25:33PM +0200, Shoshannah Forbes wrote:
 .. allow me to group different documents from different applications 
 into a single object, which I would be able then to manipulate 
 directly, (a little like using a virtual paper clip).
 
 Does anyone know by chance how to do such a thing?

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




Stallman interviewed in Haaretz Friday Magazine

2003-01-02 Thread Dan Kenigsberg
You may find it interesting to follow the following link (reg req unless jscript
disabled [*]):

http://www.haaretz.co.il/hasite/pages/ShArtPE.jhtml?itemNo=247510contrassID=2subContrassID=13sbSubContrassID=0

And if you wondered, it does feature the Xerox printer anecdote.


--
[*] archiving this message in the USA may violate the DMCA.

=
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: questions for RMS

2002-12-23 Thread Dan Kenigsberg
 furthermore, I don't think IBM's laptop modems are any of his concern
 either. IBM has dropped support and pre-installation of Linux on
 workstations and laptop and are only selling it on server platforms.
 sad, but true. if they officially don't support it, you can't complain
 about their choices of hardware...

Oh certainly I can complain, even though there is not much point to it. However,
getting Stallman into complaining is much more useful.
Bureaucracies *love* to justify their actions by saying it is their official
policy. I cannot change the Blue Giant's policy, but Stallman just might - or
at least annoy his hosts a bit, as I wrote in my (private) mail to Tal.

Dan.

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




Re: Announcement: free Hebrew Spell-Checker

2002-12-15 Thread Dan Kenigsberg
On Sun, Dec 15, 2002 at 01:47:52AM +0200, Oded Arbel wrote:
 Can you please expand on the reasons you chose not to incorporate the 
 generated word lists as a language package to some existing spell checker 
 (such as myspell or aspell) and thus making it immidietly useful for end 
 users ?

I tried to do so with aspell, but since aspell does not support prefixes, the
word list I needed to give it was unmanageably long. This is because in Hebrew,
auxiliary words like and, the, or when are joined to the following word.
(there are other reasons why Hebrew has so much more word constructs than
European languages. consider  - and when I guarded her.)

We have no reservation from integration with widely spread spell-checkers. On
the contrary - it is in our TODO list, and we would appreciate if someone help
us do it. On the mean while, we believe that hspell-0.1 *is* useful for the end
user, as long as he or she is not afraid of non-interactiveness.

Dan.

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




Re: Announcement: free Hebrew Spell-Checker

2002-12-15 Thread Dan Kenigsberg
On Sun, Dec 15, 2002 at 09:25:54PM +0200, Eli Marmor wrote:
 Did you look at the work of Erel Segal
   (http://www.cs.technion.ac.il/~erelsgl) and his morphologial analyzer?
  
  Yes, I did notice his work. But he does not publish anywhere where he got
  his word lists (and what are their copyright status). Probes sent to him
  about this issue were not clearly replied to so we gave up; maybe if you
  know him you can get clearer responses.
 
 Isn't it what he writes here?
   http://www.cs.technion.ac.il/~erelsgl/bxi/hmntx/tqstim/teud.html

If it is, I didn't get it. As far as I understand, this page regards the
examplary text he analised, not the word list he used to do it.
And anyway, these particular text are copyrighted by ha'aretz, and obviously we
couldn't have GPLed them (and wouldn't want to).

Dan.

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




Re: where did my mouse go?

2002-12-07 Thread Dan Kenigsberg
On Thu, Dec 05, 2002 at 03:14:58PM +0200, Nadav Har'El wrote:
 On Thu, Dec 05, 2002, Dan Kenigsberg wrote about Re: where did my mouse go?:
  On Thu, Dec 05, 2002 at 02:41:05PM +0200, Nadav Har'El wrote:
  
  The /dev/mouse symlink is fine, but `ls /dev/psaux' gives me
  
  ls: /dev/psaux: Input/output error
 
 Could it be that your /dev directory is ruined? ls should never have given
 you Input/output error, even on a bad device file, because it doesn't
 try to read the file or open it...
 
 Try
   mknod /tmp/mouse c 10 1
   cat /tmp/mouse
 
 and see if this mouse device works. If it does, fsck your disk to try
 to find any disk errors, and then remove /dev/mouse and recreate with
 the above mknod command (you can make /dev/psaux root-owned with permissions
 rw---).

Indeed, it seems that my mouse ate a lot of sectors from my /dev directory, and
died from stomach ache. I fsck'ed it, reinstalled dev rpm, and now I am hoping
for the best.

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]




where did my mouse go?

2002-12-05 Thread Dan Kenigsberg
Suddenly and without prior warning[*], my thinkpad's internel mouse became
unavailable to Linux.

I'm running RH8, and kudzu fails to detect the mouse. Sadly, I see nothing
interesting in the logs. Any idea why did this happen?

I keep a standanlone mouse detection program on my laptop (it's called WinXP)
and it works fine, so this is not a hardware problem.

Any idea how can I get to the bottom of this?

Thanks,

Dan.

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




Re: where did my mouse go?

2002-12-05 Thread Dan Kenigsberg
On Thu, Dec 05, 2002 at 02:41:05PM +0200, Nadav Har'El wrote:

The /dev/mouse symlink is fine, but `ls /dev/psaux' gives me

ls: /dev/psaux: Input/output error
 
yet 10 misc appears in my /proc/devices.

How could it be that I suddenly don't have mouse support in my kernel? I booted
with RH's 2.4.18-17 just to make sure, and the problem persists.

I don't know if this is relevant, but mousedev appears in my lsmod.

Any other ideas? directions?


=
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: Rootless Cygwin/XFree86

2002-11-06 Thread Dan Kenigsberg
On Wed, Nov 06, 2002 at 04:47:43AM +0200, Eran Tromer wrote:
 Some time ago I consulted this list about good X servers for Windows
 (it's easier and far cheaper to access Linux from Windows than the
 reverse; I need both). 

This what happens when you're open - people pay the competetion in order to
access your software. :-)

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]




converting doc files in mozilla

2002-11-06 Thread Dan Kenigsberg
Hi

I would like to send application/msword files to antiword, and from there, back
to mozilla's window. You may call it a caveperson's plugin, if you please.

Anyone knows how this should be done?

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]




compiling the latest rh kernel

2002-10-22 Thread Dan Kenigsberg
I'm trying to compile rh kernel 2.4.18-17.8.0 with my
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7).

I'm using configs/kernel-2.4.18-i686.config as my .config.

Compiling vmlinuz works fine, but modules fails with funny error message.

any idea why is that?

Dan.


make -r -f tmp_include_depends all
make[1]: Entering directory `/home/danken/linux'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/danken/linux'
make -C  kernel CFLAGS=-D__KERNEL__ -I/home/danken/linux/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE 
-DMODVERSIONS -include /home/danken/linux/include/linux/modversions.h 
MAKING_MODULES=1 modules
make[1]: Entering directory `/home/danken/linux/kernel'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/home/danken/linux/kernel'
make -C  drivers CFLAGS=-D__KERNEL__ -I/home/danken/linux/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE 
-DMODVERSIONS -include /home/danken/linux/include/linux/modversions.h 
MAKING_MODULES=1 modules
make[1]: Entering directory `/home/danken/linux/drivers'
make -C addon modules
make[2]: Entering directory `/home/danken/linux/drivers/addon'
make -C aep modules
make[3]: Entering directory `/home/danken/linux/drivers/addon/aep'
make[3]: Nothing to be done for `modules'.
make[3]: Leaving directory `/home/danken/linux/drivers/addon/aep'
make -C bcm5700 modules
make[3]: Entering directory `/home/danken/linux/drivers/addon/bcm5700'
make[3]: Nothing to be done for `modules'.
make[3]: Leaving directory `/home/danken/linux/drivers/addon/bcm5700'
make -C cipe modules
make[3]: Entering directory `/home/danken/linux/drivers/addon/cipe'
gcc -D__KERNEL__ -I/home/danken/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs 
-O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe 
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include 
/home/danken/linux/include/linux/modversions.h  -nostdinc -I 
/usr/lib/gcc-lib/i386-redhat-linux/3.2/include -DKBUILD_BASENAME=module  -c -o 
module.o module.c
In file included from /home/danken/linux/include/linux/skbuff.h:18,
 from /home/danken/linux/include/linux/netdevice.h:147,
 from cipe.h:62,
 from module.c:15:
/home/danken/linux/include/linux/kernel.h:107: parse error before numeric constant
/home/danken/linux/include/linux/kernel.h:107: warning: function declaration isn't a 
prototype
/home/danken/linux/include/linux/kernel.h:108: warning: parameter names (without 
types) in function declaration
In file included from /home/danken/linux/include/linux/ptrace.h:24,
 from /home/danken/linux/include/linux/binfmts.h:4,
 from /home/danken/linux/include/linux/sched.h:9,
 from /home/danken/linux/include/linux/skbuff.h:19,
 from /home/danken/linux/include/linux/netdevice.h:147,
 from cipe.h:62,
 from module.c:15:
/home/danken/linux/include/asm/ptrace.h:60: invalid suffix on integer constant
/home/danken/linux/include/asm/ptrace.h:60: parse error before numeric constant
/home/danken/linux/include/asm/ptrace.h:60: `show_regs_R_ver_str' declared as function 
returning a function
/home/danken/linux/include/asm/ptrace.h:60: warning: function declaration isn't a 
prototype
In file included from /home/danken/linux/include/linux/prefetch.h:13,
 from /home/danken/linux/include/linux/list.h:6,
 from /home/danken/linux/include/linux/wait.h:14,
 from /home/danken/linux/include/linux/fs.h:12,
 from /home/danken/linux/include/linux/capability.h:17,
 from /home/danken/linux/include/linux/binfmts.h:5,
 from /home/danken/linux/include/linux/sched.h:9,
 from /home/danken/linux/include/linux/skbuff.h:19,
 from /home/danken/linux/include/linux/netdevice.h:147,
 from cipe.h:62,
 from module.c:15:
/home/danken/linux/include/asm/processor.h:73: invalid suffix on integer constant
/home/danken/linux/include/asm/processor.h:73: parse error before numeric constant
/home/danken/linux/include/asm/processor.h:73: warning: function declaration isn't a 
prototype
/home/danken/linux/include/asm/processor.h:256: invalid suffix on integer constant
/home/danken/linux/include/asm/processor.h:256: parse error before numeric constant
/home/danken/linux/include/asm/processor.h:256: warning: function declaration isn't a 
prototype
/home/danken/linux/include/asm/processor.h:260: warning: parameter names (without 
types) in function declaration
/home/danken/linux/include/asm/processor.h:436: invalid suffix on floating constant
/home/danken/linux/include/asm/processor.h:436: parse error 

Re: compiling the latest rh kernel

2002-10-22 Thread Dan Kenigsberg
Very odd. The official kernel, with or without -ac4, compiles well on my system.
I don't know what's wrong with the rh-supplied tree. (or me, for that matter)

Anyway, mulix's patch from -ac4 seems to have solved my sound problem.
muchos gracias, spasybo bolshoy.

Dan.

On Tue, Oct 22, 2002 at 02:35:53PM +0200, Dan Kenigsberg wrote:
 I'm trying to compile rh kernel 2.4.18-17.8.0 with my
 gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7).
 
 I'm using configs/kernel-2.4.18-i686.config as my .config.
 
 Compiling vmlinuz works fine, but modules fails with funny error message.
 
 any idea why is that?
 
   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]




[Slightly OT] Itanium CPU time for rent?

2002-10-12 Thread Dan Kenigsberg
I wonder - is there anywhere a machine running the already-not-so-new Itanium
processor, where I can have (rent?) login access?

I would like to do some benchmarking.

Thanks,

Dan.
 

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




Re: xmms rh8

2002-10-04 Thread Dan Kenigsberg

 Patented technologies are doomed to dissapear.

Indeed, but only because every patent has its expiration date...

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

2002-09-24 Thread Dan Kenigsberg

On Tue, Sep 24, 2002 at 12:50:07PM +0300, Moshe Kaminsky wrote:
 
 I guess a relevant bit of information here is that this program is
 written in Delphi, which is some variant of Pascal.

In this case I guess porting is quite a big project.
Unless you use Borland's lovely Kylix (Delphi's spin into Linux), which probably
will speed things ai lot.
However - this tool is *not free*. 

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




[OT] What and Where: ethernet cables for home networking

2002-09-19 Thread Dan Kenigsberg

I recall that a while ago, there has been a discussion in the subject.
I'm afraid I failed to find the thread, and anyways - maybe things have changed.

So - I consider to wire-up a home for ethernet and telephony.

* Where should I buy the cabels and sockets? (Tel Aviv, Haifa, and between)
* How much should I pay?
* Any good ideas how to use the same cable (NOT the same twised pair) for phone
  line?

Thanks,

Dan.


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




Re: HTML to jpg/gif in Linux

2002-07-25 Thread Dan Kenigsberg

It is extremely impolite to quote myself, and furthermore say almost the same,
but for the sake of the archive, I have to state that the following works just
fine (though long ps file should be broken, I suppose):

$ Xvfb :1
$ DISPLAY=:1 netscape 
$ DISPLAY=:1 netscape -remote openURL(iglu.org.il)
$ DISPLAY=:1 netscape -remote saveAs(iglu.ps,PostScript)
$ gs -sDEVICE=jpeg -sOutputFile=iglu.jpg iglu.ps 

Anyone have an idea why this nice -remote option was not ported completely into
mozilla? Yet another priciple?

Dan.


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




Re: HTML to jpg/gif in Linux

2002-07-24 Thread Dan Kenigsberg

For some reason I fail to use netscape -remote, but if it wasn't deprecated you
could:

netscape
netscape -remote openURL(http://your.url)
netscape -remote SaveAs(site.ps, PostScript)
gs -sDEVICE=jpeg -dBATCH -sOutputFile=site.jpg site.ps

I know people are doing similar things on top of a framebuffer X server, so
everything can be done safely from a script.

Disclaimer: never tried it myself.

Dan.

P.S. My guess is that such thing would be incredibly simple to do with Microsoft
Internet Explorer, with its elaborate COM interface, but I believe this is the
wrong list to mention this.

On Wed, Jul 24, 2002 at 12:39:34PM +0200, Ben-Nes Michael wrote:
 Hi All
 
 I want to convert html pages to jpg/gif images.
 
 The plane is more like:
 
 1. print a Web page to file
 2. convert ps to jpg or gif
 
 How can I print from console ( with color ) to file a web page ?
 
 Does any body have a better way then i wrote above ?

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




run dhcpcd in the background, even when disconnected?

2002-07-07 Thread Dan Kenigsberg

When I boot my RH73, it runs dhcpcd that tries to find a dhcp server around and
aquire an IP address for me.

However, if I fail to connect to the LAN on time, dhcpcd fails and does not try
again ever (unless I run it manually).

I read from the dhcpcd manual that:
  dhcpcd  will not fork into background until
  it gets a valid IP address  in  which  case  dhcpcd
  will  return  0  to  the parent process.  In a case
  dhcpcd  times  out  before  receiving  a  valid  IP
  address  from  DHCP  server dhcpcd will return exit
  code 1 to the parent process.

why is that? Isn't it more logical to hover around untill a server IS found? any
idea how to cirumvent this?

Thanks,
Dan.

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




Re: run dhcpcd in the background, even when disconnected?

2002-07-07 Thread Dan Kenigsberg

On Sun, Jul 07, 2002 at 02:30:13PM +0300, Gilad Ben-Yossef wrote:
 On Sun, 2002-07-07 at 13:15, Dan Kenigsberg wrote:
  I read from the dhcpcd manual that:
dhcpcd  will not fork into background until
it gets a valid IP address  in  which  case  dhcpcd
will  return  0  to  the parent process.  In a case
dhcpcd  times  out  before  receiving  a  valid  IP
address  from  DHCP  server dhcpcd will return exit
code 1 to the parent process.
  
  why is that? Isn't it more logical to hover around untill a server IS found? any
  idea how to cirumvent this?
 
 It is so because otherwise you'll only cover one specific case and in
 Unix world the writer of the program does not persume to tell you how to
 use it, he is writing a tool for you to use in whatever suites you. Like
 this for exmaple, that does what you want:
 
 while { ! /sbin/dhcpcd; } ; do echo Retrying DHCP...; sleep 5; done

A process-creating loop with 5 secs latency instead of a recvfrom a udp socket?
sounds like a waste of resources. I still believe that the proper way was to add
an option to detach without waiting (or use 0 timeout for that). And it should
be the default for laptops, even though this is how MS OSs behave.

but I would probably add this one to my rc.local... yuck. Thanks.

Dan.

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




Re: run dhcpcd in the background, even when disconnected?

2002-07-07 Thread Dan Kenigsberg

On Sun, Jul 07, 2002 at 03:16:28PM +0300, Tzafrir Cohen wrote:
 On 7 Jul 2002, Gilad Ben-Yossef wrote:
 
  On Sun, 2002-07-07 at 15:43, Michael Sternberg wrote:
  
   Is it advisable in case of such failure to start computer with a random
   static IP and continue to look for DHCP server in background ?
   This way the boot process will be at least continued..
 
  Choosing addresses at random is verbotten and will get your BOfH to come
  chase you around the office with a big LART. You already have a local
  loopback address (127.0.0.1) it should be enough provided you have a
  /etc/hosts file that maps that to your machine name.
 
 So you think that when dhcpcd fails the system (the script running it)
 should rewrite /etc/hosts to map the host name to 127.0.0.1 ? Is this done
 anywhere?
 
 What is 169.254.0.0/16 ?

I believe that keeping the interface down is the best option - I only wish it
kept trying...

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]




apmd revival script

2002-07-04 Thread Dan Kenigsberg

Hi,

I know I should have found the answer in some fine manual, but I did not:

I would like to write a script to be run whenevr my laptop wakes up, to tidy-up
some ugly behaviors (a usb module going buzzerk, kbdrate fixup)

I think it has something to do with /etc/sysconfig/apm-scripts/apmcontinue.
but I cannot put my finger on what is run by apmd on wakeup.

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]




hp usb keyboard

2002-06-13 Thread Dan Kenigsberg

I'm trying to connect the abovementioned keyboard to my rh73.
from what I read in Documentation/input/input.txt, since I have hid and keybdev
automatically loaded, I should be seeing characters flowing happiely into my
kernel.

However, I do not.

Electricly, the keyboard (which serves as a hub for a working mouse) seems to
operate fine, and it shows well with lsusb.

Any idea?

Dan.



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




Re: Sun Spark - Linux isoue

2002-05-30 Thread Dan Kenigsberg

  and the endianess of the data. SUN did it correctly, INTEL did not.
  
 
 
 Could you elaborate why Intel did it wrong?
 

Since this question is probably more ancient and more heatedly debated than the
Temple Mount / Kharam-a-Sharif dispute, I suggest to cut it out before it
begins.

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]




running a user-defined script with hotplug

2002-05-29 Thread Dan Kenigsberg

Hi List,

I have RH73 that uses hotplug to monitor the usb and load modules when needed,
and it works fine.

However, I would like to run a script whenever I insert my DiskOnKey to the usb
socket, and another one (well, it could be the smae one but with another arg)
when I unplug it.

man hotplug and google did not tell me the answer to my simple question.

Please don't suggest to rewrite /etc/hostplug/usb.agent. This is not what I'm
looking for.

Dan.

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




Re: mounting iso9660 as rw

2002-05-28 Thread Dan Kenigsberg

  
  I think I could copy all the files from the iso, and my own, and rebuild the
  whole bunch, but I just don't like the idea.
 
 But this seems to me to be the only clean way.
 Of course, it might won't work for you at all (e.g. if the image is of
 a bootable CD which you can't create yourself, such as an NT installation
 CD).
 

Didi,

I am not in the business of duplicating NT CDs, or any copyrighted CD for that
matter.
However, I wonder what is it that you are saying - is it impossible to extract
the 1.44Mb bootable floppy image from a bootable CD and then copy it into the
correct place on a newly devised CD ?

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]




mounting iso9660 as rw

2002-05-27 Thread Dan Kenigsberg

This may sound odd at first, and useless later, but I would like to add some
files to a iso9660 filesystem.

To be more exact, I have an iso of a CD and would like to update it with my own
stuff. I tried to loop-mount it with rw option and even have

/c/redhat/valhalla-i386-disc3.iso on /rh73/d3 type iso9660 (rw,loop=/dev/loop2)

in my mount output. However, when I try to write inside /rh73/d3 I keep getting
Read-only file system message.

I think I could copy all the files from the iso, and my own, and rebuild the
whole bunch, but I just don't like the idea.

Any other suggestions? Am I missing a fundamental of loop/iso9660 that prevents
this from happening?

Dan.

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




Re: Silly question: who stole my locale information

2002-05-21 Thread Dan Kenigsberg

 
~$ rpm -qf /usr/lib/locale/he_IL
glibc-common-2.2.5-34
~$ ls /usr/lib/locale/he_IL
ls: /usr/lib/locale/he_IL: No such file or directory
~$ rpm -V glibc-common
.?.   /usr/libexec/pt_chown
 
 Looks like corrupted rpm database... weird indeed.
 
   Just reinstall that package (rpm -Uvh --force glibc-common*.rpm)
 
 WAIT! WAIT! This will destroy evidence and solve only the sympthom...
 

sorry, too late. It seems I would not donate the corpse of my rpm to Science...

Thanks a lot for everyone's concern.

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]




Silly question: who stole my locale information

2002-05-20 Thread Dan Kenigsberg

I would swear that I had he_IL locale information installed under
/usr/share/locale in my former RH72.

Now that I upgraded to RH73, it is missing, and I (quite shamefully) cannot find
the rpm that contains it.

Any idea?

Dan.

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




Re: Silly question: who stole my locale information

2002-05-20 Thread Dan Kenigsberg

 
 On my Redhat 7.3,
 $ rpm -qf /usr/lib/locale/he_IL/
 glibc-common-2.2.5-34
 $ ls /usr/lib/locale/he_IL
 LC_ADDRESS  LC_IDENTIFICATION  LC_MONETARY  LC_PAPER
 LC_COLLATE  LC_MEASUREMENT LC_NAME  LC_TELEPHONE
 LC_CTYPELC_MESSAGESLC_NUMERIC   LC_TIME
 
 I don't see how you could have accidentally not installed glibc-common -
 it's a mighty important package...
 

Please tell me what do you make of this - it seems beyond my grasp:

~$ rpm -qf /usr/lib/locale/he_IL
glibc-common-2.2.5-34
~$ ls /usr/lib/locale/he_IL
ls: /usr/lib/locale/he_IL: No such file or directory
~$ rpm -V glibc-common
.?.   /usr/libexec/pt_chown


=
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: Silly question: who stole my locale information

2002-05-20 Thread Dan Kenigsberg

 
 From: Dan Kenigsberg [EMAIL PROTECTED]
  
  Please tell me what do you make of this - it seems beyond my grasp:
  
  ~$ rpm -qf /usr/lib/locale/he_IL
  glibc-common-2.2.5-34
  ~$ ls /usr/lib/locale/he_IL
  ls: /usr/lib/locale/he_IL: No such file or directory
  ~$ rpm -V glibc-common
  .?.   /usr/libexec/pt_chown
  
 
 Just reinstall that package (rpm -Uvh --force glibc-common*.rpm)
 
 Sagi
 
This I will do, if only someone told me why rpm -V did not cry out loud about
the missing files. (and how come they are missing, anyway)

=
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: OT: procmail rule to discard viruses

2002-05-07 Thread Dan Kenigsberg

See http://plasma-gate.weizmann.ac.il/Linux/maillists/01/12/msg00183.html
for Nadav Har'el's half-a-year-old virus rule. 
I would guess you should add a klez-representing line to it, and hope that it is
not prone to mutations.

Dan.

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




Re: OT: a short Perl question

2002-04-28 Thread Dan Kenigsberg

Thanks to everyone who answered me on and off the list. 

print standalone\n if (!caller);

seems just what I've been looking for.
(comparing $0 to the script's name would also work most of the times.)

Dan.

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




Re: Screen saver password problem

2002-04-23 Thread Dan Kenigsberg

 
 the problem is that you dont remember what language you are locked on to 
 before you get up to grub some coffee and lock your screen ;) .
 if you keep a LOT of applications running all the time, then killing X becomes 
 a big problem...
 
 
  (Yes, I once made that mistake too -- even killed X because of it,
  though on KDE 2)
 
 ouch.

Just a (very) simple trick that once helped me out: if you have root privileges,
you may change the passwd to something you *can* type, unlock KDE, and revert to
the original password. No need to murder X and its clients.

Dan.

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




Re: Screen saver password problem

2002-04-23 Thread Dan Kenigsberg

 
 On Tue, Apr 23, 2002, Dan Kenigsberg wrote about Re: Screen saver password problem:
  Just a (very) simple trick that once helped me out: if you have root privileges,
  you may change the passwd to something you *can* type, unlock KDE, and revert to
  the original password. No need to murder X and its clients.
 
 Why do you need root for that? Can't you Ctrl-Alt-F1 to get a new virtual
 console (text window), log in, and change your own password?

Yep, this is what I should have offered to this thread.

 Or does KDE look up your password only once, and continues to compare to the
 same password even after you've changed it?

 
KDE looks at the file every time - this is why my chaging the passwd *did* work.

What I had to do at the time was to look on the printed output of another user,
even though he locked his station and went home. That required root. The problem
in question does not. My Bad.

Dan.


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




Re: Slightly OT: yellow pages blocks our browsers

2002-04-04 Thread Dan Kenigsberg

 
 On Thu, Apr 04, 2002 at 01:02:13AM +0300, Herouth Maoz wrote:
 
 [...]
  I intend to sent the complaint not just to YP themselves, but also to 
  some newspapers. I don't know, Captain Internet, y-net, whatever.
 
 FWIW, I intend to protest against this braindead restriction, do you have
 a valid contact address?
 
If only you had yellowpages access, you could search for their phone number...

They claim they can be reached on [EMAIL PROTECTED], or by phone
03-753.

Good luck.



=
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: OT:automating html's using mozilla api

2002-04-01 Thread Dan Kenigsberg

 
 Hello list.
 
 Im looking for a way to automate html submisiion (input and such.)
 What i mean is,writing a program that will type for me some key words in a
 site and replay me the response.
 
 I thought maybe using mozilla`s api and  if so does any one have a good idea
 where to start?
 
 Maybe there is a better way? some script that will do the work?
 
 Thanks from advance
 adi.
 
I'd try out Perl's LWP package if I were you. (In fact, I am not you, but I
tried it anyway...)

You may find the HTTP::Request(3) man page as a good starter, and maybe find
Nadav's sendsms (http://harel.org.il/nadav/software/sendsms) or my own poalim
script (http://www.cs.technion.ac.il/~danken/poalim) educating.

Dan.


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




Re: [Humour] This is hilarious... ;-)

2002-03-11 Thread Dan Kenigsberg

 
 
 http://www.microsoft.comitem=linux@3573468885/original.html
 

My web connectivity is awful today, so I couldn't check this link, however,
this is known to be a HOAX: the prefix of a URL before the @ sign is passed to
the site right after it as useename/password.
In the aforementioned URL the site's IP address in DECIMAL is 3573468885
(212.254.206.213 if I'm not making an embarrassing division or ordering error)

(Just to warn anyone not familiar with that)

Dan.

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




Re: Sendsms to Orange

2002-02-21 Thread Dan Kenigsberg


 
 I asked:
 
  I downloaded and installed the sendsms scripts. They work fine for pele-phone,
  but only work about 30% of the time for Orange.
  
  I get the message Sent successfully. in the log, but nothing happens on
  the phone.
 
 I found the answer. Walla will accept a message with quotes  ' or a pound
 sign # in it and send it sucessfully, but it will not go anywhere.
 
 I added the following line to the sendsms script where I thought appropriate.
 
 $message =~ tr /'#/---/; 
 
 Which changes the unwanted characters to hyphens. 

I must shamefully admit that I have never noticed the # (pound) problem...
It is slightly more complicated: it seems that Orange-Walla expects a hex ascii
value after the #. It does not work for many characters and when it doesn't, it
causes the message to be silently dropped, as you reported.
Thus, your solution might be the sanest one.

I could not reproduce your problem with quotes and double quotes. they arrive
finely to my phone.

I would like to thank the orange subscriber who helped me find the pattern.

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]




how to measure process memory usage?

2002-02-17 Thread Dan Kenigsberg

Hi

I bet it is a stupid question with a simple answer, but I failed to find it, so:

Is there a utility to measure memory usage of a process, preferably proken into
static/stack/heap? The man page of GNU `time' suggests that it should do the
trick, but running
/usr/bin/time myprog
always reports 0 memory usage.

And another question - is there a portable way of doing it using system calls?

Thanks,

Dan.

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




Re: how to measure process memory usage?

2002-02-17 Thread Dan Kenigsberg

Thanks people, but I am looking for a shellscript-oriented tool, to measure the
maximum memory used by a process. I believe this *is* an interesting and useful
measure.
I am afraid top and even ps are not usefull for me.
Should I run ps continuously and return the maxmum vsize?

Dan.

 
 
 use the 'gtop', luke. you can get a complete memory map of the process,
 broken down into usage by various libraries. for me it proved it be a
 useful tool.
 
 guy
 


 On Sun, 17 Feb 2002, Nadav Har'El wrote:
 
  P.S. Since memory consumption can change (grow or decrease) during a run,
  it is not even obvious that something like getrusage(2) for memory consumption
  can return any useful answer for a process that exited - which is perhaps
  why it was never implemented in Linux.
 

=
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: [newbie] Renaming Files

2002-02-17 Thread Dan Kenigsberg

 
 Hi All,
 
 I have 1444 files I've recovered using the undelfs in Midnight Commander. 
 
 The file names are in inode format, something like: 123456:1.
 
 I would like to rename them all at once and just remove the :x part, i.e.: 
 123456.
 Any util available?
 
 Thanks.
 
 Amichai. 
 
if you are using a bash or zsh or I don't know what else, try

for f in * ; do; mv -i $f ${f%%:*} ; done

This assume you have all your file in the current directory, and you wish to
keep them there, with their new names.
And you may prefere to so a backup before this.

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]




MMX with gcc

2002-02-13 Thread Dan Kenigsberg

Did anyone around try running Pentium MMX code?

I failed miserably trying to find a working demo code.
For example, the one from
http://min.ecn.purdue.edu/~rfisher/Research/Libmmx/libmmx-990416.tgz
does not compile on gcc version 2.95.2 or gcc version 3.0.3.
At first it complains about extern inline functions (!?) and having that
repaired -- about ``fixed or forbidden register 0 (ax) was spilled for class
AREG''.

I'd be grateful if someone gave me a lead.

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]




Minor correction and no real help - Re: Hebrew Under Kshowmail

2002-02-10 Thread Dan Kenigsberg

Sorry I cannot help you with your question. 
 
 
  =?WINDOWS-1255?Q?=E0=E4=F8
 
 It was explained to me that the header in question is encoded in
 BASE64 MIME format. So, I dropped the issue, and went back to using
 Kshowmail to watch the mailbox.

(Minor correction: the Q up there stands for for Quoted Printable. Had it been B
it would have stood for Base64. Sorry for being such a nag)

What I really wanted to say is that my Dec 18 2001 perl script for conversion of
this kind of headers is much uglier than my current one which I use to send
hebrew subject lines to my hebrew-disbaled cellphone:


sub tostring {
  use MIME::Base64;
  use MIME::QuotedPrint;

  my $s = shift;
  my @spl = split('\?', $s);
  my ($raw, $charset, $enc, $str);

  return $s if ($#spl != 4 || $spl[0] ne '=');

  ($_, $charset, $enc, $str) =  @spl;

  if ($enc eq 'Q') {
$raw = decode_qp($str)}
  if ($enc eq 'B') {
$raw = decode_base64($str)}

  #TODO: handle other charsets - this assumes windows-1255 or iso-8859-8
  $raw =~ tr//abgdhvzx@ykklmmnnsppccqr$t/;
  return $raw;
}


Dan.


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




Re: Why USB disk on key is write protected

2002-02-05 Thread Dan Kenigsberg

 
 
   Hi 
 
   I brought in and connect USB disk on key  32Mb device to Mandrake 8.1 
 machine. (kernel 2.4.8-34.1mdk)
 
   I mount the disk   in the following way
 
   mount -t vfat  /dev/sda /mnt/usb 
 
  but found it write protected.
 

I think that Linux believes too much to the information it receives from the
device. See http://www.stray.ch/articles/dok.html for a bug fix.

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]




resolver and named questions

2002-01-30 Thread Dan Kenigsberg

Hi all,

I am connected to the net by a slow dialup, and running a local named in order
to speed-up repeated connection (my main dns is quite slow, too).

If I ping google.com, the local named forwards a dns query, whose answer is kept
in its cache for futuer attempts.  However, I noticed that the entries in the
cache die out quite quickly - if I ping google few minutes later I generate a
dns query again.  How can I extend the life time of the cached named entries?

Another question is about the resolver.
I tries to add my domain name to every address it fails to find.
I would like to stop this behaviour which create ludicrous queries like
www.gookle.com.localdomain. I tried empty domain and search lines in resolv.conf
but it did not change anything.

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]




automatic script to access your own first international bank to israel account

2002-01-06 Thread Dan Kenigsberg

Due to popular demand and great success of my Bank Poalim script 
(frankly, I have reasons to believe that no one but me uses it),
here is a similar one to access FIBI.

You may obtain it from
http://www.cs.technion.ac.il/~danken/fibi

Please let me know if it is useful/working for you. And notice the GPL exception
within.

And again, pay attention: The script has access to your bank account. It might
send your private information to this list. It might transfer your salary to an
anonymous swiss bank account. I did my best for this not to happen, however NO
WARRANTY WHATSOEVER IS GUARANTEED.

Dan.

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




Re: automatic script to access your own bank poalim account

2001-12-27 Thread Dan Kenigsberg

I agree that accessing your account every hour is excessive.
However, I do not consider checking on your account automatically every morning
as an abuse. In fact, it keeps the customer more up-to-date, triggers him/her to
take action more frequently, which in the end earns more money for the bank.

Please use the script sensibly. And remember my exception to the GPL: you may
not use the script against the will of the bank. If tomorrow they decide you
cannot access the site more than 3 times in a fortnight, you must comply.

Dan.

P.S. I would like to thank a list member (whose name I sadly forgot) for turning
my attention to the Location: header in a certain HTTPD response.

 
 don't you guys ever think on the other side?
 just think what would happen in people would start using this kind of
 script, overflow the server with request.the natural thing would be taking
 some small change of money over each page. 
 
 why abuse something only cause it's free?
  
 
 Ely Levy
 System group
 Hebrew University 
 Jerusalem Israel
 


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




automatic script to access your own bank poalim account

2001-12-26 Thread Dan Kenigsberg

Is your computer connected continuesly to the net?
Do you have an account in Bank Poalim, with internet access?

If so, you may take interest in the script I wrote:
http://www.cs.technion.ac.il/~danken/poalim

One can arange for it to check your bank account hourly and tell you if
something has changed.

What do you think of it? Is it useful for you?

Attention: The script has access to your bank account. It might send your
private information to this list. It might transfer your salary to an anonymous
swiss bank account. I did my best for this not to happen, however NO WARENTY
WHATSOEVER IS GUARANTIED.

Dan.


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




Re: Hebrew Under gbiff

2001-12-18 Thread Dan Kenigsberg

Ignoring silly things like startup latency, I thing Perl is better 
for this job:

#!/usr/bin/perl -w

print tostring($ARGV[0]), \n;

sub tostring {
  my $s = shift;
  my @spl = split('\?', $s);

  return $s if ($#spl != 3 || $spl[0] ne '=');

  ($_, $charset, $enc, $str) =  @spl;

  #TODO: handle other encodings and charsets
  return $s if $charset ne 'WINDOWS-1255' or $enc ne 'Q';

  $accum = ;
  while ($str =~ s/\=(..)//) {$accum = $accum.chr(hex($1))}
  return $s if length $str != 0;
  return $accum;
}

P.S. Thanks to whomever taught me Perl. Any comment is welcome.

 
 On Tue, Dec 18, 2001, Tzafrir Cohen wrote about Re: Hebrew Under gbiff:
  On Wed, 12 Dec 2001, Herouth Maoz wrote:
  
   On 2001 December? 12 ,Wednesday 12:18, Eli Marmor wrote:
Aharon Schkolnik wrote:
   ..
 =?WINDOWS-1255?Q?=E0=E4=F8

 Does anyone know why this is, and if there is anything I can do
 about it ?
   ..
  Where can I find such convertor already written?
 
 Here's a little something I wrote to convert such quoted-printable
 headers (it doesn't support base64 yet). Note that it's in awk, and
 rather ugly; hackers-il devotees could start an entire flamewar on
 why awk sucks for this purpose and perl/python/algol would have been
 better - please avoid such arguments, and instead just provide better
 (and tested) code - if you have it.
 
 function hextonum(c){
   c=toupper(c)
   if(c==A){ return 10;
   } else if(c==B){ return 11;
   } else if(c==C){ return 12;
   } else if(c==D){ return 13;
   } else if(c==E){ return 14;
   } else if(c==F){ return 15;
   } else { return c; }
 }
 function tostring(s   ,a,i,n,b1,b2){
   # convert header possibly encoded like RFC 2047 to string we can
   # use to send an SMS
   if(s !~ /^=\?/ || s !~ /\?=$/ || split(s,a,\?)!=5){
   return s;
   }
   if(a[3]==q || a[3]==Q){
   s=;
   n=length(a[4])
   for(i=1;i=n;i++){
   b=substr(a[4],i,1);
   if(b==_){
   s= s  
   } else if(b===){
   b1=substr(a[4],i+1,1);
   b2=substr(a[4],i+2,1);
   i+=2
   s= s sprintf(%c, hextonum(b1)*16+hextonum(b2))
   } else {
   s= s b
   }
   }
   return s;
   }
   # TODO: handle B (base64) encoding
   # give up, I dont know what to do.
   return s;
 }
 
 -- 
 Nadav Har'El|   Tuesday, Dec 18 2001, 3 Tevet 5762
 [EMAIL PROTECTED] |-
 Phone: +972-53-245868, ICQ 13349191 |Take my advice, I don't use it anyway.
 http://nadav.harel.org.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: [Slightly Off Topic] processor speed

2001-12-05 Thread Dan Kenigsberg

I admit this is slightly Meaningless Numbers Calculus, 
but I have to measure a certain computational task, and come up with a number
per architecture. I could use total process time, but dividing it with the
processor speed to acquire a measure of total cpu cycles seems more appropriate.

Returning to my problem, I can use /proc/cpuinfo (in fact, I am).
However, on Sun/Alpha the best I can do is run psrinfo, but it is
problematic since those systems are in some cases assymetric - and I cannot tell
on which cpu my proccess is running.

Any other ideas?

Dan.

 
 On Tue, Dec 04, 2001, Dan Kenigsberg wrote about [Slightly Off Topic] processor 
speed:
  I would like to tell the speed of the processor I'm using, via a system call, on
 ...
  Please assume I cannot open the computer or afraid of screwdrivers, 
  and cannot parse the lovely Linux /proc/cpuinfo, nor parse the output of Sun's
 
 I'll answer only about Linux (I don't remember how to do this on Solaris).
 
 On Linux, it is an official decision that instead of having dozens of system
 calls, or weird non-standard system calls returning even weirder data
 structures, or weird special kernel interfaces (routing sockets anyone?)
 that simple kernel information like that will only be available through
 the /proc/cpuinfo interface. What's wrong with that - how hard is to open
 this file and look for a newline followed by cpu MHz?
 The format of this file might changed in some future Linux release (the
 linux-kernel mailing list is always filled with fights on how to change /proc),
 but CPU speed is very non-portable anyway, so I don't see what problems this
 can cause you.
 
 Of course, it's possible to access the CPU directly and find the CPU's
 version string, but this is definitely not recommended (if at all possible)
 to do outside the kernel. Check the Linux kernel on how they do it, if you're
 interested.
 
 P.S. Obviously, with today's complicated CPUs, it is not at all certain how
 exactly the MHz or bogomips figures in /proc/cpuinfo are relevant to the
 speed of an actual program that you intend to run...
 

=
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: making a non-GPLed module

2001-12-05 Thread Dan Kenigsberg

So, Nadav, if I want to post something at linux-il, without you knowing about
it, should I simply add the following lines to my message?

1
0 
Z0gSPTNEI2YAPiu7YYJW5q94cmMWly6hsWNpffE

(oops. if it works, you won't answer... this smells like Godel.)


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




[Slightly Off Topic] processor speed

2001-12-04 Thread Dan Kenigsberg

I would like to tell the speed of the processor I'm using, via a system call, on
various unices (linux, solaris and alpha). 

any idea?
 
Please assume I cannot open the computer or afraid of screwdrivers, 
and cannot parse the lovely Linux /proc/cpuinfo, nor parse the output of Sun's
and alpha's psrinfo 


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]




[Really Off Topic and Annoying] (was how to edit /etc/fstab)

2001-12-03 Thread Dan Kenigsberg


No matter how right and busy you are, you just CANNOT laugh at someone's
gender, religion or nationality. Since a person's name is usually the product of
these, you MUST NEVER ridicule it.

Excuse me for publishing this remark. I just cannot go down in history as
participant in a list with this kind of language.

Dan.

 
 Mr. Bitch-catchee (or, whatever your name), do bother reading any 
 BASIC introduction to Linux (e.g. Running Linux by Mr Matt Welsh).
 Do not, under ANY circumstances, muck about with fstab until after
 you have digested in fact and fiction the above literary creation, as
 well as its apposite, L. Network Admin Guide.
 
 Flamer/Cabal NON-leader
 

=
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: PnP problem

2001-11-27 Thread Dan Kenigsberg

If anyone care (I guess not too many), I figured out my modem problem:
for some reason, setserial /dev/ttyS2 autoconfig decided to configure irq 10
for that device. Forcing setserial /dev/ttyS2 irq 4 cured the symptoms.

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]




PnP problem

2001-11-26 Thread Dan Kenigsberg

Hello.

Almost three years have past since I broke my teeths and managed to configure my
ISA PnP modem with Linux. 

A couple of days ago I upgraded from RedHat7.0+ to 7.2, and among various
annoyences, the modem stopped working.

It seems that it is found by the system (see /proc/isapnp:
Card 1 'USR3031:U.S. Robotics 56K FAX INT' PnP version 1.0
  Logical device 0 'USR3031:Unknown'
Device is active
Active port 0x3e8
Active IRQ 10 [0x2]
Resources 0
  Priority preferred
  Port 0x2f8-0x2f8, align 0x7, size 0x8, 16-bit address decoding
  IRQ 3,5,7,10,11,12,15 High-Edge
  Alternate resources 0:1
Priority acceptable
Port 0x3f8-0x3f8, align 0x7, size 0x8, 16-bit address decoding
IRQ 2/9,3,4,5,7,10,11,12,15 High-Edge
  Alternate resources 0:2
Priority acceptable
Port 0x3e8-0x3e8, align 0x7, size 0x8, 16-bit address decoding
IRQ 2/9,3,4,5,7,10,11,12,15 High-Edge
  Alternate resources 0:3
Priority acceptable
Port 0x2e8-0x2e8, align 0x7, size 0x8, 16-bit address decoding
IRQ 2/9,3,4,5,7,10,11,12,15 High-Edge

but not as I so labouriously defined in /etc/isapnp.conf
# $Id: pnpdump.c,v 1.18 1999/02/14 22:47:18 fox Exp $
# (DEBUG)
(READPORT 0x0203)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING

(CONFIGURE USR3031/3386422446 (LD 0

#   Start dependent functions: priority acceptable
#   Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x03e8
# Maximum IO base address 0x03e8
# IO base alignment 8 bytes
# Number of IO addresses required: 8
 (IO 0 (SIZE 8) (BASE 0x03e8))
#   IRQ 2, 3, 4, 5, 7, 10, 11, 12 or 15.
# High true, edge sensitive interrupt (by default)
 (INT 0 (IRQ 4 (MODE +E)))

 (NAME USR3031/3386422446[0]{U.S. Robotics 56K FAX INT})
 (ACT Y)
))
# End tag... Checksum 0x00 (OK)

# Returns all cards to the Wait for Key state
(WAITFORKEY)


When the old kernel executed the serial driver it looked like:

Oct 29 11:44:21 localhost kernel: Serial driver version 4.27 with MANY_PORTS
MULTIPORT SHARE_IRQ enabled
Oct 29 11:44:21 localhost kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Oct 29 11:44:21 localhost kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
[ NO third line for the modem!! - D. K.]

But now it is:

Nov 27 00:12:51 localhost kernel: Serial driver version 5.05c (2001-07-08) with
MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
Nov 27 00:12:51 localhost kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Nov 27 00:12:51 localhost kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
Nov 27 00:12:51 localhost kernel: ttyS02 at port 0x03e8 (irq = 10) is a 16550A

yet none of the serials show in /proc/interrupts, and irq 10 is taken:
   CPU0   
  0: 200366  XT-PIC  timer
  1:   5662  XT-PIC  keyboard
  2:  0  XT-PIC  cascade
  5:  0  XT-PIC  usb-uhci
  8:  1  XT-PIC  rtc
  9:   3019  XT-PIC  es1370
 10: 65  XT-PIC  eth0
 12:   5750  XT-PIC  PS/2 Mouse
 14: 227102  XT-PIC  ide0
 15:390  XT-PIC  ide1
NMI:  0 
ERR:  0


Can someone lead me out of this darkness?

Dan.

(sorry about the awfully late hour)


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




[OFF TOPIC] https with Perl

2001-11-20 Thread Dan Kenigsberg

Hi List (excluding three of you whom I already asked personally).

I would like to mechanize my accesss to the internet site of my bank, using a
Perl script.

It took me a while, but I finally got the perl modules that are required to do
https. If I'm not mistake these are Crypt-SSLeay IO-Socket-SSL and Net_SSLeay.

For sites that require no identification, this is enough. But for places (like
my bank) where I have to authenticate myself, I get all kinds of error messages
(see below). 

Does anyone know how I should introduce myslef to the server in https using
Perl? A pointer to a working example would be great, and so would an RTFM.

Dan.

Error message from one site:

   HTTP/1.1 401 (Unauthorized) Authorization Required
   Connection: close
   Date: Tue, 20 Nov 2001 11:47:11 GMT
   Server: Apache/1.3.14 Ben-SSL/1.42 (Unix) PHP/4.0.3pl1
   WWW-Authenticate: xxx
   Content-Type: text/html; charset=iso-8859-1
   Client-Date: Tue, 20 Nov 2001 11:48:33 GMT
   Client-Peer: 134.58.189.79:443
   Client-SSL-Cert-Issuer: xxx
   Client-SSL-Cert-Subject: xxx
   Client-SSL-Cipher: DES-CBC3-SHA
   Client-SSL-Warning: Peer certificate not verified
   Title: 401 Authorization Required
   
   !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN
   HTMLHEAD
   TITLE401 Authorization Required/TITLE
   /HEADBODY
   H1Authorization Required/H1
   This server could not verify that you
   are authorized to access the document
   requested.  Either you supplied the wrong
   credentials (e.g., bad password), or your
   browser doesn't understand how to supply
   the credentials required.P
   HR
   ADDRESSApache/1.3.14 Ben-SSL/1.42 Server at A HREF=mailto:xxx
   /BODY/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]




Another make question

2001-11-19 Thread Dan Kenigsberg

Is there a makefile variable carrying the name of the current/initial
makefile?

I mean something like

cat foo.mk
all:
echo $(MAKEFILE_NAME_FICTITIOUS_VAR)
^D

$ make -f foo.mk
/home/moshe/foo.mk


=
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: C++: Problem with overloading a constructor when splitting a

2001-11-18 Thread Dan Kenigsberg

 
 
 On Sun, 18 Nov 2001, Shaul Karl wrote:
 
   you have put an inline function inside a '.cc' file. since it is inline,
   it will NOT be included in the object file 'base.cc', and thus, during
   link, there base constructor will be undefined. this is your bug - not
   g++'s.
  
   fixes:
  
   1. move the inline function into the header file.
   2. make the function not 'inline'.
 
  Are there no other options? In particular, one that is both inline and
  with split files? (inline for speed and splitting the src for
  readability)
 
 by definition - no. you split source - you can't do inline. inline works
 if you put it in the header file. that's the idea of inline - copying the
 code to all other sources, rather then having a real function in the
 resulting object file.
 

This may seem an ugly feature of C++, but in fact it is better than the C
counterpart - macros. In fact, writing the implementation of inline functions
in header file is a beautiful gem, comparing to writing the implemetation of
calss templates in header files. Yuck.


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]




how can I eject my cdrom?

2001-10-13 Thread Dan Kenigsberg

Hi.

I just received a (probably badly burnt) cdrom that I wanted to check out.

After a mount /mnt/cdrom I got
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
   or too many mounted file systems
   (aren't you trying to mount an extended partition,
   instead of some logical partition inside?)

which might be true indeed, but since then I cannot eject the disk - not by
eject /mnt/cdrom, not by hand, nor by screwdriver.

All I get is 
eject: device name is `/mnt/cdrom'
eject: expanded name is `/mnt/cdrom'
eject: `/mnt/cdrom' is not mounted
eject: `/dev/cdrom' can be mounted at `/mnt/cdrom'
eject: `/dev/cdrom' is not a multipartition device
eject: trying to eject `/dev/cdrom' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: trying to eject `/dev/cdrom' using SCSI commands
eject: SCSI eject failed
eject: trying to eject `/dev/cdrom' using floppy eject command
eject: floppy eject command failed
eject: trying to eject `/dev/cdrom' using tape offline command
eject: tape offline command failed
eject: unable to eject, last error: Invalid argument

The relevant line in fstab is
/dev/cdrom  /mnt/cdrom  iso9660 noauto,user,ro   0 0

Any idea how to let my cd go? (without rebooting, that is)

Dan.


P.S. I know that at least one member of this list suspects that I inserted a
5.25 floppy into my cd drive. I can assure him that this is not the case.



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




Re: how can I eject my cdrom?

2001-10-13 Thread Dan Kenigsberg

Few details I skipped are:
- the cdrom used to work fine, so it ain't no symlink problem.
  when I tried to mount it it made a 'click' and locked the tray, so electricity
  is flowing fine.
- The bloudy thing was never mounted successfully. for umount I get:
  umount: /mnt/cdrom is not mounted (according to mtab)

So, anyone knows of an unlock cdrom command line?

Thanks,
Dan.

 
 On Sat, Oct 13, 2001, Dan Kenigsberg wrote about how can I eject my cdrom?:
  which might be true indeed, but since then I cannot eject the disk - not by
  eject /mnt/cdrom, not by hand, nor by screwdriver.
 
 I'm assuming your /dev/cdrom file is ok. What is it linked to? E.g., if
 your you have IDE CD-ROM drive connected as the master of the second IDE
 interface, then /dev/cdrom should be a symbolic link to /dev/hdc (or be
 a device with the same major/minor as /dev/hdc).
 
  The relevant line in fstab is
  /dev/cdrom  /mnt/cdrom  iso9660 noauto,user,ro   0 0
  
  Any idea how to let my cd go? (without rebooting, that is)
 
 Did you remember to unmount the drive first? check (with mount) that it
 is no longer mounted.
 
 After the CD is not busy and not mounted, you should even be able to eject it
 with the eject button that most CD drives have. Did you try that?
 
  P.S. I know that at least one member of this list suspects that I inserted a
  5.25 floppy into my cd drive. I can assure him that this is not the case.
 
 Yes, that was my first suspicion ;)
 Dan, what did you stick into the drive this time?? :)
 
 
 -- 
 Nadav Har'El|Saturday, Oct 13 2001, 27 Tishri 5762
 [EMAIL PROTECTED] |-
 Phone: +972-53-245868, ICQ 13349191 |Early bird gets the worm, but the second
 http://nadav.harel.org.il   |mouse gets the cheese.
 


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

2001-10-10 Thread Dan Kenigsberg

Thanks, Oleg  Nadav.

I'm embarrassed to admit I should have RTFMITLSACM (i.e. including the last
section about common mistakes)

Dan.

 
 On Wed, Oct 10, 2001, Oleg Goldshmidt wrote about Re: LaTeX:
  Dan Kenigsberg [EMAIL PROTECTED] writes:
   Let's say I want to replace the 'Hell' string in that eps with a LaTeX
   expression such as 'Heaven'. Now what is wrong with this:
   \begin{document}
   \psfrag{Hell}{Heaven}
   \includegraphics{test.eps}
   \end{document}
  
  I am not sure. it seems it should work, but it doesn't. Using
  
  \psfrag{Hello}{Heaveno}
  
  does the trick, apart from changing the font size. Of course, the
  documentation of psfrag says it is bug-free, which is suspicious...
 
 It says it as a joke... They say Well, of course we're kidding, and
 more oppologies about the ugly postscript tricks they had to use.
 
 The documentation (/usr/share/texmf/doc/latex/psfrag/pfgguide.ps, at
 least in Redhat 7.1) describes the replaced strings as tag words, composed
 of unaccented letters and numbers. It probably wasn't meant for substring
 substitution, but rather for you to use a word like, e.g., sinx inside
 the figure, and then replace it by a nice latex sin(x).
 
 The manual seems to suggest something even stricter: the tag should be
 the entire string inside the parantheses before a show (or similar
 commands) - perhaps it can't even be a word inside a bigger sentence!

Indeed. It says so clearly, and I quote PSfrag can only replace entire strings,
not just parts of one.

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]




LaTeX

2001-10-09 Thread Dan Kenigsberg

Is anyone around familiar with LaTeX's psfrag package?

I thought I followed all the rules, yet it does not seem to work.

test.eps is:
%!PS-Adobe-2.0 EPSF-2.0
%%BoundingBox: 0 0 100 20
%%EndComments
/Times-Roman findfont 24 scalefont setfont
0 0 moveto
(Hello) show
showpage

Let's say I want to replace the 'Hell' string in that eps with a LaTeX
expression such as 'Heaven'. Now what is wrong with this:

\documentclass{article}
\usepackage{graphics}
\usepackage{psfrag}

\begin{document}
\psfrag{Hell}{Heaven}
\includegraphics{test.eps}
\end{document}


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]




Linux-friendly CDR

2001-06-27 Thread Dan Kenigsberg

I would like to buy a Linux-friendly CDR.

What would you recommend?


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

2001-04-16 Thread Dan Kenigsberg

I would like to thank both you and your unix guru.
I downloaded and compiled antiword on a Solaris box without any problem. It
indeed seems cool.

I feel obliged to tell here that Nadav's bidiv is much better than rev for
viewing mixed English/Logical-Hebrew text files.
Check ftp://ftp.ivrix.org.il/pub/ivrix/src/cmdline/bidiv-1.2.tgz .

Thanks (really),

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]




<    1   2