a tool for creating PNG files

2005-07-12 Thread Amir Binyamini
Hi, I am looking for a tool for creating PNG files on Linux. My target is to create a simple diagam/flowchart file in PNG format, which mostly will use rectangles , arrows,lines, text inside the rectangles, and circles; I am not embedding an image files inside that PNG. The platforms I

dia (was: Re: a tool for creating PNG files)

2005-07-12 Thread Omer Zak
Given the desirable content for your PNG files, I think that dia may serve your needs. dia allows you to create diagrams with the geometric features which you mentioned. dia saves files in its own format, but can export to all common graphic file formats, including PNG.

Re: Strange C-code behavior with pipes

2005-07-12 Thread Nadav Har'El
On Tue, Jul 12, 2005, Alon Altman wrote about Strange C-code behavior with pipes: When I compile this into a file called prog and then run: ./prog|cat I see that Hello is not printed until I give it input. Where is the buffer here and is there any way to bypass it? Most people know, or at

Re: GRUB help

2005-07-12 Thread Shachar Shemesh
Aharon Schkolnik wrote: The first slightly surprising thing is that when I boot from the GRUB diskette to (hd0,0) - which used to boot to Windows 2000, I now get the Microsoft menu offering me either XP PRO or Windows 2000. Does this mean that the Microsoft menu is in the boot sector (hd0,0)

connectivity question

2005-07-12 Thread Hetz Ben Hamo
Here's a scenario I have: On one side of the globe, I have a Linux server (RHEL 3) in a hosting firm. On the other side of the globe - I have a Windows 2003 server which is hosted also. What I'm trying to do - is to make a permanent connection between the 2 servers. I can go ahead and use

Re: connectivity question

2005-07-12 Thread Danny Lieberman
Hetz Yes there is a good way - WebDav. We have just implemented WebDav on Apache in a Linux Server RH3 in hosting (rackspace) with remote W2003 servers and XP boxes WebDav is well supported on both O/S's, its quite efficient and connections are persistent. You setup WebDav on Apache with

Re: a tool for creating PNG files

2005-07-12 Thread Kfir Lavi
Dia is a tool for flowcharts that can save the drawings in png format. http://www.gnome.org/projects/dia/ On 7/12/05, Amir Binyamini [EMAIL PROTECTED] wrote: Hi, I am looking for a tool for creating PNG files on Linux. My target is to create a simple diagam/flowchart file in PNG format,

Re: Looking for an open source solution for generating cross platform printable documents

2005-07-12 Thread Youval Bronicki
Danny, Thanks for the info. The formatting problems you have reported keep me focused on OpenOffice (and JooReports). In your system, are the PDF files created automatically by the server, or are they printed to PDF manually by end-users? Do you simply use PHP as the template engine?

Re: Looking for an open source solution for generating cross platform printable documents

