Re: undeterministic zip?

2005-05-09 Thread Christoph Bugel
Ira Abramov wrote:
[EMAIL PROTECTED] ~]$ tar zcf - directory |md5sum
484497aa0d7e1bb391a73cc8b42acce2  -
[EMAIL PROTECTED] ~]$ tar zcf - directory |md5sum
552bbc02b0b2b5b142a425d476f0d5c0  -
[EMAIL PROTECTED] ~]$ tar zcf - directory |md5sum
792afdaf2be839dfccc1c91dfd4f726b  -
what the fsck is going on?! is gzip adding some odd time stamp or
something?!
Indeed. Seems to be fixed with gzip -n
$ tar cf - directory | gzip -n | md5sum
59d0f9e8ae05efbd55039010c3461878 *-
[EMAIL PROTECTED] ~
$ tar cf - directory | gzip -n | md5sum
59d0f9e8ae05efbd55039010c3461878 *-
[EMAIL PROTECTED] ~
$ tar cf - directory | gzip -n | md5sum
59d0f9e8ae05efbd55039010c3461878 *-
(sorry for the w2k thingy)
=
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: K8 upgrade path?

2004-11-13 Thread Christoph Bugel
Ira Abramov wrote:
maybe I have a general problem with memory management? it sometimes also
takes 5-6 seconds for vim to allocate and run when forked (usually from
within mutt...)
I once had a slow loading vim, and fixed it by
with vim -X. Didn't have anything to do with memory though.
=
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: fork on windows?

2004-05-23 Thread Christoph Bugel
Muli Ben-Yehuda wrote:
That's not entirely accurate. fork() is several things, including a
POSIX API (specification) and a system call implementation. There's
nothing that says you can't implement a fork() wrapper on windows that
will conform to the fork API while being implemented using windows
APIs internally. 

That is not to say I have any idea what cygwin/mingw actually do. 
---
I just tested the following in cygwin:
it compiles, and printf hello twice :)
(even without includes)
int main(){
fork();
printf(hello\n);
return 0;
}

=
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: Offline folders

2004-04-29 Thread Christoph Bugel
Tal Achituv wrote:
I once saw a GNU program that synced directories, and I recall it was quite powerful 
(I read about it somewhere, never used it before).
How do you guys keep the same folder both on your laptop and on your desktop? (Preferably cross-platform solutions... and conflict resolution (or at least detection) is a must)
have a look at unison.
it is cross platform, and synchronizes two directories

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

2004-03-31 Thread Christoph Bugel
Dan Kenigsberg wrote:

 

BTW: I am running Mandrake 9.2 (Kernel 2.4.22-28) on a Compaq Presario 2540 EA 
Laptop.  


$ gphoto2 --list-cameras |grep Canon |grep A70
Canon PowerShot A70
Canon PowerShot A70 (PTP)
So you would be able to read your photos from Linux.

[OFFTOPIC:]

