gzip library (compressing a buffer in C)

2003-07-07 Thread Chris Ptacek
Does anyone know if there is a library available to allow a C program to gzip a buffer. Basically I have a buffer of data that I will be transfering and would like to gzip it before sending. The receiving system already does a gunzip and I am trying to handle the same format, so other compression

Loading the system from a nonstandard (not s1a) partition?

2003-06-03 Thread Chris Ptacek
I am wondering if it is possible to load the system from a non-standard (not s1a) partition. I am working on a system that has an existing disk layout with a s1g partition that I would like to turn into a recovery/backup partition (in case of corruption). I have created a small base system on the

RE: VNC and blackbox

2003-04-03 Thread Chris Ptacek
Try removing the & from after blackbox. I run KDE and this is what my xstartup looks like: #!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & autocutsel & xhost + startkde - Chris > -Original Message- > From: E. J. Cer

FreeBSD, VNC, and VIM: problems...

2003-01-23 Thread Chris Ptacek
I have recently installed FreeBSD 4.7, VNC, and VIM. When attempting to use gvim under vnc vim fails. Everything is fine when I log in normally (console and startx) however when I run gvim under VNC with the -V5 option I get the following message: finished sourcing /usr/local/share/vim/vim61

devbuf state in top

2002-10-18 Thread Chris Ptacek
I had a process whose state under top was listed as devbuf. This process seemed to be stuck and I was unable to kill it. I ended up rebooting the box to reset it. None of the man pages (TOP, PS) list the devbuf state. What is it and what was the process trying to do? I am guessing it had somet

RE: prc-tools-2.2 on FreeBSD-4.7 build errors

2002-10-18 Thread Chris Ptacek
-- This problem appears on Mac OS X as well. Disabling NLS through the autoconf script was always the way around this as you suggested. Interesting though that two BSD systems have the same problem, do you guys think this requires further investigation? -----Original Message- From: Chris Ptace

prc-tools-2.2 on FreeBSD-4.7 build errors

2002-10-17 Thread Chris Ptacek
I have followed the build instructions http://prc-tools.sourceforge.net/install/BUILDING.html and am having problems getting prc-tools-2.2 to build. Has anyone else had any luck? I am using the tarballs specified in the instructions. I have tried switching between patch, gpatch, make, and gmake w