2005-07-12 Thread Danny Lieberman
Our first iteration was server side rendering to PDF using PHP - it was very slow and because the client had an interactive application with an agent online to a customer we scrapped that approach (- it was slow since there is an intermediate step of rendering HTML to PS which sucks and also

Re: connectivity question

2005-07-12 Thread Geoffrey S. Mendelson
On Tue, Jul 12, 2005 at 10:08:43AM +0200, Hetz Ben Hamo wrote: What I'm trying to do - is to make a permanent connection between the 2 servers. Microsoft Services for UNIX. Free (as in beer, not open source). Provides you with an almost complete posix environment including a telnet daemon, a

Re: connectivity question

2005-07-12 Thread Tzafrir Cohen
On Tue, Jul 12, 2005 at 11:57:09AM +0200, Danny Lieberman wrote: Hetz Yes there is a good way - WebDav. What I don't like about webdav is that you can basically only access it through apache. Samba is a daemon that is designed to run as root and support multiple users. Apache is designed

Re: connectivity question

2005-07-12 Thread Marc A. Volovic
Quoth Geoffrey S. Mendelson: On Tue, Jul 12, 2005 at 10:08:43AM +0200, Hetz Ben Hamo wrote: Microsoft Services for UNIX. Free (as in beer, not open source). It is a reasonable choice. It has the disadvantage of being slow as a dead elephant swimming up a treakle creek, but over an internet

Re: connectivity question

2005-07-12 Thread Diego Iastrubni
ביום שלישי, 12 ביולי 2005, 12:38, נכתב על ידי Geoffrey S. Mendelson: On Tue, Jul 12, 2005 at 10:08:43AM +0200, Hetz Ben Hamo wrote: What I'm trying to do - is to make a permanent connection between the 2 servers. Microsoft Services for UNIX. Free (as in beer, not open source). Provides

Re: connectivity question

2005-07-12 Thread Tzafrir Cohen
On Tue, Jul 12, 2005 at 12:38:00PM +0300, Geoffrey S. Mendelson wrote: On Tue, Jul 12, 2005 at 10:08:43AM +0200, Hetz Ben Hamo wrote: What I'm trying to do - is to make a permanent connection between the 2 servers. Microsoft Services for UNIX. Free (as in beer, not open source). cygwin is

Re: dia (was: Re: a tool for creating PNG files)

2005-07-12 Thread Shlomi Fish
I should also note that there's Kivio, which is the KDE equivalent of dia. So far I've only used dia, so I can't testify for how good Kivio is. Regards, Shlomi Fish On Tuesday 12 July 2005 09:49, Omer Zak wrote: Given the desirable content for your PNG files, I think that dia may

Re: connectivity question

2005-07-12 Thread Hetz Ben Hamo
Hi, What I am trying to understand, Hetz, is WHAT kind of a permanent link do you want between the two machines? Replication? DRP? Failover? Quite simple... I need to do some video streaming for an audience who have no clue about Quicktime, Real Player, or even downloading/installing plugins.

Re: connectivity question

2005-07-12 Thread Geoffrey S. Mendelson
On Tue, Jul 12, 2005 at 12:58:31PM +0300, Marc A. Volovic wrote: It is a reasonable choice. It has the disadvantage of being slow as a dead elephant swimming up a treakle creek, but over an internet link that should not be too much of a disadvantage. SSH seems fine to me. I run it over 100mb

Re: connectivity question

2005-07-12 Thread Geoffrey S. Mendelson
On Tue, Jul 12, 2005 at 12:54:07PM +0300, Diego Iastrubni wrote: Whats the difference between it and MSYS+MinGW? Sorry, no idea. If this helps, it's much more integrated than Cygwin, which IMHO implements a linux emulation layer on top Windows. In useage IMHO Cygwin is a halfway point between

Re: connectivity question

2005-07-12 Thread Danny Lieberman
imho - both Samba and MS services for Unix unsuitable solutions for connecting systems running in two geographicly separated managed hosting facilities. Its an unrealistic solution because: a) latency b) tco of using vpns or fw vpns c) the average customer does not want to install any

Re: connectivity question

2005-07-12 Thread Danny Lieberman
ssh requires installing WinSCP on the Windows boxes and logging in with a client side VPN in Youval's scenario Geoffrey S. Mendelson wrote: On Tue, Jul 12, 2005 at 12:58:31PM +0300, Marc A. Volovic wrote: It is a reasonable choice. It has the disadvantage of being slow as a dead

MinGW [was Re: connectivity question]

2005-07-12 Thread Shlomi Fish
On Tuesday 12 July 2005 12:54, you wrote: ביום שלישי, 12 ביולי 2005, 12:38, נכתב על ידי Geoffrey S. Mendelson: On Tue, Jul 12, 2005 at 10:08:43AM +0200, Hetz Ben Hamo wrote: What I'm trying to do - is to make a permanent connection between the 2 servers. Microsoft Services for UNIX.

Re: connectivity question

2005-07-12 Thread Geoffrey S. Mendelson
On Tue, Jul 12, 2005 at 12:31:26PM +0200, Hetz Ben Hamo wrote: So now the only solution that I see here is to purchase a minimum Win2003 package, put all the video clips in the Linux server and connect between them, so while the apache on the linux serves the pages, the Windows MMS serves the

Re: connectivity question

2005-07-12 Thread Danny Lieberman
Tzafrir I totally agree - but it really depends on how willing the customer is to start installing and maintaining software - Webdav is elegant for the client who wants to stay away from VPN or FTP client installations - like my client :-) danny Tzafrir Cohen wrote: On Tue, Jul 12, 2005 at

Re: connectivity question

2005-07-12 Thread Danny Lieberman
Geoff Fair enough. ssh is king. To summarize the thread - the Windows to Linux connection over the WAN has a few options ssh - requires MS services for Unix on the Windows boxes, secure, strong authentication, good for transferring large files, or large numbers of files over the WAN Webdav

gs fails to create PDF files

