Re: nvi for serious hacking

2005-10-19 Thread Danny Braniss
> At 1:25 PM -0600 10/17/05, M. Warner Losh wrote: > >In message: <[EMAIL PROTECTED]> > > Gary Kline <[EMAIL PROTECTED]> writes: > >:vi was the first screen/cursor-based editor in computer > >:history. > > > >Are you sure about this? I was using screen oriented editors over a >

Re: help regarding : To recieve and tranmit packet th' an interface

2005-10-19 Thread Sergey Babkin
>From: rashmi ns <[EMAIL PROTECTED]> >Hello List-members, >we are writing a driver for HDLC-Controller We have coded upto some extent >and actully we are able to transmit and recieve a char buff in loopback >(from inside a driver). >But we want to tranmit/Rx a real packet in (mbuf structure) and t

Re: nvi for serious hacking

2005-10-19 Thread Gary Kline
On Mon, Oct 17, 2005 at 01:25:32PM -0600, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > Gary Kline <[EMAIL PROTECTED]> writes: > : vi was the first screen/cursor-based editor in computer > : history. > > Are you sure about this? I was using screen oriented editors

Re: Accessing USB Mass Storage Device

2005-10-19 Thread Daniel Rudy
At about the time of 10/18/2005 9:38 PM, M. Warner Losh stated the following: > In message: <[EMAIL PROTECTED]> > Daniel Rudy <[EMAIL PROTECTED]> writes: > : > : When the umass driver is compiled into the kernel, and one inserts a USB > : mass storage device, how does one access the d

rc scripts: how to start a process that doesn't daemonize itself?

2005-10-19 Thread Marco Molteni
Hi, I have a program that I would like to control via a rc script, say /usr/local/etc/rc.d/myprog problem is this program needs to be put explicitly in background. I was playing with things like command="/usr/sbin/daemon /usr/local/bin/myprog" but this obviously works only for the start case.

Re: rc scripts: how to start a process that doesn't daemonize itself?

2005-10-19 Thread Alex Dupre
Marco Molteni wrote: Should I just override start() completely or is there a common way to do it? I don't think I can simply pass a "&" somewhere... Oh, yes, you can: command_args="&" should do the work. -- Alex Dupre ___ freebsd-hackers@freebsd.or

Re: rc scripts: how to start a process that doesn't daemonize itself?

2005-10-19 Thread Dan Nelson
In the last episode (Oct 19), Marco Molteni said: > I have a program that I would like to control via a rc script, > say /usr/local/etc/rc.d/myprog > > problem is this program needs to be put explicitly in background. > > I was playing with things like > > command="/usr/sbin/daemon /usr/local/bi

Re: How to determine link of umass/da devices

2005-10-19 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Tom Alsberg <[EMAIL PROTECTED]> writes: : With tools like usbdevs and sysctl, I can find out what USB devices : are connected, and also what USB drivers handle them (so I can see, : for example, that there is a SanDisk Cruzer Micro connected to port 2 : i

Re: rc scripts: how to start a process that doesn't daemonize itself?

2005-10-19 Thread Marco Molteni
On Wed, 19 Oct 2005 10:36:55 -0500 Dan Nelson <[EMAIL PROTECTED]> wrote: > In the last episode (Oct 19), Marco Molteni said: > > I have a program that I would like to control via a rc script, > > say /usr/local/etc/rc.d/myprog > > > > problem is this program needs to be put explicitly in backgrou

Re: nvi for serious hacking

2005-10-19 Thread Steve Watt
In article <[EMAIL PROTECTED]> you write: >Hello, FreeBSD people. > >First thing to mention is that I'm very experienced Emacs user. I was using it [ snip reasons for becoming a VI user ] >and according to documentation it has powerful editing mechanism. It is. >So, my question goes to all FreeBS

Re: nvi for serious hacking

2005-10-19 Thread Peter Jeremy
On Wed, 2005-Oct-19 12:59:04 -0700, Steve Watt wrote: >In article <[EMAIL PROTECTED]> you write: >>Does it have interface to gdb? And such other things..) ... >I can't imagine why an editor should interface with gdb -- that's what >other windows are for. When stepping through code, it's nice to ha

Re: rc scripts: how to start a process that doesn't daemonize itself?

2005-10-19 Thread Robert Watson
On Wed, 19 Oct 2005, Marco Molteni wrote: Try putting the "&" in command_args; that way it'll only be used during startup. I do that in some of my homegrown rc.d scripts. A (probably cleaner) way is to set start_cmd="/usr/sbin/daemon /usr/local/bin/myprog" thanks to you and the others po

Re: adding new device to base system

2005-10-19 Thread Daniel O'Connor
On Wed, 19 Oct 2005 00:20, Jerry wrote: > I reinstalled FreeBSD 5.4. It works now. I may have broken something > earlier. A reinstall is a bit agressive.. You could have just re-cvsup'd your source tree. > -Original Message- > From: Daniel O'Connor [mailto:[EMAIL PROTECTED] > Sent: Monday

Which branch?

2005-10-19 Thread Daniel Molina Wegener
Hello, My computer is running with FreeBSD 5.4-STABLE. I've tried updating the source tree with RELENG_5, but I get some compile time errors. Is the RELENG_5 branch abandoned? Also, I must download the RELENG_6 branch (6-STABLE) and contribute to this branch?. Thanks... Regards --

Re: Which branch?

2005-10-19 Thread Brooks Davis
On Thu, Oct 20, 2005 at 01:09:02AM -0300, Daniel Molina Wegener wrote: > > Hello, > >My computer is running with FreeBSD 5.4-STABLE. I've tried > updating the source tree with RELENG_5, but I get some compile > time errors. > >Is the RELENG_5 branch abandoned? No. We can't help you wit

export nullfs via NFS

2005-10-19 Thread Andrey V. Elsukov
Hi, All! I want to export folder with very long pathname via NFS. This is inconvenient. I try to mount this folder into other folder with shorter pathname through nullfs. But nullfs can not be exported via NFS. I have made the small patch for mountd and nullfs that allow export nullfs. But i have

USB mouse problem

2005-10-19 Thread Kris Maglione
I've had a Gyration USB keyboard/mouse combo for a few years, and haven't used the mouse, simply because it didn't work with FreeBSD. I've finally gotten around to trying to do something about that. Both the mouse and keyboard are recognized. The problem is that all input is ignored unless the

Re: USB mouse problem

2005-10-19 Thread Kris Maglione
I guess I shouldn't post to this list so late at night... The ++ part of *ibuf++ just hit me. Replacing if (sc->sc_iid) with if (0 && ...) fixes the whole problem. I'd still like to find a way to fix this permanantly. -- Kris Maglione Whatever can go to New York, will. ___