I have that model, and I'm happy with it,
it works without problem on my computer.
I also use ghpoto2 to download fotos to the computer.
It would have been even nicer if the camera had
a usb mass storage interface (so that I wouldn't have to
install gphoto in the first place, so I could read it from
'any' computer without installing software first, and so I
would be also able to write file *to* the camera.
But it isn't important.
What I liked about the camera is that it has room for 4 batteries
(and it works with rechargebles ones)


=
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: bidirectional file transfer software?

2004-03-04 Thread Christoph Bugel
guy keren wrote:

i am looking for a file-transfer program (for linux), which can run one
upload and one download simultaneously, on a _single_ TCP connection (sort
of the TCP equivalent of the BModem protocol used on BBS-es years ago).
i assume this will need to be a client+server application (since standard
file transfer protocols such as ftp are not 'full-duplex' in this sense).
The SFTP protocol (see OpenSSH, /usr/bin/sftp) works over
a single connection, and it lets you do anything
(filesystem related) simultanously. uploading and
downloading for example.
Note that the protocol probably supports all your needs,
but maybe the commandline utility doesn't.. 
=
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: Discountbank.net web site

2004-01-26 Thread Christoph Bugel
Alex Gontmakher wrote:

Hi everybody,

If anybody of you have tried to access the Discountbank.net web site
(for online account access), you would surely notice that it accepts
connections originated from Internet Explorer only. That's quite a
problem for Linux users - it wouldn't even try to communicate with
Mozilla ;-(.
..

So, if you want to get this site, and probably others, to work with
Mozilla browsers, write me and we'll roll this on!
Count me in too.

I also wrote to them a long time ago, and got a polite but
negative answer.


=
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: linux compatible online maps site?

2003-09-25 Thread Christoph Bugel
On 2003-09-25  Ittay Dror wrote:
 On Thu, 2003-09-25 at 16:27, Alon Barzilai wrote:
  hi,
  
  try emap ( http://www.emap.co.il )
  It works for me with mozilla 1.4.
 
 upgraded to the latest mozilla and emap (still) doesn't work for me.
 afaik there's a problem in flash-javascript interaction in mozilla.

For me it works (Thanks for the links :)

- Mozilla 1.4  (Gecko/20030624)
- Shockwave Flash 5.0 r47
- Java(TM) Plug-in Blackdown-1.4.1-01



=
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: Disk errors.

2003-09-21 Thread Christoph Bugel
On 2003-09-21  David Harel wrote:

 All errors were of the type: { DriveReady SeekComplete Error }
 What is your estimation on the severeness of those errors, what is your 
 recommendation to treat them and which tools do you recommend to fix the 
 problems.

My uneducated opinion is that it's a bad sign, and that you should
think of replacing your hard drive, or at least make regular
backups.. I had such errors a long time ago, and I think that
crashes I had at the time were caused by it. (I think the kernel
doesn't (want to) guarantee stability once the hardware fails at
such a level. can anyone correct me please if I'm wrong?).
eventually (months later, maybe) my HD stopped working and I
replaced it.

BTW, I see similar errors on my cdrom sometimes, but I guess those
are errors of a particular cdrom, and not of the drive, so I don't
worry about them.

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: partially OT: linux vcr

2003-09-02 Thread Christoph Bugel
On 2003-09-02  Gilad Ben-Yossef wrote:
 On Tuesday 02 September 2003 10:05, Erez Doron wrote:
  hey
 
  I'm looking into building a linux vcr
  (i will probably use it also as a server/router/desktop).
 
  the software right now is not the issue, the hardware is.
  the hardware should be:
  1. small pc, size of a Set-Top-Box ( = 'memir' )
  2. very quiet. so i can sleep with it working in the same room.
  3. input tuner
  4. video out
  5. remote control
  (not too expensive, available in tel-aviv area)
  important: all must be supported by linux.
 
 Yout need one of those nifty mini-ITX based systems, like this one: 
 http://www.mini-box.com/m100.htm 
 
 There are others which are cheaper, btw. But I forgot where I saw them.

Or maybe a laptop? They can be relatively quit as well.


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



SD%^Sa876 H(* (was: Re: )

2003-08-31 Thread Christoph Bugel
DF(*760a9w8en, 0f9sudy n, asdfa98s jk98s7f
ak0sd9fu1394uf u;aoweijf sd8jf 09a8sdfj 09a8sdfj098
asdf,asd fa0s9d8kf asd!  098kdf0-a9
8s7d09f87ya07(*%h(A856h 98760JD6 F*)(zsDJ7F-0.  

just my 2 agorot!

Christoph



=
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: Script refresh

2003-08-15 Thread Christoph Bugel
On 2003-08-15  Tzahi Fadida wrote:
 i use an  when calling these scripts from the main script.
 i don't know, maybe they are refreshed and there is some other
 problem: could it be that if i open a file for reading and
 don't close it and even if this subscript is finished, because
 it was run in the context of the parent script then the inode
 is still linked?


Maybe you should post a small reproducable example script.

(Since you mention the '', maybe it's old instances of the
script that are still running??)

I don't know how your script works, but if have a script that
calls /your/perl/script.pl every 15 seconds, then if you modify
your perl script, the modified version will be executed the next
time..

try running this script:

echo hi  /tmp/foobar
while true; do cat /tmp/foobar; sleep 1; done

and while it is running, modify the /tmp/foobar file.
you will see that the new content is seen..
no file cacheing, no magic.



=
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: something to print

2003-07-24 Thread Christoph Bugel
On 2003-07-24  Nadav Har'El wrote:

 Believe it or not, but wearing sandals *with* socks is actually quite
 common in the US...

Also in the Netherlands.. (at least I did, as a kid ;)

=
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: disk on key

2003-07-06 Thread Christoph Bugel
On 2003-07-06  Meir Michanie wrote:
 I have a 8mg diskonkey. It came with several partitions, the one for
 storage was /dev/sda4
 
 run fdisk -l /dev/sda to see the partitions structure.
 
 then try mounting /dev/sda[1,2,3,4,...]

My 64MB memory bar came with several partitions, but nothing seemed to
work.  I erased everything and created my own partitions with fdisk, and
then formatted them with mk*fs.

Also I recompiled my kernel with support for ide-scsi and USB mass
storage. (I usually prefer recompiling over dealing with modules..)

After that it worked nicely.

BTW, when I tried to use it in knoppix it hanged the OS..


=
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: API for reading M$ word documents on Linux???

2003-07-06 Thread Christoph Bugel
On 2003-07-06  Ron Gidron wrote:
 Is there an API out there, ideally I would like to call it from Perl,
 that can help me grep for keywords on Microsoft word documents? 

Maybe try 'antiword'. It's a commandline utility that reads a m$word file
as input, and creates a nice ascii text file as output.



=
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: Cross platform code

2003-07-03 Thread Christoph Bugel
On 2003-07-03  Voguemaster wrote:

 The problem is very basic: Linux and Win32 have different include files
 for some things and placing #include directives inside #ifdef doesn't
 do the trick (it nullifies the #ifdef possibly ?).

What exactly is not working?
For me it always worked just fine like this:

#ifdef WIN32
#include windoze.h
#else
#include unistd.h
#endif



=
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: Maximum file size on IA32

2003-06-25 Thread Christoph Bugel
On 2003-06-25  Honen, Oren wrote:
 Hi,
 
 I'm using a graphical application on 32bit RH Linux. The user saved
 files are getting larger and larger. Currently the largest file is at
 about 2GB . The vendor of the application says that larger files will
 require the 64bit version which he doesn't have on Linux. The files are
 saved on NFS.
 
 I know changing ext2 block size can enable you to save larger files than
 2G so their answer doesn't sound reasonable. Beside, even if they had

I have a 5.4G file on an ext2 filesystem, no special block size was needed.

Not that it proves anything. I'll first have to read the links from Muli's post.

=
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: Captain Learns Linux

2003-06-23 Thread Christoph Bugel
On 2003-06-22  Tzafrir Cohen wrote:

  - I use xterm -fn 8x13. (well actually, I added XTerm*font1: heb8x13
to my .Xresources, and now when I choose the xterm 'Unreadable'
font from the xterm menu, I get the hebrew font :)
 
 XTerm*fontMenu*font1*Label: ReadableHebrew

Ah, thanks, that is even better :)
(I'm not exactly sure how these X resources work, I glanced at the
xterm manpage and came up with XTerm*font1, but I couldn't figure out
how to change the name of the font as your example does)
Now, if I could change the xterm font with my keyboard instead of
going to the fontMenu with my mouse, it would be even cooler..

  - I added LESSCHARSET=latin1 to my environment (otherwise less
refused to show the non-ascii characters)
 
 Because you refuse to let your environment include Hebrew characters.

Ok, I get your point now. When I do export LC_ALL=he_IL, less works
fine without needing the LESSCHARSET thing.

 How about typing Hebrew in anything but vim?
 
 (Actually, with most program nowadays: mozilla, QT/KDE = 2, gtk =2,
 OpenOffice, this is no longer an issue. Still Hebrew environment vars
 are a good hint to sane programs defaults, e.g: fonts of gtk programs)

I wonder why that is so. does it mean that the locale thing is being
deprecated, or are all those programs wrong ignoring the locale?
(probably this is a stupid question anyway, because I'm too ignorant
of these topics, please don't bother to answer :)



=
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: Captain Learns Linux

2003-06-23 Thread Christoph Bugel
   - I added LESSCHARSET=latin1 to my environment (otherwise less
 refused to show the non-ascii characters)
  
  Because you refuse to let your environment include Hebrew characters.
 
 Ok, I get your point now. When I do export LC_ALL=he_IL, less works
 fine without needing the LESSCHARSET thing.

hmm.. LC_ALL=he_IL is too much..
I don't want to see hebrew in the output of ls -l :)

I'll try export LC_CTYPE=he_IL for a while

=
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: Captain Learns Linux

2003-06-22 Thread Christoph Bugel
On 2003-06-19  Tzafrir Cohen wrote:
 On Thu, Jun 19, 2003 at 11:57:52AM +0300, Christoph Bugel wrote:
 
  Naturally, I wanted to write my email in *hebrew*.  I must
  admit that I didn't know how to do this in my favorite email
  client: xterm+mutt+vim, 
 
 Need help?
 
 (If so: in what environment do you work, and what is the output of
 'locale'?)

Thanks, I got some tips from Dan Kenigsberg and now I have the basic
stuff working :) Thanks!

summary:

- I use xterm -fn 8x13. (well actually, I added XTerm*font1: heb8x13
  to my .Xresources, and now when I choose the xterm 'Unreadable'
  font from the xterm menu, I get the hebrew font :)
- I recompiled vim with rightleft support
- I added LESSCHARSET=latin1 to my environment (otherwise less
  refused to show the non-ascii characters)
- for some reason I had :set encoding=utf8 in my .vimrc -- had to
  remove that for vim to show hebrew ...
- added a mapping in vim:  map  F12  :set invrl invhk
- added another mapping to filter all vim text through bidiv..
- addded to .muttrc set charset=iso-8859-8-i

BTW, my locale is still C and the above works fine. Is there a
good reason to chanmge it to something else?




=
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 laptop / windows refund?

2003-06-22 Thread Christoph Bugel
Hi,

I am planning to buy a laptop soon, and I will install linux
on it.

Unfortunately it seems to be impossible to buy a brand-name
laptop that doesn't come with windows. This means that I am
being forced, more or less, to pay a sum of money to
microsoft.

rant I feel very strong against paying them money, exactly
because they are counting on people to give in to the pressure
and just pay their tax to the monopoly, so that it can opress
its rivals even more. In today's world I feel that windows is
trying to force itself on me, in various ways. Therefore I
want to use my obvious right not to use it and, obviously, not
to pay an involuntary tax. /rant

I know that at least one person succeeded in getting his money
back, from toshiba:
http://www.netcraft.com.au/geoffrey/toshiba.html 

Personally I do not understand the law issues, so I don't know
how good a case I  have if I would mail the retailer /
manufacturer, and tell them that I am entitled to a refund,
according to the microsoft EULA license agreement.  Does
anyone have an opinion on this matter?  Also, could it be that
this situation is illegal, and that a court of law in Israel
could *require* the retailers/manufacturers to let the
customers buy a machine without an OS?

regards,
Christoph













=
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: Captain Learns Linux

2003-06-19 Thread Christoph Bugel
On 2003-06-19  Aviram Jenik wrote:

 Did you respond, support or protest? We want to know about it! Please notify 
 [EMAIL PROTECTED] so that we can supply accurate statistics and help you 
 amplify your voice.

I just did!

Naturally, I wanted to write my email in *hebrew*.  I must
admit that I didn't know how to do this in my favorite email
client: xterm+mutt+vim, So I had to resort to kde+kmail. That
worked beautifully and easily :).

Thanks!



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



Re: In what ways maildir is probably better then mbox?

2003-04-06 Thread Christoph Bugel
On 2003-04-06  Tzafrir Cohen wrote:
 On Sun, Apr 06, 2003 at 10:43:31AM +0300, Christoph Bugel wrote:
  On 2003-04-05  Tzafrir Cohen wrote:

  I've heard of mbx, but mutt doesn't seem to support it :(.
 
 The coed is there. There is a library (by default: statically
 linked.  Debian has it dynamically-linked, to save at least 3MB of
 disk). I can't attest to the quality of that code, and to its
 adaptibility.

Cool, thanks. I guess it's not a library that comes with mutt.  (grep
-rli mbx mutt-1.4 didn't turn up anything) I'll have a look at
debian.org later.
However, even if I can get mutt to support it, I'll also need
procmail to write to .mbx ...

 With ext2 , and certainly with reiserfs (optimised for many small
 files) maildir operations seem to be faster. Basically: you at least
 know where exatly is every message.

I seem to remember that one of the recent Linux filesystems has
'indexed directories' or something. 
Maybe that would make maildir a good choice.

 However, last time I tried using maildirs with mutt, I just couldn't
 figured out how to navigate between folders. So I gave up and
 returned to maildirs (which was a shame, because this was one of the
 reasons I had prepared a reiserfs partition, and I spent some time
 converting the mailboxes to maildirs).

I tried out a maildir folder once, and it (navigation) seemed to work
just the same as with mbox files. See below for the relevant part of
my .muttrc (I did something that works, and haven't looked at it for
ages :)


set arrow_cursor
set folder=~/mail
set spoolfile = =MBOX
# when in the initial index -- press tab, to get these.
mailboxes `echo imap://exchange:143/INBOX pop://mail.netvision.net.il 
/home/chris/mail/* /home/chris/mail/list/*` 


=
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: In what ways maildir is probably better then mbox?

2003-04-06 Thread Christoph Bugel
On 2003-04-06  Ira Abramov wrote:

 the problems with maildirs are two: the files are tiny and waste too
 much allocation space, and the directories are usually not tree-indexed
 so you have a hash but the keys are again in a linked list rather than a
 tree. Reiser (AFAIK) is the only FS that solves both of these problems,
 and is therefore the best FS for Maildirs.


My current FS is etx3.
Maybe I will experiment with 'loopback mounted reiserfs
maildir' as my new mailbox format :)


=
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: In what ways maildir is probably better then mbox?

2003-04-05 Thread Christoph Bugel
On 2003-04-05  Tzafrir Cohen wrote:

 mbox has two major problems:
 * All the data is in one file (locking problems)
 * there is no index to that file. Thus operations are highly
   inefficient.

.

 mbx is wu's attempt to create a more efficient mailbox format.
 Although they are now working on an improved one.

I've heard of mbx, but mutt doesn't seem to support it :(. I wonder
why there is no widely suppported *indexed* mailbox format.  Every
time I fire up mutt I have to wait several seconds for some mailboxes
to load. (maybe mutt should at least 'cache' its information, so that
once an mbox file is parsed, it stays parsed in memory)

BTW, I tried maildir but it doesn't help much in this respect. not
really surprising, since it's just a directory. jusl like mbox, it
does not have an index. So I am staying with the simpler mbox.

Another solution/workaround would be to change my mail-reading
habits, and keep my mailboxes small, so that my mailboxes will remain
small.  Right now for example I load the entire linux-il mailbox
containing lots of emails (3 seconds at least), just in order to read
the latest mails..


=
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: win2k/xp offline contence and linux

2003-02-27 Thread Christoph Bugel
On 2003-02-26  Eran Mann wrote:
 Shlomi Fish wrote:

 I think the default compilation option of NTFS is read-only and that
 read-write is experimental. To enable it, you need to recompile this
 module. I think.

[...]

 It is marked as DANGEROUS, not EXPERIMENTAL. And IIRC in 2.4.x it's
 actually supposed to eat your partition. I believe in 2.5.x it's
 supposed to be more resonable, but it's still marked DANGEROUS. I
 havn't tried enabling it though...

FWIW, read-write is dangerous, but only if the write action *modifies*
the structure of the filesystem, not when it just modifies the content
of an existing file. It is quite easy to have write acces to unused
space on an ntfs partition, by loopback mounting ext2 on some large
existing ntfs file:

I created in windoze, on a large ntfs partition (that would otherwise
be unused and not writable from linux) a very large file (couple of
gigabytes). Admitted, I can't accesss it from windoze, but who cares
:).  This requires me to mount the ntfs 'rw', but I am careful to not
really write.. (I mount it as root, so usually I feel safe as a
regular user)

I did have to patch my kernel (2.4.20) with the 'new' ntfs driver.
(ntfs-2.x is the new version)

# mount | grep ntfs
/dev/hda1 on /ntfs type ntfs (rw)
/ntfs/do_not_delete on /loopntfs type ext2 (rw,noexec,nosuid,nodev,loop=/dev/loop0)

# grep ntfs /etc/fstab
/dev/hda1   /ntfs  ntfsnoauto,rw 0 0
/ntfs/do_not_delete /loopntfs  ext2noauto,user,rw,loop  0 0

# dmesg |grep -i ntfs
NTFS driver 2.1.0a [Flags: R/W].
ftape v3.04d 25/11/97 for Linux 2.4.20preempt-ntfs
(plus a couple of unicode errors)



=
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: win2k/xp offline contence and linux

2003-02-27 Thread Christoph Bugel
On 2003-02-27  Christoph Bugel wrote:
 FWIW, read-write is dangerous, but only if the write action *modifies*
 the structure of the filesystem, not when it just modifies the content
 of an existing file.

to emphasize: I meant modifying the content, without also changing the size.
(because that would change the structure of the FS)


=
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: open /dev/dsp: Device or resource busy

2003-01-31 Thread Christoph Bugel
On 2003-01-31  [EMAIL PROTECTED] wrote:
 hello there ... 
 im running MDK ver 9 , and while trying to run an app i got this error msg :
 
 
 open /dev/dsp: Device or resource busy 

/dev/dsp is the sound device driver. If some application uses it, another cannot
use it at the same time, as far as I know. If you are running KDE, the kde
itself is using it, so your app can't open the device directly. But you can try
to run your application like this:

$ artsdsp yourapp

Or otherwise you kan kill the 'artsd' daemon (killall artsd), (but then KDE
itself will not make sounds..)



=
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: which TV card?

2003-01-23 Thread Christoph Bugel
On 2003-01-19  Yedidyah Bar-David wrote:

 you can try the '-remote' option of xawtv and see if it works
 better (but much slower, unless on a fast machine).

Thanks for drawing my attention to that option.
My card worked just fine, but with -remote I can now watch 100%
fullscreen, instead of just 95% in overlay mode :).



=
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: Booting with something else instead of /sbin/init

2003-01-22 Thread Christoph Bugel
On 2003-01-22  Michael Sternberg wrote:
 
 Hello
 I'm trying to make kernel to start a different
 application instead of /sbin/init. So, I passing
 init=/bin/sh in kernel command line. I actually
 can see this setting in messages emitted by kernel.
 But from some reason the kernel starts a real
 /sbin/init and ignores my setting.

It should work.. is your /bin/sh statically linked? I think it
should be. (if you can't find out why it doesn't work, rename
your /bin/sh to /sbin/init :)
If there *is* a problem with your /bin/sh, the kernel will try a
few alternatives: (linux/init/main.c)


   /*
 * We try each of these until one succeeds.
 *
 * The Bourne shell can be used instead of init if we are
 * trying to recover a really broken machine.
 */

if (execute_command)
execve(execute_command,argv_init,envp_init);
execve(/sbin/init,argv_init,envp_init);
execve(/etc/init,argv_init,envp_init);
execve(/bin/init,argv_init,envp_init);
execve(/bin/sh,argv_init,envp_init);
panic(No init found.  Try passing init= option to kernel.);




=
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 for a program identical to Exceed

2003-01-19 Thread Christoph Bugel
On 2003-01-19  Grinberg, Hari wrote:
 Hi,
 
 I am seeking for a program work like Exceed on Win2k for RedHat
 Linux shareware or free.

Exceed is an X server. In unix, graphics are based on X anyway, so
you already have the X server installed! You just need to know how it
works.

I don't know what you want to do. If you just want to display a
graphical application on your RedHat display, you don't need to do
anything special (except for setting the $DISPLAY variable on your
remote machine). I would recommed this, because I can't imagine why
you need something more complicated.

on your remote machine define an environment variable
DISPLAY === redhatbox:0.0
and make sure your redhat box allows connections (man xhost or xauth)
and then on your remote machine type the name of your graphical app
and that's it.

If you really want the entire 'desktop environment' of the remote
machine (for some reason), you can run a second X server, next to the
default one on your RedHat box. I'm not very experienced in this, but
my X server usually runs under virtual terminal 7 (ctrl-alt-F7), and
it is simle to start another one under (ctrl-alt-F8), by going to
your console, and typing something like this:

XFree86: startx -- :1.0 -auth /dev/null

(yes I know, the -auth thing is probably wrong..)



=
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: which TV card?

2003-01-18 Thread Christoph Bugel
On 2003-01-18  Shaul Karl wrote:
 On Thu, Jan 16, 2003 at 09:33:04AM +0200, Christoph Bugel wrote:
  
  I bought a Pinnacle TV card (at Kosmos
 
 
   URL please? Just interested to know where to look for staff.
 www.[kc]osmos.co.il doesn't seem fit since it is about optical
 equipment. Or is it the grocery store chain?

Yes, I meant the store chain. Don't think they have a website.
I know that (at least) the store in Ga'ash sells computers too.

=
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: Rename to GNU/Linux

2003-01-17 Thread Christoph Bugel
On 2003-01-17  Dan Armak wrote:
 On Friday 17 January 2003 14:46, you wrote:
  in no place I've seen RMS saying that it should be called GNU/linux
  cause of idles, I might be wrong but I'm preety sure that his most used
  argument is that a lot of gnu programers worked on the system and calling
  it linux gives credit only to the guy who made the kernel,
 
  do you have a written prof to your claim?;)
 
 Yes indeed. See http://www.gnu.org/gnu/why-gnu-linux.html. In there rms 
 explains that distributions should be named gnu/linux to promote the free 
 software philosophy and to make users aware of the history of gnu and linux; 

Also, during the talk at IBM, RMS said that he would not have insisted
on the naming issue, *if* the battle was already won. But since there
are still many dangers lurking (treacerous computing sounded very
scary to me), he thinks it's important to insist that Linux is a
result of an ideological movement to create a FREE operating system,
and not just a nice pice of code written by some cool guy(s). There
was a PLAN, and the plan was started by GNU and the GPL.  (The above
are my words, not his, this is NOT exactly what he said)

Personally I find the term GNU/Linux somewhat unpractical. Maybe
that's not a good excuse if it is really important, Haven't figured
that out for myself yet.

Any way, I do use the term GNU/Linux, especially in the written word.
The name of a mailing list is a written word, so I think it would be a
good idea.


On 2003-01-17  Shlomi Fish wrote:
 You can also call yourself the Jerusalem Free Software Club (JFSC) to
 underscore you approve of FreeBSD and friends as well.

Good idea :) And not only FreeBSD of course but 95% of the software
that comes with any GNU/Linux distribution is not a part of linux, but
just 'Free software'




=
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: proftpd and file unseen

2003-01-15 Thread Christoph Bugel
On 2003-01-15  Ben-Nes Michael wrote:

 I tared two different file to directory.
 one file size was 75 MB and the second 2.4 GB

I don't understand, what exactly is supposed to be in your tar file?
try

tar -tf your_file.tar

and tell us what it prints
I guess ftp works just fine, but you create the tar file correctly

 The server is ProFTPD Version 1.2.5
 
 Maybe it cant read huge files ?

I can't imagine its a bug in ftp..

=
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: proftpd and file unseen

2003-01-15 Thread Christoph Bugel
On 2003-01-15  FW Admin wrote:
 ext2 2Gb file size limitation ?

oops, I didn't notice that detail. sorry for my previous mail.. 

This may hint to the root of the problem. I once tried to use cygwin
tools to create large files, and most of the tools (ls, cat, dd)
broke above 2GB or 4GB. (and I had to resort to cmd.exe)

However, I Just checked: on *my* system I managed to create a file of
+- 3GB on ext2.




=
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: proftpd and file unseen

2003-01-15 Thread Christoph Bugel
On 2003-01-15  Ben-Nes Michael wrote:
 Hi
 
 tar tfzv 20030115-sites.tar.gz work just fine :)
 
 By the way to go around it just downloaded the file using SMB and got it (
 from samba to win98 ).

hmm, ok, I tried to ftp a 3GB file
but already my ftp commandline client stops me:

ftp put bigfile
local: bigfile remote: bigfile
local: bigfile: File too large

I wonder where this limitation comes from..

=
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: which TV card?

2003-01-15 Thread Christoph Bugel
On 2003-01-15  shlomo solomon wrote:
 Hi,
 
 After not succeeding in getting the FlyVideo2000 (saa7134) to work,
 I've decided to get a bt8** card - in the hope that it'll be more
 straightforward to set-up. 

I bought a Pinnacle TV card (at Kosmos, 360 NIS, but out of stock now)
It's a bt8** card. Works great with bttv/xawtv. Comes with a remote
that plugs into the serial port, and which works great with lirc.

=
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: Survey (was: article on ynet)

2003-01-14 Thread Christoph Bugel
On 2003-01-14  Eli Marmor wrote:
 My desktop environment management is:
 -
 1. Only KDE.
 2. I prefer KDE.
 3. Both.
 4. I prefer Gnome.
 5. Only Gnome.
 0. None.

Wait! As an fvwm2 user (at home) I feel this survey is 'offensive'
There is no right answer for me.. If I answer 'None', I am actually
saying that 'fvwm2 is not a desktop environment'. Not that I fell
stringly one way or another, but why force me make a statement on
that..

I am sure this is an oversight, please add an option for 'Other'.
(just a guy who was bitten too often by annoying surveys)

=
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: Survey (was: article on ynet)

2003-01-14 Thread Christoph Bugel
On 2003-01-14  Eli Marmor wrote:

 Just to clarify:
 
 The meaning of the answer None included other.

OK :) 
See below for my survey answers


1 my home machine:

 My desktop environment management is:

0: None/Other (fvwm2)

 Reasons (please check all that apply):

G2: I've got used to this desktop.
G3: I have a lot of existing configurations/customizations for this
desktop, and/or existing investments.
H:  Another reason (PLEASE DETAIL): It lets me do most of what I want, and all
my personal configuration settings are in one single file that I can easily
understand, easily modify (even without GUI), easily take with me to another
machine, etc. I makes me feel I am in control of the machine... (as opposed to
kde/* of .gnome/* trees which I am (not yet) able to grasp). Also, it lets me
do things that I don't know how to do in KDE/Gnome (even though I'm sure it's
possible). for example, I created a button to start an xterm without borders
(HandleWidth=0), so that it is, in effect a true fullscreen xterm. something I
cannot achieve with Konsole right now..



2 my machine at work

 My desktop environment management is:

2: I prefer KDE.

 Reasons (please check all that apply):

H:  Another reason (PLEASE DETAIL)
I'm not sure why.. maybe because I want to spend less time configuring it than
my home machine, and the default KDE settings are more convenient when I don't
want to waste time with ti. Never used gnome for a long time, usually I get
stuck in the beginning, maybe it's not intuitive enough for me. I do use gnome
apps, of course.



3 machines I installed for my family

 My desktop environment management is:

2: I prefer KDE.

 Reasons (please check all that apply):

C1: Similarity to Windows GUI.



=
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: 99.6% idle 5.16 load

2003-01-13 Thread Christoph Bugel
On 2003-01-13  Gabor Szabo wrote:

 Now why does the machine not responding sometimes ?
 I guess at this point I have to go back to man ps.

Since NFS was mentioned in this thread, and since I can only guess,
I will say that I once experienced delays when typing commands into
my shell, and it turned out it was because my PATH contained a
directory that was on a (not responding) NFS.


=
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: 99.6% idle 5.16 load

2003-01-13 Thread Christoph Bugel
On 2003-01-13  Christoph Bugel wrote:
 On 2003-01-13  Gabor Szabo wrote:
 
  Now why does the machine not responding sometimes ?
  I guess at this point I have to go back to man ps.
 
 Since NFS was mentioned in this thread, and since I can only guess,
 I will say that I once experienced delays when typing commands into
 my shell, and it turned out it was because my PATH contained a
 directory that was on a (not responding) NFS.

and or my LD_LIBRARY_PATH. etc, etc.

=
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: Dealing with low disk space

2003-01-12 Thread Christoph Bugel
On 2003-01-12  Shoshannah Forbes wrote:
 A newbie question: when attempting to install a large
 application (OpenOffice) it refused due to low disk space.
 
 Is there any utility out there that can help me figure out
 what is using all my HD space and what can be removed safely,
 without making a mess?

I usually do it manually: cd into a some directory and list
everything, sorted by disk usage:

cd somewhere
du -sk * | sort -n

Usually I just delete my own files, but sometimes I do it as
root, deleting stuff that I *know* I can delete safely. 


=
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: Dealing with low disk space

2003-01-12 Thread Christoph Bugel
 du -sk * | sort -n

And you also probably want to use 'df -k' [1] to see how much
free space you have, listed per partition. If your partitoin
is too small to begin with, you can tell OpenOffice to
install itself into a different location.

[1] or df -H, as I just learnt from Oded's post :)

=
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: Make files and environment

2003-01-12 Thread Christoph Bugel
On 2003-01-12  Oded Arbel wrote:
 Hi list.
 
 not really alinux question, but if you please -
 I'm writing a Makefile to build some project, and it needs to get some data 
 from environment variables. specificly some variables that are initialized 
 from a profile.d bash file. now I know that I can access environment 
 variables from make using ${NAME}, but the problem is that sometimes the 
 Makefile is run with no environment set - specificly, when being invoked as a 
 post-commit script in CVS when called by a windows CVS client. is it possible 
 to somehow 'source' a specified bash file to export its environment into a 
 Makefile from withing the make process ? 
 Everything I tried so far failed (which mostly involved treating a Makefile as 
 a glorified bash script - which apparently it isn't).

Maybe the clean way is to do it from the 'post-commit script'?


=
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: RMS Lecture : Cab Ride

2003-01-12 Thread Christoph Bugel
On 2003-01-12  Shachar Shemesh wrote:
 I have semi official information that reveals that bus number 49 from 
 Ramata Aviv to Petach Tikva should cost about 8 NIS.

The IBM building is also some 10 or 15 minutes walk from the
Jabotinski / Geha junction. And getting there is quite easy with
public traffic, IIRC, bus/sherut number 51, 66, and probably
lots of others. (dont know about traffic jams though...)

   Petach-Tikva

|
jezira-|
|
  IBM   |
|
|=geha==
|
|
|
|
jabotinski

  TelAviv

=
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: RMS Lecture : Cab Ride

2003-01-12 Thread Christoph Bugel

On 2003-01-12  I wrote:
 The IBM building is also some 10 or 15 minutes walk from the

On second thought, make that 20 minutes. Your mileage may vary :)

=
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: Dealing with low disk space

2003-01-12 Thread Christoph Bugel
On 2003-01-12  Oded Arbel wrote:
 Side note to Amir Tal: 
 Isn't this what IGLU is all about - getting into heated discussions over 
 simple issues ?
 ;-)

ok, here goes :)

du -sk * will ignore files/directories that start with a dot..
and these can sometimes be large too. (for example .ccache)
So I ended up with a kludge like this: (trying to exclude the .. directory...)

alias dus='du -sm * .[^.]* ..?* . | sort -n'


=
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: Ha'aretz article regarding RMS

2003-01-12 Thread Christoph Bugel
On 2003-01-12  Arik Baratz wrote:
 Terminology:
 
 I use f/b for Free as in free beer or the Hebrew HINAM and f/s
 for Free as in free speech or HOFSHI in Hebrew.

The word HOFSHI seems to be popular as the hebrew translation
of 'free as in speech', but I think when people hear TOCHNA
HOFSHIT they are likely to associate it with the price and not
necessarily think about the freedom.

In the sentence KNISA HOFSHIT it means free beer too.

(I don't have a better alternative though..)


=
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: On Linux, cp new_version old_version while old is running is harmless

2003-01-01 Thread Christoph Bugel
 Time for testing:
   [oron@mercury test]$ cp /bin/sleep mysleep
   [oron@mercury test]$ ./mysleep 100 
   [1] 7150
   [oron@mercury test]$ cp /bin/sleep mysleep
   cp: cannot create regular file `mysleep': Text file busy
 
 Just as any sane Unix system (of course you can rename away 'mysleep'
 and do the 'cp' which will create a *new* file with the same name.)


interesting.. I didn't know that cp overwrites the existing inode.
but indeed it does, it simply *truncates* the target file:

$ strace cp /bin/sleep mysleep  21 | grep open.*sleep
open(/bin/sleep, O_RDONLY|O_LARGEFILE) = 3
open(mysleep, O_WRONLY|O_TRUNC|O_LARGEFILE) = 4

indeed, rm or mv will 'fix' the problem.


=
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: On Linux, cp new_version old_version while old is running is harmless

2003-01-01 Thread Christoph Bugel
 open(mysleep, O_WRONLY|O_TRUNC|O_LARGEFILE) = 4

and if mysleep is still running:

open(mysleep, O_WRONLY|O_TRUNC|O_LARGEFILE) = -1 ETXTBSY (Text file busy)

=
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: On Linux, cp new_version old_version while old is running is harmless

2003-01-01 Thread Christoph Bugel
On 2003-01-01, Ehud Karni wrote:
 On Wed, 1 Jan 2003 10:10:35 +0200, Christoph Bugel [EMAIL PROTECTED] wrote:
  
  interesting.. I didn't know that cp overwrites the existing inode.
  but indeed it does, it simply *truncates* the target file:
  
  $ strace cp /bin/sleep mysleep  21 | grep open.*sleep
  open(/bin/sleep, O_RDONLY|O_LARGEFILE) = 3
  open(mysleep, O_WRONLY|O_TRUNC|O_LARGEFILE) = 4
  
  indeed, rm or mv will 'fix' the problem.
 
 The point of using `cp' (or `cat ') is to keep the current (old) file
 permissions. Using `rm + cp' or `mv' create the new file with your
 default permissions or the moved file permissions.

Good point.

BTW, I looked in the cp manpage, and found that cp -f will
succeed even if text file busy: If necessary, it will first
unlink the file. 

strace snippet of cp -f:

open(mysleep, O_WRONLY|O_TRUNC|O_LARGEFILE) = -1 ETXTBSY (Text file busy)
unlink(mysleep)   = 0
open(mysleep, O_WRONLY|O_CREAT|O_LARGEFILE, 0100755) = 4




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

2002-12-24 Thread Christoph Bugel
On 2002-12-24, kfir lavi wrote:
 2. i have used outlook calendar, and i'm searching for a tool that works 
 in windows and linux, that will get my calendar from outlook. 
 recommendations ?

I don't know about your situation, but my employer uses
M$exchange, so I am forced to connect to that. Luckily
exchange does have a web interface, and it works with any
java-enabled browser. so I can actually edit my
appointments from linux/mozilla without being forced to
use windows.

my outlook looks like this:
alias outlook='mozilla http://MYCOMPANY/exchange/exchange.asp'

=
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: IBM Workshop with RMS and T'so in Tel-Aviv and Haifa

2002-12-18 Thread Christoph Bugel
On 2002-12-17, Muli Ben-Yehuda wrote:
 IBM is organizing a GNU/Linux Free Software and Open Source event, to
 take place on January 8th at Tel Aviv University and January 9th at
 IBM's Haifa Research Labs[1]. 
 
 Speaking will be RMS (yesm, yes, *that* Stallman) and Theodore T'so,
 one of the kernel developers. 
 
 Details: 
 http://www-5.ibm.com/il/news/events/gnulinux/

Does anyone have more details about the second day in Haifa?

The ibm page mentions:
http://www.haifa.il.ibm.com/workshops/gnulinux2003
but that link doesn't work


=
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: Ale Yarok and Open Source????

2002-12-16 Thread Christoph Bugel
On 2002-12-16, Uzi Refaeli wrote:
 Indeed this is not a political list but its a political
 country!  I think its important to raise the issue of open
 source!!!
 
 Well done Gili

well, on-topic or off-topic, the original mail doesn't even
contain a url. it has some vague .url attachement which is, I
guess, a microsoft innovation to make thinkgs easier
%*^%*@#$. (a text file containing a url plus some other
garbage, I know).

I find that annoying enough to ignore the content of the email.


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




.url attachements (was Ale Yarok and Open Source????)

2002-12-16 Thread Christoph Bugel
On 2002-12-16, Ira Abramov wrote:
 Quoting Christoph Bugel, from the post of Mon, 16 Dec:

  well, on-topic or off-topic, the original mail doesn't even
  contain a url. it has some vague .url attachement which is, I
  guess, a microsoft innovation to make thinkgs easier
  %*^%*@#$. (a text file containing a url plus some other
  garbage, I know).
  
  I find that annoying enough to ignore the content of the email.
 
 Thanks but no thanks for the blind hate demonstration. if you cared
 to look into the attachment you would find it was:

I did, I even mentioned in parentheses what is inside it.  I get these
attachements everyday at my work, and I don't complain about them
usually, because its a windoze world here, and I choose my battles..
But when I receive .url attachements on a linux mailing list I do
complain, because I think it's a stupid M$ innovation, which only adds
needless complexity to something simple as a url.

 Stop and think before you curse, please.

True. Maybe I should have directed my flame more clearly against the
url, and not against the poster.



=
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: Compaq Evo N1015v

2002-12-14 Thread Christoph Bugel
On 2002-12-14, Gilad Ben-Yossef wrote:
 I'm having trouble getting RedHat 8.0 to install on my brother new shiny
 $SUBJECT.
 
 The installation seems to proceed fine up till the phase
 were it seems to be trying to access the CDROM at which
 point it halts with no error message - just a blank
 installation screen.

hmm... as a last option you could try to install something
that doesn't require a cdrom. I'ts may not solve the cdrom
issue, but at least the rest of linux will work.

I can speak at least for slackware, where this would be quite
easy -- copy the insallation files (some 400MB of *.tgz)
somewhere on your harddrive (maybe on an existing windoze
partition?), then boot into slackware (+- two floppies
needed), and then start the setup program, pointing it to
those 400MB on your disk.

I guess other distros can do this too, but I don't know.

=
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: Blessed Religious Wars [Was: Mandrake 9.0 is fantastic]

2002-12-13 Thread Christoph Bugel
On 2002-12-13, Gilad Ben-Yossef wrote:

 hehe... a signature I caught the other day on some random mailing list:
 
 Emacs is a fine OS, but what it lacks to be able to hold it's own against
 Linux and Windows is a good text editor. 
 
 ;-)

I've heard it in a shorter version: (even better IMO :)

Emacs is a fine OS, but it lacks a good text editor


=
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: Blessed Religious Wars [Was: Mandrake 9.0 is fantastic]

2002-12-13 Thread Christoph Bugel
On 2002-12-13, Shachar Shemesh wrote:

 (anyone still seriously using GNUStep? fvwm?)

For the record, yes: at home my main wm currently is fvwm2.
And a collegue of me at work is actually using twm..


=
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: Tar+BZip2

2002-12-11 Thread Christoph Bugel
On 2002-12-11, Christoph Bugel wrote:
 If you get hundreds of files you are probably lucky.  from
 the manpage I think these are (uncorrupted) blocks.  you can
 simply cat *  x.tar and you have a chance that it works..

correction -- they may or may not be corrupted, first check
with bzip2 -t. (I didnt rtfm enough)

Anyway, if you know how it was damaged, it could help too.
(ftp in acsii mode?)

=
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: ftp in user-mode.

2002-12-11 Thread Christoph Bugel
On 2002-12-09, Tzahi Fadida wrote:
 Where can i find a a very simple ftp program to run inside a shell account
 in user-mode. features seeked:
 different port then 23,21 whatever so it won't run into the existing ftp daemon.
 home directory as the restricted public dir.
 simple username/password.
 command line operating.

google gave me this one:
http://www.ftp4all.de/v3/noframes/index.html

but I suspect that it should be possible to take almost any ftp
daemon and tell it at runtime, or maybe at configure/compile time
to use a different port, etc)

=
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: IP and computer name

2002-12-11 Thread Christoph Bugel
On 2002-12-11, mail Admin wrote:
 Hi
 how can i konw the computer name that take my IP ADDRESS

suppose that your IP address is 10.20.30.40, try:

host 10.20.30.40

or (if you use YP):

ypcat hosts | grep 10.20.30.40



=
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: ClearCase (was: installing Redhat kernel on Mandrake?)

2002-12-10 Thread Christoph Bugel
On 2002-12-09, Noam Meltzer wrote:
 We have a similar issue in my company, and I would be glad to hear if
 you had any success with the ClearCase.
 Basically I believe that copying the kernel  should be enough.
 Take to mind that clearcase now supports redhat7.3, thus you can use
 redhats kernel 2.4.18-redhat patch

A practical option we consider is to ignore the linux version of
clearcase... and issue all cleartool commands from some existing
solaris machine. On solaris we create a snapshot view that sits on
/net/linuxbox/snapshot or something. so that we can still develop
on a nice linux box.




=
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: Tar+BZip2

2002-12-10 Thread Christoph Bugel
On 2002-12-11, Amichai Rotman wrote:
 Hi Clan,
 
 I had to re-install my computer, so I tar.bz2 my e-mail dir (about 700MB+). 
 Now, when I try to open it, I get CRC errors...
 
 I tried bzip2recover, but it creates a hundreds of small file and it is 
 impossible to manage...

Out of interest, do you have an idea how your .tar.bz2
got corrupted?

If you get hundreds of files you are probably lucky.  from
the manpage I think these are (uncorrupted) blocks.  you can
simply cat *  x.tar and you have a chance that it works..
probably the tar file will be incomplete, so maybe you need
to look at the tar manpage too, and find some options that
make it less strict on errors.

=
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: installing Redhat kernel on Mandrake?

2002-12-09 Thread Christoph Bugel
Problem solved.

- copy kernel and /lib/modules/2.4.2-2 from the binary rpm into
  place
- edit /etc/fstab: s/ext2/ext3/ (indeed kernel 2.4.2 did not
  support ext3 yet, as someone mentioned). note: this step must
  be done before the mkinitrd command!
- create new initrd with mkinitrd
- edited lilo.conf, run lilo
- reboot

At this point I could boot successfully into the 'new' kernel
and I was happy. The purpose for this all was to install
ClearCase, and I don't know if/how that will work out, but the
short-term task is done, and I learned something in the
process.

Thanks to everyone who replied!



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




installing Redhat kernel on Mandrake?

2002-12-08 Thread Christoph Bugel
Does anyone know if is possible to install a 'redhat kernel' on
mandrake? I want to install kernel-2.4.2-2.i586.rpm, which is a
redhat-specific kernel. (lotsa patches, it's not on kernel.org)

I need this (old, dangerous, I guess) kernel because a friend has
mandrake and wants to install ClearCase (source control software), which
needs to insert a closed-source, binary module, and therefore requires a
specific (redhat-only) kernel.

I'm a slackware guy and usuallly install stuff from source. I'm not very
familiar with rpm. Any hints are appreciated.



=
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: ccache pitfall discovered

2002-10-29 Thread Christoph Bugel
On 2002-10-29, Muli Ben-Yehuda wrote:
 We've had a thread recently about ccache and potential
 pitfalls. johnm on advogato has discovered one such pitfall.
 The details:
 
 http://www.advogato.org/person/johnm/diary.html?start=23

IIRC, ccache promises to produce the same results as the real
compiler *only* if the compiler itself has not changed.

And IIRC, the heuristic to know if the compiler has changed is
simply to look at the timestamp of the compiler frontend
executable.

So if, for example, gas was upgraded, or something similar,
ccache wil not know about it. So maybe it's a feature, not a
bug.  Just guessing, didn't try to reproduce it.



=
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: ccache pitfall discovered

2002-10-29 Thread Christoph Bugel
On 2002-10-29, Christoph Bugel wrote:
 On 2002-10-29, Muli Ben-Yehuda wrote:
  We've had a thread recently about ccache and potential
  pitfalls. johnm on advogato has discovered one such pitfall.
  The details:
  
  http://www.advogato.org/person/johnm/diary.html?start=23
 
 IIRC, ccache promises to produce the same results as the real
 compiler *only* if the compiler itself has not changed.
 
 And IIRC, the heuristic to know if the compiler has changed is
 simply to look at the timestamp of the compiler frontend
 executable.
 
 So if, for example, gas was upgraded, or something similar,
 ccache wil not know about it. So maybe it's a feature, not a
 bug.  Just guessing, didn't try to reproduce it.

But this still doesn't explain the warning dated from august..

=
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: ccache pitfall discovered

2002-10-29 Thread Christoph Bugel
On 2002-10-29, Muli Ben-Yehuda wrote:
 On Tue, Oct 29, 2002 at 11:11:50AM +0200, Muli Ben-Yehuda wrote:
  We've had a thread recently about ccache and potential pitfalls.
  johnm on advogato has discovered one such pitfall. The details:
  
  http://www.advogato.org/person/johnm/diary.html?start=23
 
 [Replying to myself. Oy Vey.]
 
 I couldn't reproduce johnm's results with ccache 1.9, so they
 should be treated with caution. If anyone manages to reproduce it,
 I would very much like to know. 

I can't reproduce it, because when I compile code (gcc -c) I don't
see any the use of `mktemp' is dangerous warning. I can only get
this warning if I actually *link* some code. but ccache doesn't
intervene with linking. I tried various gcc's (3.2, 3.04, 2.95), and
all of them don't warn about mktemp at compile time..





=
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: resizing /

2002-10-27 Thread Christoph Bugel
 I want to grow the / partition.

[...]

 This is obviously inappropriate for /, because I
 can't unmount /. I tried to use ext2fsadm, but it
 wants a file created by vgscan. I read the docs,
 and they require me to create logical volumes with
 vgcreate. At this point I am slowly getting lost,

I think you'll have to resize it when it's not
mounted. for example, boot from a floppy linux, or
if you have another linux installed on your hard
drive, boot into that..

below are 2 quotes from the parted manual.
http://www.gnu.org/manual/parted-1.6.1/html_chapter/parted_5.html

Parted can't resize mounted partitions (this may
change in the future...

If you want to resize your root or boot partition,
use a boot disk See section 1.6 Using a Parted Boot
Disk, or use Andreas Dilger's online ext2 resizer,
included in the ext2resize package section

=
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: fetchmail like programs

2002-10-22 Thread Christoph Bugel
On 2002-10-21, Arie Folger wrote:
 Hi,
 
 I use Kmail for my email browsing, and rather like it. However, I would like 
 to be able to download my email without firing up X, and would like the email 

Here's my setup:

- fetchmail connects periodically to various POP3 hosts and
  collects my mail.  It sends them to my local sendmail
  (localhost, port 25).  (I don't know how to configure
  sendmail, but for this task the default settings are
  perfect)
- sendmail, I think, sees that I have a ~/.procmailrc, and
  therefore feeds my mail to procmail, (instead of putting
  it in /var/spool, I think)
- procmail (.procmailrc) has a couple of rules ('recipies')
  where I filter my mail into various folders: mail/inbox,
  mail/spam, lists/linux-il, etc, etc.

So far for the mail retrieval. This put all email in nice
mbox folders, just where I want them. Now as for the mail
client (MUA) I use only mutt to view my mailboxes, but I
could use more than one mail client if I wanted to, as long
as it understands mbox.


=
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: A random computer shop in Vienna

2002-10-10 Thread Christoph Bugel

 I especially liked the 'Linux users parking ONLY. All others will be 
 reformatted' sign on the side... :-)

It's cool :-)
But I'm puzzled about that 'Visual Basic 6' book just below it..


=
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: Technical Question

2002-10-07 Thread Christoph Bugel

 I don't think there is a freeware that does that. The place to look
 is in the ntfs for linux project http://linux-ntfs.sourceforge.net/.

There is a (Free Software, not just freeware) program called GNU parted. It can
resize many types of partitions/filesystems.  Unfortunately, ntfs doesn't
appear on the feature list. thought I'd mention it 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: ccache

2002-09-28 Thread Christoph Bugel

  ccache is a compiler cache. It acts as a caching pre-processor to C/C++ 
 compilers, using the -E compiler switch and a hash to detect when a 
 compilation can be satisfied from cache. This often results in a 5 to 10 
 times speedup in common compilations.

I've been using ccache for quite some time too.
The speedup is quite spectacular for C++ (since g++ is much slower then gcc)

=
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: Zone info

2002-08-01 Thread Christoph Bugel

On 2002-08-01, Michael Sternberg wrote:
 
 I'm looking for updated files that contain zones info (zones, cities,
 daylight savings etc) that can be used as input file for /usr/sbin/zic.

http://www.twinsun.com/tz/tz-link.htm

=
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: unsubscribe ;)

2002-07-17 Thread Christoph Bugel

On 2002-07-16, Iftach Hyams wrote:
 Is there a request for vacation ?
 mesa3d has a site where you can choose to freeze your account, set digest
 mode etc.

You can talk to the daemon an [EMAIL PROTECTED] and
send it commands. for example the command help or stats
linux-il. there is also a command to change flags, and VACATION
seems to be one of them.


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




yet another *cluefull* ynet article

2002-07-17 Thread Christoph Bugel

The article

http://www.ynet.co.il/articles/0,7340,L-2004313,00.html

is about yet another boring virus. But scrolling down the
page it says, in bold: 'only windows users are affected'. 

Exactly the sentence that goes through my head
whenever I read that type of articles!

Thanks ynet!

=
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: New Version of MSIE for Solaris and HP-UX

2002-07-10 Thread Christoph Bugel

On 2002-07-11, Gilad Ben-Yossef wrote:
[...]
 This lead to some very funny things, including early Linux system that
 had some text files (I don't remmeber if they were keymaps, or shell
 scripts or something like that) that actually had (C) Microsoft
 Corporation in their head because their were ported from Xenix.

I've seen it on solaris8. don't know if its a hoax :-)

solaris8:~$ cat /bin/clear
#!/usr/bin/sh
#   Copyright (c) 1984, 1986, 1987, 1988, 1989 ATT
# All Rights Reserved

#   THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ATT
#   The copyright notice above does not evidence any
#   actual or intended publication of such source code.

#ident  @(#)clear.sh   1.8 96/10/14 SMI   /* SVr4.0 1.3   */
#   Copyright (c) 1987, 1988 Microsoft Corporation
# All Rights Reserved

#   This Module contains Proprietary Information of Microsoft
#   Corporation and should be treated as Confidential.

# clear the screen with terminfo.
# if an argument is given, print the clear string for that tty type

/usr/bin/tput ${1:+-T$1} clear 2 /dev/null
exit




=
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: [gnubies-il] The Knesset will discuss Open Source! (fwd)

2002-07-07 Thread Christoph Bugel

 I will be extremely thankful if you could direct me to any scientific or
 non-biased research and news regarding the following issues:
 
 The adoption of Open Source Systems in other western countries.
 
 The qualities of Open Source Systems as far as data security is
 concerned.

There is the well known 'Mitre report':
http://www.mitre.org/support/papers/tech_papers_01/kenwood_software/


Also, Maybe also the German government can be used as an example. I
don't have any link ready, but seem to be quite clueful, they are
trying to promote the use of open source software by the government,
for various reasons, such as quality, security, vendor lock-in.

=
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: dirent structure and fwrite

2002-06-30 Thread Christoph Bugel

On 2002-06-30, Eliran wrote:
 Hello !
 
 I'm trying to use the command *fwrite()* (not write()) to write the content
 of de-d_name (de is the structure name,) to a file, I have tried many ways
 but it always get scrambled and I hear beeps (like trying to cat a binary
 file).
 
 I'm using the a mode for fopen not b.

For for me it works just fine, see the example below.
My guess (since you didn't show your code..) is that you put the fwrite
function arguments in the wrong place, because I think when it beeps, something
gets written to your terminal (the terminal usually generates the beeps), ie,
to file descriptor 1 or 2 -- sdtoud and stderr respectively. so it looks like
you are not writing to the file you were thinking of. am I correct?
The following code works just fine, if you supply an argument, that is.

#include unistd.h
#include stdio.h
#include sys/types.h
#include dirent.h

int main(int argc, char ** argv)
{
DIR * dir = opendir(argv[1]);
struct dirent * de;
while(de = readdir(dir))
fwrite(de-d_name, strlen(de-d_name), 1, stdout);
return 42;
}


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




In-Reply-To header mystery

2002-06-13 Thread Christoph Bugel

Is there someone on this list that receives his mail from
**netvision** ?
If yes, could you please grep your linux-il mailbox and see if
it contains this string:

In-reply-to: from

If you use a unix mbox, just do 
grep 'In-reply-to:\ from' your-mbox 
and see if you get results.

Why am I asking?
Well, the threading of my mailclient mutt-1.4 is broken, and I
tracked it down to the fact that I get many mails with *wrong*
in-reply-to headers, of the form

In-reply-to: from someone@somewhere

It turns out, however, that most people see a DIFFERENT header. I also checked the 
mailinglist archives, and they are different (and correct) too.

At first I was suspecting that my sendmail or fetchmail are
rewriting the headers, but I now know that when I access the
netvision POP3 account directly from mutt, I still get the bad
headers. so now I suspect Netvision..

I hope someone can confirm this?


=
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: atomically opening and deleting a file

2002-06-11 Thread Christoph Bugel

On 2002-06-11, Muli Ben-Yehuda wrote:
 Is there a way to open a file (get an fd) and then delete it, in one
 atomic operation? 
 
 I need to open a temporary file (but with a fixed name, so mkstemp()
 and friends are not an option) and then make sure it doesn't remain
 behind if the program should die unexpectedly. Doing
 
 open(foo, ...); 
 unlink(foo, ...); 
 
 is obviously unsafe, since foo might be pointing to something else by
 the time I unlink it. Suggestions?

You know that you can do the unlink *immediately* after the open, right?
you can still use the fd after that, but your foo link will live only
for a couple of microseconds (or whatever). 
If I understand you correctly, you want to avoid even those
microseconds? you want to make sure that the foo link *never* exists
in any directory? (then why do you care for a fixed name, if the name
never exists?)


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




Mutt Threading (was: Re: atomically opening and deleting a file)

2002-06-11 Thread Christoph Bugel

On 2002-06-11, Christoph Bugel wrote:
 On 2002-06-11, Muli Ben-Yehuda wrote:
  open(foo, ...); 
  unlink(foo, ...); 
  
  is obviously unsafe, since foo might be pointing to something else by
  the time I unlink it. Suggestions?
 
 You know that you can do the unlink *immediately* after the open, right?
 you can still use the fd after that, but your foo link will live only
 for a couple of microseconds (or whatever). 
 If I understand you correctly, you want to avoid even those
 microseconds? you want to make sure that the foo link *never* exists
 in any directory? (then why do you care for a fixed name, if the name
 never exists?)

Sorry, seems like I missed most of the discussions on this thread, because
mutt was thinking that these messages belong to another random thread.  This
seems to happens with other threads too.  Either bug in mutt (I upgraded to
1.4 a few days ago) or something else I did wrong..

I have to sort according to date now, if I want to see *all* messages..
Has anyone experienced this?

=
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: Mutt Threading (was: Re: atomically opening and deleting a file)

2002-06-11 Thread Christoph Bugel

On 2002-06-11, Michael Rozhavsky wrote:
 
 [snip]
 
  Sorry, seems like I missed most of the discussions on this thread, because
  mutt was thinking that these messages belong to another random thread.  This
  seems to happens with other threads too.  Either bug in mutt (I upgraded to
  1.4 a few days ago) or something else I did wrong..
  
  I have to sort according to date now, if I want to see *all* messages..
  Has anyone experienced this?
 
 From mutt changes page http://www.mutt.org/changes.html :
 
 Other changes
 -
 
 - New and improved threading code from Daniel Eisenbud.  See also
   $duplicate_threads, $hide_missing, $thread_received.

That doesn't fix it for me.

2 different threads started by the same person seem to tempt mutt to create
identical 'In-Reply-To' fields containing something like In-Reply-To:
user@host, instead of In-Reply-To: orig-msg-id. When In-Reply-To is
identical, mutt thinks they belong to the same thread.  I can't believe I'm
the only one seeing this bug.

=
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: [Job Offer] Qlusters is looking for a few good main()

2002-06-10 Thread Christoph Bugel

On 2002-06-10, Muli Ben-Yehuda wrote:
 Ok, a quick look shows what I expected it to show, c++ code that looks
 like c in first and second glance. No templates, in inheritance, no
 overloading, none of the things that make c++ c++. In the kernel, I
 don't care if the struct is called 'class', and if you pass an object
 by reference instead of by pointer, and if you have a string class,
 instead of a char*.

Sorry if this is a stupid question, but why would templates be a bad
idea for kernel code (assuming for this argument that dumbed down C++
is OK)? I thought templates do the hard work at compile time, but
don't have overhead at runtime?  Or is it just more bug prone and
harder to debug?

=
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: job control in shell

2002-06-09 Thread Christoph Bugel

On 2002-06-09, Henry Ficher wrote:
 Arie Folger wrote:
 Hi,
 
 Ordinarily jobs are managed with commands such as fg bg and jobs. 
 Howvever, once a terminal session is closed, the job is no longer 
 associated with a particular terminal. How can I, when opening another 
 terminal session (typically several hours later, as I run long jobs on 
 remote machines, at times) attach that job to the new terminal?
 
 Arie Folger
 
 screen is what you're looking for.

Or simply work with actual the processes instead relying
on 'jobs'

Why do you want to 'reattach' anyways? If you want to
suspend and resume, you can also do that with processes:
kill STOP your_pid to suspend, and kill CONT your_pid to
resume. same as ctrl-Z, bg, fg, in the shell.


=
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: GCC-2.9.5, './configure --program-suffix' not working

2002-06-07 Thread Christoph Bugel

On 2002-06-06, Shay Elkin wrote:
 I ran the configuration script with the '--program-suffix=-2.95.3' 
 option, but the binaries are named without that suffix. 
 
 Anybody got a clue to why? (I checked, and the argument is saved in 
 config.status).

No clue.. I guess you should give some more info. All configure options, all
your commands, etc. You did look at the binaries *after* make install, right?

BTW, I never used this option. I use --prefix to install new gccs into
*different* directories, and the I use PATH (and when needed, LD_LIBRAARY_PATH)
to choose which compiler I want to use today. (pun intended :)

=
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: Some C++ Questions

2002-06-06 Thread Christoph Bugel

On 2002-06-06, Nadav Har'El wrote:
 On Thu, Jun 06, 2002, Shlomi Fish wrote about Some C++ Questions:
  2. I want to destroy a dynamically allocated object without knowing its
  exact class in advance. I can declare a virtual destroy method that will
  call (delete this;), but I'll have to do it for each inheritance level. Is
  there a better way.
 
 Look up virtual destructor in your favorite C++ book.
 
 And never do something like delete this!

I guess never is not the correct word.
There *are* legitimate uses of delete this,
For example in the RCProxy design pattern.

=
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: Some C++ Questions

2002-06-06 Thread Christoph Bugel

On 2002-06-06, Nadav Har'El wrote:
 On Thu, Jun 06, 2002, Christoph Bugel wrote about Re: Some C++ Questions:
   And never do something like delete this!
  
  I guess never is not the correct word.
  There *are* legitimate uses of delete this,
  For example in the RCProxy design pattern.
 
 I'm not a design-patterns expert, so maybe I'm missing something, but
 how can you do delete this from within an object? First, I don't see
 how you know that this object was dynamically-allocated (it might have
 been on the stack, allocated as part of an array of objects, allocated
 with placement-new, etc.).
 
 Second, what happens after the delete this? The method continues to
 run but the object was destructed; If you do anything except return
 after the delete this you might accidentally try to use members of
 the deleted object...

I'm by no means a design patterns expert either :-)

But I'll try to explain the Reference-Counted Proxy pattern, as I
understand it: There is a class that is for the user (the proxy class)
and another class that contains the actual implementation, which should
never be used directly by the user. For example, class String and class
StringImp. The user creates objects of type String, and doesn't even know
about the implementation class.

when you create a String (String s1(foo);), the constructor does 
_imp = new StringImp(foo) --  on the heap --  and then calls
_imp-IncrementReferenceCount() 
*All* things you subsequently do with the string, are delegated to the
_imp.  for example String.Append(a) calls _imp-Append(a) So basically
the String class is just a proxy, and doesn't know anything about real
Strings.

When you make copies of that String: String s2 = s1;

The copy constructor doesn't create another *new* string, but uses the
same StringImp of s1, and then calls _imp-IncrementReferenceCount() This
is the reason for this pattern, useful if the implementation object is
expensive, and may be shared by various users.
(In case of strings this is true, as long as the strings are constant)

the Destructor of String (for example, when your s1 goes out of scope on
the stack) simply calls _imp-DecrementReferenceCount()

assuming your s2 is still on the stack, the reference count is now 1;
when your s2 goes out of scope too, the _imp-DecrementReferenceCount()
is called again.

DecrementReferenceCount always checks:
if _refcount == 0 delete this;

So the Implementation class know that no one is using it anymore, and it
can be safely deleted. and after delete thisd, the function exits, and
nonoe ever uses that object again. (how sad :-)

I hope this made a little sense

Christoph





=
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: Some C++ Questions

2002-06-06 Thread Christoph Bugel

On 2002-06-06, Christoph Bugel wrote:
 On 2002-06-06, Nadav Har'El wrote:
  On Thu, Jun 06, 2002, Christoph Bugel wrote about Re: Some C++ Questions:
And never do something like delete this!
   
   I guess never is not the correct word.
   There *are* legitimate uses of delete this,
   For example in the RCProxy design pattern.
  
  I'm not a design-patterns expert, so maybe I'm missing something, but
  how can you do delete this from within an object? First, I don't see
  how you know that this object was dynamically-allocated (it might have
  been on the stack, allocated as part of an array of objects, allocated
  with placement-new, etc.).
  
  Second, what happens after the delete this? The method continues to
  run but the object was destructed; If you do anything except return
  after the delete this you might accidentally try to use members of
  the deleted object...
 
 I'm by no means a design patterns expert either :-)
 
 But I'll try to explain the Reference-Counted Proxy pattern, as I
 understand it: There is a class that is for the user (the proxy class)
[...]

I forgot to actually answer your questions :)

The points that you raise are both valid, and it is the programmers
responsibility to protect against them. in the example I showed they are
both taken care of by the programmer of the String 'class library'.
(The *user* of that class library doesn't have to worry about those
dangers!)
(1) the delete this statement is not followed by any other statement
(2) the StringImp object is always created by e 'new' statement: heap.

The user should/can only use the String class, so there is no way the
StringImp will be created on the stack. This can even be enforced, by
makeing the StringImp constructor can be made private)




=
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: Q: Linux alternatives to group scheduler (Scheduler Server) ?

2002-06-05 Thread Christoph Bugel

 Also, if for some strange reason you want to use Exchange (altough I
 would highly recommend aginst it) you can buy from Ximian, makers of
 Evolutuion, (evolution is free in both beer and speech sense) a
 connector that let's Evolution be used in client/server mode with
 Exchange.
 
 Other solutions also exists (from Bynari systems and HP OpemMail) but
 IMHO the method described above is the best.
 
 If you're interested in what happened in one company that tried to
 implment this, the quote on my homepage might be... interesting :-)

Over here we have an exchange server, so I have no choice.  My
solution to coexist with that, and still use Linux on the desktop, is
to use the 'Outlook Web Access': It is an http interface provided by
the exchange server. (surprise: m$exchange can talk SMTP, POP3, and
HTTP..) It works fine with mozilla (requires java). It does miss a few
features, (somehow it must give outlook users an advantage)  and
obviously I don't use it as my mail client, but I do use it for the
appointments, which I can see just fine. I can also create
appointments myself.


=
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: RMS is back again

2002-05-31 Thread Christoph Bugel

On 2002-05-31, Eliran wrote:
 Well, here is another response of Richard M. Stallman the FSF founder.
 
 Now he condemns the UnitedLinux (Suse, Turbo Linux, Mandrake and others joined 
forces).
 
 What next ?

Maybe you should explain *why* you disagree with RMS.
I think RMS is right.

BTW, Mandrake is not part of UL.

=
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: Re:israrail's xls-only schedules

2002-05-31 Thread Christoph Bugel

On 2002-05-31, Corwin wrote:
 
 On Thu, 23 May 2002, Christoph Bugel wrote:
 
  But which spreadsheet format should we ask them to use?
  
 I think, if at the moment we can't find suitable opensrc spreadsheet
 format, it would be nice to have *at least* PDF or HTML version
 of their schedules. But again, they don't reply to emails.
 BTW, in the past they published their magazine in pdf, so converting
 to pdf shoudn't be a problem for them.


Maybe you should try mail or fax
(from http://www.israrail.org.il/english/travel/travel.html)

==
Public Commissioner:
Please address requests and complaints to:
Israel Railways
The Public Commissioner
P.O. Box 18085 Tel-Aviv, Zip 61180 .
Fax: 03-6937443 .
==

I agree with you that they didn't think enough about non-M$ users
when they added the .xls file (apparently without testing if it
looks ok in other spreadsheets). But then I think they are not too
bad either, and with some positive feedback they will listen. (maybe
:) Note for example that they say 'best viewed in 800x600', but they
don't mention the browser. this hint that they are at least a little
cluefull :-)



=
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: israrail's xls-only schedules

2002-05-24 Thread Christoph Bugel

 funny, using kde3 i can open hebrew filenames. This particular doc can be 
 opened using kspread (1.1, 1.1.1, 1.2 beta1, the first two with biditext). 

BTW -- either unzip or jar have a bug :-)
(I'm not using any hebrew settings, LC_ALL=POSIX)
$ unzip schedules_eng.zip
$ jar xf schedules_eng.zip
$ ls
\214\205\207\ \206\216\220\211\215\ 20.11.2001.xls
\356\340\347\ \345\304\311\353\354\ 20.11.2001.xls

I prefer the jar command over the unzip command, because
jar (comes with JDK) has the same syntax as tar.


=
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: israrail's xls-only schedules

2002-05-23 Thread Christoph Bugel

On 2002-05-23, Barak Kaufman wrote:
 As far as i remember u can open xls files with no problems in gnumeric and in 
 OO. hebrew might be a bit of a problem ( i didnt try openning hebrew docs in 
 gnome 2beta anybody has an experience to share ? )
 
  Hello ppl.
  Anybody want to help me encourage israrail's admins to put their
  schedules on whe web in some os-independent format, not only in xls  ?
  They simply don't answer my emails.

BTW, I sent them a mail, a year ago, complimenting them for
creating a nice website: (1) it actually contains real useful information (2)
it's a no nonsense website. Sounds obvious, but I think it takes courage to
build a website without animating crap..
(didn't get a reply either :-)

As for the .xls files, I'm not sure that the file format has the same status as .doc?
Maybe it *is* well documented? I don't know. Here's my experience with the file:

I downloaded (english) schedules_eng.zip.
(1) the file has a hebrew name..
(2) soffice wastes a few minutes (!) playing with the cpu, but then displays the file. 
the fonts are huge for some reasone.
(3) gnumeric prints out some warnings and even an error, but then it also displays the 
file. look better that soffice.





=
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: israrail's xls-only schedules

2002-05-23 Thread Christoph Bugel

On 2002-05-23, Tzahi Fadida wrote:
 I think you are missing the point here.
 Ever since I read the Peruvian government minister, I realized that there is a good 
chance that
 the government is breaking its/non comliant with the law of freedom of information.
 Meaning, any document or processes of information the government create and store, 
must
 be transparent to the citizens.
 By using closed source software or non-standard formats it theoretically break its 
own laws.
 I think that this is the right direction in the matter, though I am not certain 
about any of this.
 Are there lawyers in the house?


Yes, a great article :-)
( http://linuxtoday.com/news_story.php3?ltsn=2002-05-06-012-26-OS-SM-LL )

But which spreadsheet format should we ask them to use?
(of course, that should be *their* problem.. .csv would have been ok in
this simple 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: Nicknames for my Hostname

2002-05-07 Thread Christoph Bugel

 The effect of the hostname command will only last until the next reboot,
 where the init scripts will set the name localhost for him - I assume
 that's not what he wants. This will happen at least in RedHat, and I would
 guess in most other distributions.

Correct!
from slackware /etc/rc.d/rc.M:

/bin/hostname `cat /etc/HOSTNAME | cut -f1 -d .`


=
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: 2 versions of glibc living in peace together

2002-03-26 Thread Christoph Bugel

 libraries and stubs on the link line, including -llibc, -lm and the
 obligatory /usr/lib/crt1.o or /usr/lib/gcrt1.o - stracing a regular
 compiler will show you which libraries and stubs it links applications
 with, by default.

or use gcc -v ;)


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




ulimit -c

2002-03-21 Thread Christoph Bugel

For some reason, by default, my ulimit -c is 0,
It means no corefiles are generated.
I think I'll add ulimit -c unlimited to my .bash_login
Or would it be a bad idea?

=
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: X problems

2002-03-18 Thread Christoph Bugel

On Mon 2002-03-18, Shai Bentin wrote:
 Hi list,
 
 Lately I've been having X freeze problems. what happens is during work,
 suddenly the mouse events are not captured, soon after that the keyboard
 events are gone, and although I know that the machine still functions
 there is nothing I can do. 

I can think of 2 options: 
(1) telnet to it from another machine
(2) uses the SysRq key

With the second option you can recover from many kinds of trouble,
for example ALT-SysRq-r will probably give you the keyboard back. Or
ALT-SysRq-i will kill all your processes except init, etc. see
linux/Documentation/sysrq.txt for the details.







=
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: pthreads question

2002-03-14 Thread Christoph Bugel

 This is my example of pthread not releasing memory resources when the thread
 function exits (I would REALLY like to have that memory back).
 I have written (copied and modified...) a small program that creates 200
 threads which exit after 10 seconds.
 The main function then sleeps for 20 seconds, allowing me/you to ps aux |
 grep progname to see the big vsize increase.
 You can clearly see (below the source) that even though the functions exit,
 memory is not released. Both the vsize and the rss stay the same.

I didn't look at the details, but I think this is not a bug.  Most
implementations of malloc/free will not return free()d memory to the OS, but
instead they will keep it, and just mark it internally as free. the next
time a user wants to malloc more memory, he will get the same that was
marked free before. So normally programs never shrink. (unless they actually
return memory to the kernel using a real system call, such as brk..)





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