c/c++ database libraries?

2001-10-08 Thread Rob Hudson
When programming c/c++ apps, what do most open source folks use as it's storage libraries (for example, an address book or CD list). I can't imagine writing an app that requires mysql or postgres. Storing data as XML seems like too much overhead. I saw a book on the Berkeley database that is a

Re: Needing a random number generator for scripting

2001-09-28 Thread Rob Hudson
Check out 'man perlfaq4', and the question titled, How do I shuffle an array randomly?. It gives a nice algorithm for shuffling, which could be applied similar to below to output shuffled lines. -Rob On 20010928.0900, Anthony J. Breeds-Taurima said ... On Thu, 27 Sep 2001, Joey Hess wrote:

Mutt and Fcc

2001-09-19 Thread Rob Hudson
Is there a way to edit the Fcc (where the file gets written to on send) similar to how you edit the To and Cc lines? Thanks, Rob Random Quote: Why do programmers get Halloween and Christmas mixed up? Because OCT(31) == DEC(25)

Netgear FA311 driver from Scyld

2001-09-11 Thread Rob Hudson
Hi, I recently got the natsemi.c driver for my Netgear FA-311 card working. I compiled the .o files for both natsemi and pci_scan separately and inserted them and brought up my network card. I'd like to compile this driver into the kernel. I've done this with a Linksys LNE-100TX card, which is

Re: AMD 761

2001-09-10 Thread Rob Hudson
On 20010910.1315, Joerg Johannes said ... Rob Hudson wrote: Anyone know the status of the AMD 761 chipset support in Linux? What mainboard are you running? I have an ASUS A7M266 and it works great I have the Gigabyte GA-7DX. I had to do some trickery with the kernel to agpgart loaded

AMD 761

2001-09-07 Thread Rob Hudson
Anyone know the status of the AMD 761 chipset support in Linux? I have woody installed, plus 2.4.5 kernel. Any pointers appreciated. I can't get my video card to use the 4x AGP bus. Thanks, Rob

Re: OT: vim syntax highlight on C program files only?

2001-08-27 Thread Rob Hudson
I found stuff like this before and have been using it: When using mutt or slrn, text width=72 autocmd BufRead mutt*[0-9]set tw=72 autocmd BufRead .followup,.article,.letterset tw=72 Text files have a text width of 72 characters autocmd BufNewFile *.txt

Re: debian-user: strange problem with VIM and cursor keys.

2001-02-26 Thread Rob Hudson
Happens to me too (over an ssh connection). Don't know why. On 20010227.1109, Brendan J Simon said ... When I use VIM in an X terminal (eg. gnometerm), I can't use the cursor keys to navigate whilst in insert mode. *However*, if I have a ~/.vimrc file with nothing in it, I *can*

Re: Samba | VFS

2001-02-22 Thread Rob Hudson
Actually, I think that is what happened. When I ran 'ps ax', I saw screenfuls of 'nmdb -a'. I made a small modification to the smb.conf file and they seemed to go away - so did my VFS file-max problems. On 20010222.1450, F.P. Groeneveld said ... Nate Amsden [EMAIL PROTECTED] wrote: : check

Samba | VFS

2001-02-20 Thread Rob Hudson
We recently set up a Samba server on Debian potato. After a little uptime (about 30 minutes to an hour) we saw an error message that said: VFS: file-max limit 4096 reached I did some searching on the net, and found what might be a solution. I added a simple .sh script to the startup that

Re: XFree86 4.0.2 and Matrox G400