2005-07-12 Thread Boris Gorelik
Hello, list when trying to print web pages to PDF files (on Konqueror 3.3.2, mandriva 2005 LE), sometimes I recive message like this: A print error occurred. Error message received from system: Abnormal process termination (gs -q -dSAFER -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite

Re: MinGW [was Re: connectivity question]

2005-07-12 Thread Diego Iastrubni
ביום שלישי, 12 ביולי 2005, 13:51, נכתב על ידי Shlomi Fish: Whats the difference between it and MSYS+MinGW? it = MS Services for UNIX Well, MinGW stands for Minimal GNU for Win32. It's basically a port of the compiler and other compilation tool-chain, so it will run on Win32, but without

Re: gs fails to create PDF files

2005-07-12 Thread Omer Zak
Did you already eliminate the trivial cases: - Insufficient space in device (df) - Insufficient inodes in device (df -i) The processes of printing to pdf and to ps might be using different partitions for their temporary files, so if one is not full (say /tmp) and the other one is full (say

RE: connectivity question

2005-07-12 Thread Ohad.Levy
What about SSH tunnel with pptp? I know it's quite simple to set pptp running between two ssh's with pty-redir script. On the windows side I guess it's possible if you forward the pptp though SSH (ssh from linux to windows running cygwin sshd and then open the connection from the windows side)

Yet another anti spam scheme - this time, one that raised $3M from Benchmark Capital

2005-07-12 Thread Danny Lieberman
Guys Additional evidence that the key factor in raising seed capital is to be a serial entrepeneur with an exit. See - www.bluesecurity.com Purports to be visible source and they use a bunch of FOSS components like curl and pcre http://beta.bluesecurity.com http://beta.bluesecurity.com/.

Per process I/O statistics

2005-07-12 Thread Lior Okman
Hi, I'm looking for a way to come up with I/O statistics (like # of blocks read/written per file) that are distributed per process on a linux system. The utilities that I know about (sar, iostat, dstat, etc.) all work on a block device or partition level, not on a per-process level. Is this

Re: Per process I/O statistics

2005-07-12 Thread Lior Okman
Lsof can tell me which files are open for a specific process. This isn't the same as the number of blocks read/written by the process. For example, my login shell process has probably read all the initialization files relevant for a login shell - .bashrc, bash_profile, etc. These files aren't

Re: Per process I/O statistics

2005-07-12 Thread shimi
On Tuesday 12 July 2005 21:08, Lior Okman wrote: Lsof can tell me which files are open for a specific process. This isn't the same as the number of blocks read/written by the process. For example, my login shell process has probably read all the initialization files relevant for a login shell

RE: Per process I/O statistics

2005-07-12 Thread Tzahi Fadida
I started a thread once on the subject. http://mirror.hamakor.org.il/archives/linux-il/01-2005/13549.html Follow the yellow brick thread. You have 2 options I know which we discussed on the thread. kernel hacking and kmsg parsing in conjunction with block_dump. enjoy! p.s.: There might be kernel

Re: Per process I/O statistics

2005-07-12 Thread guy keren
On Tue, 12 Jul 2005, Lior Okman wrote: I'm looking for a way to come up with I/O statistics (like # of blocks read/written per file) that are distributed per process on a linux system. The utilities that I know about (sar, iostat, dstat, etc.) all work on a block device or partition level,

Re: connectivity question

2005-07-12 Thread Tzafrir Cohen
On Tue, Jul 12, 2005 at 03:30:56PM +0300, Geoffrey S. Mendelson wrote: On Tue, Jul 12, 2005 at 03:02:40PM +0300, Tzafrir Cohen wrote: Are you looking for an ssh client or server? There are a number of good ssh clients for windows. some are based on openssh. There is also putty. And

Re: connectivity question

2005-07-12 Thread Tzafrir Cohen
On Tue, Jul 12, 2005 at 03:53:16PM +0200, [EMAIL PROTECTED] wrote: What about SSH tunnel with pptp? a. pptp is a generic way to tunnel ppp over IP. You can plug in encryption. Why tunnel it on top of ssh? b. tunneling on top of TCP is generally a bad idea c. pptp has only the control

Per process I/O statistics - Summary

2005-07-12 Thread Lior Okman
To summarize - there isn't an easy way to do this, and even if there were, measuring the relevance here is hard because of the different caches in the middle of the way between a process and an actual block device. Thanks to eveybody that answered. Lior On Tue, 12 Jul 2005, Lior Okman

RE: Per process I/O statistics - Summary

2005-07-12 Thread Tzahi Fadida
Wrong, there are ways. For example, to use open methods like O_SYNC or O_DIRECT, I played with these and in conjunction with block_dump and kmsg you can count the blocks, also its easy to find the block_dump code and hack it in very easily in the kernel to output to /proc/pid like the rest.