Re: Help porting Linux app - getting Free Memory and Real Memory

2013-03-29 Thread Rod Person
On 03/28/13 23:28, Peter Jeremy wrote: On 2013-Mar-29 20:27:27 -0400, Rod Person rodper...@rodperson.com wrote: Everything is going we except that the program gives warnings that there isn't enough free memory on the system to perform certain actions. That premise sounds suspiciously like

Re: Help porting Linux app - getting Free Memory and Real Memory

2013-03-29 Thread Rod Person
On 03/29/13 08:34, Lowell Gilbert wrote: Peter Jeremy pe...@rulingia.com writes: On 2013-Mar-29 20:27:27 -0400, Rod Person rodper...@rodperson.com wrote: Everything is going we except that the program gives warnings that there isn't enough free memory on the system to perform certain actions

Re: Help porting Linux app - getting Free Memory and Real Memory

2013-03-29 Thread Rod Person
On 03/29/13 10:04, Lowell Gilbert wrote: I would recommend removing the check completely. The upstream author should do this for the Linux version as well; it really doesn't make sense in a system that supports virtual memory. If you decide to support it anyway to make some kind of performance

Help porting Linux app - getting Free Memory and Real Memory

2013-03-28 Thread Rod Person
Hi All, I'm working on a port I maintain and the code has drastically changed. Everything is going we except that the program gives warnings that there isn't enough free memory on the system to perform certain actions. The program uses Linux call to /proc/meminfo to get this information. I've

Re: Kylix in FreeBSD

2003-11-06 Thread Rod Person
On Thursday 06 November 2003 09:09 am, It was written: If you futs with getting Kylix to run under FreeBSD, don't forget the special glibc requirements that some versions of Kylix have. Maybe you should probably simply replace the entire /compat userland with the userland of a distro that

Trying to learn X programming.

2001-11-04 Thread Rod Person
This is a little Linux code that changes resolution of X on the fly. There seems to be some differences in the Linux and FreeBSD use of XOpenDisplay. I read the man pages and tried changing the code a few different ways but it won't compile. Here's how I try to compile gcc -o

Re: Trying to learn X programming.

2001-11-04 Thread Rod Person
Thanks. That compiled but of course trying to use it generates core dumps. Damn linux code :) Rod It was Sun, 4 Nov 2001 12:24:41 -0600 and I don't really know but somebody said: * Rod Person [EMAIL PROTECTED] [011104 10:11] wrote: This is a little Linux code that changes resolution of X

bash scripting help/suggestions.

2001-10-20 Thread Rod Person
I'm creating a bash script and I need to know if a directory exists and if it doesn't create it. So far the only why I can see to determine if a directory exists is to try to cd to it and if it doesn't exists trap the error. Is there a better way or a function that I am missing? If not how do

Re: bash scripting help/suggestions.

2001-10-20 Thread Rod Person
Thanks. That exactly what I needed. It was Sat, 20 Oct 2001 23:44:30 +0200 and I don't really know but somebody said: On Sat, Oct 20, 2001 at 05:35:45PM -0400, Rod Person wrote: man test(1) tells you how to check for a directory (and lots more BTW) mkdir -p might also interest you (see