2001-02-20 Thread Rob Hudson
I've got the G450 also. I'm running dual-head. I think I read somewhere that DRI doesn't work under dual-head. Is this true? On 20010213.2045, Damon Muller said ... Quoth Lee Elliott, I'm not able to get hardware rendering/GL running on my G400. Kernel is currently 2.4.0-test11 (2.4.0

Fetchmail Sendmail

2001-02-16 Thread Rob Hudson
I'm using the fetchmail-procmail-sendmail combo to get mail off of a mailserver, filter it, and read it locally. I'm using that same mail server to pass sent mail to. In this case, I don't know if sendmail is overkill and if I should be using something different. What I'd like to fix is this...

Re: Firewall

2001-01-30 Thread Rob Hudson
I set up a firewall for my cable modem using FreeBSD, mostly b/c I had a friend's firewall I could use as an example and wanted to learn another Unix. I have a desktop behind the firewall running Debian. You do assign the firewall your static IP from your cable, then give everything behind the

Get a single file from a tar archive?

2001-01-23 Thread Rob Hudson
Anyone know of a way to do this? I need a single file out of a 1.6GB tar archive. It takes a _long_ time to untar|ungzip the archive. Is there a way to get that one file out if I know the exact name of it? Thanks, Rob

Re: mutt mailbox default

2001-01-08 Thread Rob Hudson
You could also make a symlink: ln -s /var/spool/mail/myself inbox from your ~/mail dir. On 20010108.2205, Marcelo Chiapparini said ... Hi! I want to mutt open looking into a given mailbox file, for example /home/myself/mail/inbox. How can I do it? Thanks in advance Marcelo --

Re: undo extraction

2001-01-07 Thread Rob Hudson
On 20010107.0504, Ethan Benson said ... On Sun, Jan 07, 2001 at 02:44:38PM +0100, M.B.Midden wrote: Hi if extracted GCC_2.95.2.1.tar.gz because i wanted to compile ProFTPd , and i want to undo it because i have no space left now in my root partition. How can i undo the extraction or

Re: GeForce2 MX, drivers, X4...

2001-01-03 Thread Rob Hudson
I installed X4.0.2 and the nVidia drivers 0.9-5. Just take your time and follow the steps in the docs that came with those packages and things should work. If you have an Asus P5A (what I have) or anything with an ALi chipset, there are a few extra steps, but they work nicely. As of version

Inspiration 2.4

2001-01-03 Thread Rob Hudson
I was inspired by this post at advogato [http://www.advogato.org/article/224.html] and would like to test the 2.4 kernel. I've tested ac patches and sent in bugs to Alan Cox and he was quick to respond with a fix. I have no idea how he does this with the amount of email I'm sure he gets, but it

Re: vim's syntax highlighting + typedefs from #include foo.h

2001-01-01 Thread Rob Hudson
1st part... You can do a 'locate .vim' to find where vim hides it's syntax files. Mine are in /usr/share/vim/vim56/syntax. The files are pretty ugly, but it should be too hard to find 'float' and add 'gfloat' to that list. I just test it, in c.vim, add gfloat to the end of line 121, so this:

Re: Linux does not run on my new motherboard :(

2000-12-26 Thread Rob Hudson
I was planning on buying this board soon, so I'm interested in the possibly solutions. Let me see if I got this right... (1) Use the UDMA-66 controller. (2) Compile a kernel with the UDMA-100 support in it (either on another machine, or when using the UDMA-66), and boot from that. But if you

Re: shutdown problem

2000-12-26 Thread Rob Hudson
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now On 20001226.2310, ktb said ... On Tue, Dec 26, 2000 at 10:36:54PM -0500, Jack wrote: hi all: it used to work well. I followed someone's suggestion and changed Ctrl-Alt-Del to shutdown the machine. Now I got this error:

X4.0.2 and keyboard repeat rate

2000-12-24 Thread Rob Hudson
I had this line in my X3.3.6 XF86Config file, but it doesn't seem to have an effect with X4.0.2. Option AutoRepeat500 5 How can I set the repeat rate? Thanks. -- Yay verily and was much work done, and several projects signed off. And there was much rejoicing. And QA came unto thy

Debian net install w/ new PCMCIA package?

2000-12-23 Thread Rob Hudson
I've got a PCMPC200 PCMCIA card for my laptop, and the recently released version of the PCMCIA packages have support for this card. (1) How can I find out which drivers are on the 1.44 image driver disks, and (2) if the latest PCMCIA package isn't there, can I make my own driver disk with it? I'm

Re: keeping the screen on

2000-12-23 Thread Rob Hudson
man xset I believe 'xset s off' will turn off the blanking. -Rob. On 20001223.2116, q said ... debs, since i use rather nice background images for my potato boxes, i like to keep the screens on even though, i may not be using my computers for more than 15 minutes, after which the

Mutt and group reply

2000-12-18 Thread Rob Hudson
Is there a command for .muttrc that tells mutt not to include me in the group reply (pressing g on a message)? Thanks.

Re: Mutt and group reply

2000-12-18 Thread Rob Hudson
. | For example: | | set alternates = bfk@(list\\.)?footbag\\.org|[EMAIL PROTECTED] | | cheers, | | brian | | Rob Hudson wrote: | | Is there a command for .muttrc that tells mutt not to include me in | the group reply (pressing g on a message)? | | Thanks. | | | -- | To UNSUBSCRIBE, email

Mutt mailboxes / mail.log filter

2000-12-13 Thread Rob Hudson
Is there a way for Mutt to display how many messages are in certain mailboxes? Say if I choose 3-4 that I want to monitor as procmail filters mail into them? I have gkrellm set up to watch my inbox and I don't want to add the other boxes to gkrellm, but if Mutt could give me a listing somewhere

Mutt Question

2000-12-07 Thread Rob Hudson
Hi, Is there a way to tell mutt to sort by thread mode by default (in .muttrc)? Thanks, Rob.

Re: HELIX and potato

2000-11-07 Thread Rob Hudson
- | From: Johann Spies [SMTP:[EMAIL PROTECTED] | Sent: Tuesday, November 07, 2000 3:23 AM | To: Debian | Subject:Re: HELIX and potato | | On Mon, Nov 06, 2000 at 09:19:40PM -0900, Ethan Benson wrote: | On Mon, Nov 06, 2000 at 11:47:56AM -0800, Rob Hudson wrote: |lynx -source

Re: HELIX and potato

2000-11-06 Thread Rob Hudson
I don't know if this is the preferred way to get Helix Gnome installed, but I typed this at the command prompt and it worked... lynx -source http://go-gnome.org | sh -Rob. Debian Ghost said these things on 20001106.1400: | Hey Guys, | I notice that there is no helix gnome package for potato. |

-- MARK -- in log files

2000-11-03 Thread Rob Hudson
I was curious how to not have all of the '-- MARK --'s in my log files. What are their intended purpose? thanks, Rob.

Re: mutt's pager and 8 bit chars (solved)

2000-11-01 Thread Rob Hudson
Mirko Parthey said these things on 20001101.1622: | On Wed, Nov 01, 2000 at 10:07:54AM -0500, Chris Gray wrote: | | I can't figure out how to make mutt's builtin pager | display characters = chr(128), e.g. German Umlauts (ÄÖÜßäöü), | they are shown as question marks. | | I have my LANG

Re: i think i need a mailbox

2000-11-01 Thread Rob Hudson
What I did with my setup (fetchmail/procmail/sendmail/mutt) is create a .mail dir in my home dir. The create a symlink from .mail/inbox to /var/spool/mail/username Then mutt can create its own mail folders (files) in .mail and you can easily archive that directory if you want to later. -Rob.

Re: EFM

2000-10-31 Thread Rob Hudson
EFM - Enlightenment File Manager? No, I had it running a while ago to see how it worked in XF3.6. It's pretty slick. -Rob. Debian Ghost said these things on 20001031.1536: | Hello, | Anyone know if EFM requres XF4.0? | I'd like to try, but I am running XF3.6 on a ati rage pro + dvd. | |

Re: Conexion a internet

2000-10-25 Thread Rob Hudson
Yo sé español solo un poquito, pero pienso yo sé cual es tu problema... En el file /etc/resolv.conf, tu debes escribir un primero y segundo nameserver. Por ejemplo, mi file es como el siguiente: search erehwon.com nameserver 207.189.137.1 nameserver 207.189.137.2 -Rob. Roberto

Xfree86 symlinks gone

2000-10-24 Thread Rob Hudson
One day I attempted to get xinerama and XFree86 4.0.1 working on my box. I copied all the files from XF3 to a backup location, attempted to get XF4 up and running. I failed. And since this is my work machine, I needed XF3 back for the following Monday. I removed the new XF4 stuff, and copied

Re: Xfree86 symlinks gone

2000-10-24 Thread Rob Hudson
Hubert Chan said these things on 20001024.1151: | Rob Hudson [EMAIL PROTECTED] writes: | | [cut] | Setting up libgnomeui32 (1.2.8-helix1) ... | ldconfig: warning: /usr/X11R6/lib/libXpm.so.4 is not a symlink | ldconfig: warning: /usr/X11R6/lib/libXaw3d.so.6 is not a symlink | ldconfig: warning

Key mapping in X

2000-10-24 Thread Rob Hudson
I'm a big vim user and would like to switch the functionality of the Caps_Lock key and the Escape key. I have found where to do this in the console. Which file to I edit to swap these in X? Thanks, Rob.

Re: Key mapping in X

2000-10-24 Thread Rob Hudson
have to tell it to? Thanks, Rob. Stephen A. Witt said these things on 20001024.1519: | On Tue, 24 Oct 2000, Rob Hudson wrote: | | I'm a big vim user and would like to switch the functionality of the | Caps_Lock key and the Escape key. I have found where to do this in | the console. Which file