Re: [PATCH] Fancy rc startup style RFC

2006-07-25 Thread Eric Anderson
On 05/25/06 15:15, Eric Anderson wrote: Coleman Kane wrote: On Wed, May 24, 2006 at 12:29:28PM -0500, Eric Anderson wrote, and it was proclaimed: Eric Anderson wrote: Coleman Kane wrote: On Mon, May 01, 2006 at 12:29:20PM -0700, Brooks Davis wrote: On Mon, May 01, 2006 at 02:16:04PM -0500, E

Re: [PATCH] Fancy rc startup style RFC

2006-05-25 Thread Eric Anderson
Coleman Kane wrote: On Wed, May 24, 2006 at 12:29:28PM -0500, Eric Anderson wrote, and it was proclaimed: Eric Anderson wrote: Coleman Kane wrote: On Mon, May 01, 2006 at 12:29:20PM -0700, Brooks Davis wrote: On Mon, May 01, 2006 at 02:16:04PM -0500, Eric Anderson wrote: Brooks Davis wrote:

Re: [PATCH] Fancy rc startup style RFC

2006-05-24 Thread Coleman Kane
On Wed, May 24, 2006 at 12:29:28PM -0500, Eric Anderson wrote, and it was proclaimed: > Eric Anderson wrote: > >Coleman Kane wrote: > >>On Mon, May 01, 2006 at 12:29:20PM -0700, Brooks Davis wrote: > >>>On Mon, May 01, 2006 at 02:16:04PM -0500, Eric Anderson wrote: > Brooks Davis wrote: >

Re: [PATCH] Fancy rc startup style RFC

2006-05-24 Thread Eric Anderson
Eric Anderson wrote: Coleman Kane wrote: On Mon, May 01, 2006 at 12:29:20PM -0700, Brooks Davis wrote: On Mon, May 01, 2006 at 02:16:04PM -0500, Eric Anderson wrote: Brooks Davis wrote: On Mon, May 01, 2006 at 02:13:22PM -0500, Eric Anderson wrote: Brooks Davis wrote: On Sun, Apr 30, 2006 a

Re: [PATCH] Fancy rc startup style RFC - v6

2006-05-05 Thread Coleman Kane
Hey all, My webserver went down earlier this week, and I have moved my mail. I am in the arduous process of getting a new replacement. I apologize for the delay however, on the rc.subr colorization project, and hope to have the newest updates available again soon. -- Coleman Kane __

Re: [PATCH] Fancy rc startup style RFC - v6

2006-05-05 Thread Oliver Fromme
Hi, Sorry for replying to an old message, but nobody has responded to this particular question, so I give it a try ... Coleman Kane <[EMAIL PROTECTED]> wrote: > > One unfortunate thing about /bin/sh: [from the sh(1) manpage] > > Only one of the -e and -n options may be specifie

Re: [PATCH] Fancy rc startup style RFC

2006-05-02 Thread Eric Anderson
Coleman Kane wrote: On Mon, May 01, 2006 at 12:29:20PM -0700, Brooks Davis wrote: On Mon, May 01, 2006 at 02:16:04PM -0500, Eric Anderson wrote: Brooks Davis wrote: On Mon, May 01, 2006 at 02:13:22PM -0500, Eric Anderson wrote: Brooks Davis wrote: On Sun, Apr 30, 2006 at 10:23:32PM -0500, Er

Re: [PATCH] Fancy rc startup style RFC

2006-05-01 Thread Coleman Kane
On Mon, May 01, 2006 at 12:29:20PM -0700, Brooks Davis wrote: > On Mon, May 01, 2006 at 02:16:04PM -0500, Eric Anderson wrote: > > Brooks Davis wrote: > > >On Mon, May 01, 2006 at 02:13:22PM -0500, Eric Anderson wrote: > > >>Brooks Davis wrote: > > >>>On Sun, Apr 30, 2006 at 10:23:32PM -0500, Eric

Re: [PATCH] Fancy rc startup style RFC

2006-05-01 Thread Brooks Davis
On Mon, May 01, 2006 at 02:16:04PM -0500, Eric Anderson wrote: > Brooks Davis wrote: > >On Mon, May 01, 2006 at 02:13:22PM -0500, Eric Anderson wrote: > >>Brooks Davis wrote: > >>>On Sun, Apr 30, 2006 at 10:23:32PM -0500, Eric Anderson wrote: > Coleman Kane wrote: > >On Mon, Apr 24, 2006 at

Re: [PATCH] Fancy rc startup style RFC

2006-05-01 Thread Eric Anderson
Brooks Davis wrote: On Mon, May 01, 2006 at 02:13:22PM -0500, Eric Anderson wrote: Brooks Davis wrote: On Sun, Apr 30, 2006 at 10:23:32PM -0500, Eric Anderson wrote: Coleman Kane wrote: On Mon, Apr 24, 2006 at 09:45:09AM -0500, Eric Anderson wrote: Eric Anderson wrote: Actually, some other

Re: [PATCH] Fancy rc startup style RFC

2006-05-01 Thread Brooks Davis
On Mon, May 01, 2006 at 02:13:22PM -0500, Eric Anderson wrote: > Brooks Davis wrote: > >On Sun, Apr 30, 2006 at 10:23:32PM -0500, Eric Anderson wrote: > >>Coleman Kane wrote: > >>>On Mon, Apr 24, 2006 at 09:45:09AM -0500, Eric Anderson wrote: > Eric Anderson wrote: > > Actually, some o

Re: [PATCH] Fancy rc startup style RFC

2006-05-01 Thread Eric Anderson
Brooks Davis wrote: On Sun, Apr 30, 2006 at 10:23:32PM -0500, Eric Anderson wrote: Coleman Kane wrote: On Mon, Apr 24, 2006 at 09:45:09AM -0500, Eric Anderson wrote: Eric Anderson wrote: Actually, some other things got changed somewhere in the history, that broke some things and assumptions

Re: [PATCH] Fancy rc startup style RFC

2006-05-01 Thread Brooks Davis
On Sun, Apr 30, 2006 at 10:23:32PM -0500, Eric Anderson wrote: > Coleman Kane wrote: > >On Mon, Apr 24, 2006 at 09:45:09AM -0500, Eric Anderson wrote: > >>Eric Anderson wrote: > >> > >>Actually, some other things got changed somewhere in the history, that > >>broke some things and assumptions I wa

Re: [PATCH] Fancy rc startup style RFC

2006-04-30 Thread Eric Anderson
Coleman Kane wrote: On Mon, Apr 24, 2006 at 09:45:09AM -0500, Eric Anderson wrote: Eric Anderson wrote: Actually, some other things got changed somewhere in the history, that broke some things and assumptions I was making. This patch has them fixed, and I've tested it with all the different

Re: [PATCH] Fancy rc startup style RFC

2006-04-30 Thread Coleman Kane
On Mon, Apr 24, 2006 at 09:45:09AM -0500, Eric Anderson wrote: > Eric Anderson wrote: > > Actually, some other things got changed somewhere in the history, that > broke some things and assumptions I was making. This patch has them > fixed, and I've tested it with all the different options: > >

Re: [PATCH] Fancy rc startup style RFC - v6

2006-04-23 Thread Coleman Kane
On 4/23/06, Sean Winn <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > > On Thu, Apr 20, 2006 at 10:32:33PM -0500, Eric Anderson wrote: > >> Other than that, do we have general consensus that these do what they > >> claim? Any outstanding issues that haven't been addressed? > > > > One re

RE: [PATCH] Fancy rc startup style RFC - v6

2006-04-23 Thread Sean Winn
[EMAIL PROTECTED] wrote: > On Thu, Apr 20, 2006 at 10:32:33PM -0500, Eric Anderson wrote: >> Other than that, do we have general consensus that these do what they >> claim? Any outstanding issues that haven't been addressed? > > One request: > > Please remove the two seperate rc.conf lines, and

Re: [PATCH] Fancy rc startup style RFC - v6

2006-04-22 Thread Avleen Vig
On Thu, Apr 20, 2006 at 10:32:33PM -0500, Eric Anderson wrote: > Other than that, do we have general consensus that these do what they > claim? Any outstanding issues that haven't been addressed? One request: Please remove the two seperate rc.conf lines, and replace with just one: rc_fancy= Y

Re: [PATCH] Fancy rc startup style RFC - v6

2006-04-22 Thread Coleman Kane
On 4/21/06, David Barbero <[EMAIL PROTECTED]> wrote: > > > Eric Anderson escribió: > >> After to apply the patch, so that it works is necessary to put in > >> rc.conf > >> rc_fancy="YES ", when put this single entry, the system gives errors > >> saying that correctly this entry in rc.conf is not co

Re: [PATCH] Fancy rc startup style RFC - v6

2006-04-22 Thread Coleman Kane
On Thu, Apr 20, 2006 at 10:32:33PM -0500, Eric Anderson wrote: > > > This looks good. I only wonder about two things now: > > - Should we also have a line for the actual colors used too? Or is that > going too crazy? > > - Does it meet style(9)? I'm wondering about line lengths now. > > Oth

Re: [PATCH] Fancy rc startup style RFC - v6

2006-04-21 Thread David Barbero
Eric Anderson escribió: >> After to apply the patch, so that it works is necessary to put in >> rc.conf >> rc_fancy="YES ", when put this single entry, the system gives errors >> saying that correctly this entry in rc.conf is not correctly defined, >> adding single rc_fancy_color="YES" gives the s

Re: [PATCH] Fancy rc startup style RFC - v6

2006-04-20 Thread Danny Braniss
> Coleman Kane wrote: > > On 4/20/06, *Eric Anderson* <[EMAIL PROTECTED] > > > wrote: > > > > David Barbero wrote: > > > > > --- snip --- > > > > Yep, that's a bug. I think it's fixed in v7, available here: > > > > http://www.googlebit.com/freebs

Re: [PATCH] Fancy rc startup style RFC - v6

2006-04-20 Thread Coleman Kane
On 4/20/06, Eric Anderson <[EMAIL PROTECTED]> wrote: > > David Barbero wrote: > > > --- snip --- > Yep, that's a bug. I think it's fixed in v7, available here: > > http://www.googlebit.com/freebsd/patches/rc_fancy.patch-7 > > along with a few other suggestions from others. > > > > Another one of

Re: [PATCH] Fancy rc startup style RFC - v6

2006-04-20 Thread Coleman Kane
On 4/20/06, Eric Anderson <[EMAIL PROTECTED]> wrote: > > Coleman Kane wrote: > > > > I have modified the patch as follows: > > > > Made a bunch of the settings tunable by the user (message text and field > > widths). > > > > It is availalbe at http://www.cokane.org/files/rc_fancy-cokane2.patch > >

Re: [PATCH] Fancy rc startup style RFC - v6

2006-04-20 Thread Eric Anderson
Coleman Kane wrote: On 4/20/06, *Eric Anderson* <[EMAIL PROTECTED] > wrote: David Barbero wrote: > --- snip --- Yep, that's a bug. I think it's fixed in v7, available here: http://www.googlebit.com/freebsd/patches/rc_fancy.patch-7 along wi

Re: [PATCH] Fancy rc startup style RFC

2006-04-20 Thread Eric Anderson
TECTED]> Subject: Re: [PATCH] Fancy rc startup style RFC On 4/19/06, Mike Meyer <[EMAIL PROTECTED]> wrote: In <[EMAIL PROTECTED]>, Coleman Kane <[EMAIL PROTECTED]> typed: On 4/19/06, Mike Meyer <[EMAIL PROTECTED] wrote: How about we all discuss good choices for &

Re: [PATCH] Fancy rc startup style RFC - v6

2006-04-20 Thread Eric Anderson
David Barbero wrote: Eric Anderson escribió: Thanks to Rick Petty for pointing me in the right direction (man page!), here's the latest, and I think solid patch (for RELENG-6): http://www.googlebit.com/freebsd/patches/rc_fancy.patch-6 Eric Hi all. I have found several anomalies operation

Re: [PATCH] Fancy rc startup style RFC

2006-04-20 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Bill Vermillion <[EMAIL PROTECTED]> typed: > The way to check if a web-site is readable by all it to use > a monochrome monitor [ exceedingly hard to find nowdays ], and > at least some government sites are now required to be that way. This is part of "section 508", and *a

Re: [PATCH] Fancy rc startup style RFC

2006-04-20 Thread Bill Vermillion
While stranded on the shoulder of the Information Superhiway and trying to flag down some passing bytes [EMAIL PROTECTED] said "Bits don't fail me now", and continued with: > Date: Wed, 19 Apr 2006 13:03:57 -0400 > From: "Coleman Kane" <[EMAIL PROTECTED]> &g

Re: [PATCH] Fancy rc startup style RFC - v6

2006-04-20 Thread David Barbero
Eric Anderson escribió: > > Thanks to Rick Petty for pointing me in the right direction (man page!), > here's the latest, and I think solid patch (for RELENG-6): > > > http://www.googlebit.com/freebsd/patches/rc_fancy.patch-6 > > > Eric > Hi all. I have found several anomalies operations in the

RE: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Murray Taylor
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Brooks Davis > Sent: Thursday, 20 April 2006 9:58 AM > To: Bruce M Simpson; [EMAIL PROTECTED]; Eric Anderson; > freebsd-hackers@freebsd.org > Subject: Re: [PATCH] Fancy rc star

Re: Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Bill Vermillion
They all laughed on Wed, Apr 19, 2006 at 13:32 when Mike Meyer said: > In <[EMAIL PROTECTED]>, Sergey Babkin <[EMAIL PROTECTED]> typed: > > >From: Bill Vermillion <[EMAIL PROTECTED]> > > > > has some > > >color vision problem. Mine is a bit more than others. Everytime > > >I get called to wo

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Greg Black
On 2006-04-19, Brooks Davis wrote: > On Thu, Apr 20, 2006 at 12:43:43AM +0100, Bruce M Simpson wrote: > > On Wed, Apr 19, 2006 at 10:46:09AM -0400, Coleman Kane wrote: > > > My point is that we should let our purist values get in the way of others' > > > enhanced experience using the system. > > >

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Brooks Davis
On Thu, Apr 20, 2006 at 12:43:43AM +0100, Bruce M Simpson wrote: > On Wed, Apr 19, 2006 at 10:46:09AM -0400, Coleman Kane wrote: > > My point is that we should let our purist values get in the way of others' > > enhanced experience using the system. > > My view is: We take the patch, as long as it

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Bruce M Simpson
On Wed, Apr 19, 2006 at 10:46:09AM -0400, Coleman Kane wrote: > My point is that we should let our purist values get in the way of others' > enhanced experience using the system. My view is: We take the patch, as long as it doesn't interfere with the internal machinations of rc too much. There ar

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Lucas Holt
On Apr 19, 2006, at 2:07 PM, Eric Anderson wrote: Ok - first, let me remind everyone that this is for startup/ shutdown of scripts and such, not for ls and other things. I'd also like to remind everyone that the default for the whole thing can be OFF, so you won't even know the option ex

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Eric Anderson
Bill Vermillion wrote: "Ang utong ko ay sasabog sa sarap!" exclaimed Sergey Babkin while reading this message on Wed, Apr 19, 2006 at 12:18 and then responded with: From: Bill Vermillion <[EMAIL PROTECTED]> has some color vision problem. Mine is a bit more than others. Everytime I get c

Re: Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Bill Vermillion
"Ang utong ko ay sasabog sa sarap!" exclaimed Sergey Babkin while reading this message on Wed, Apr 19, 2006 at 12:18 and then responded with: > >From: Bill Vermillion <[EMAIL PROTECTED]> > > has some > >color vision problem. Mine is a bit more than others. Everytime > >I get called to work o

Re: Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Sergey Babkin <[EMAIL PROTECTED]> typed: > >From: Bill Vermillion <[EMAIL PROTECTED]> > > has some > >color vision problem. Mine is a bit more than others. Everytime > >I get called to work on a Linux system, I have to go in and disable > >the colors as the reds and othe

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Coleman Kane
On 4/19/06, Mike Meyer <[EMAIL PROTECTED]> wrote: > > In <[EMAIL PROTECTED]>, Coleman > Kane <[EMAIL PROTECTED]> typed: > > On 4/19/06, Mike Meyer <[EMAIL PROTECTED]> > wrote: > > How about we all discuss good choices for "default" colors? > > Depends on the goal: do you want the default to work fo

Re: Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Sergey Babkin
>From: Bill Vermillion <[EMAIL PROTECTED]> has some >color vision problem. Mine is a bit more than others. Everytime >I get called to work on a Linux system, I have to go in and disable >the colors as the reds and other colors become very hard to see >against a dark background. The problem is

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Brooks Davis
On Wed, Apr 19, 2006 at 05:57:21PM +1000, Peter Jeremy wrote: > On Tue, 2006-Apr-18 15:02:27 -0500, Eric Anderson wrote: > >Peter Jeremy wrote: > >>>+ padding="" > >>>+ paddingsize=$(($columns - 15 - $2 - $namesize)) > >>>+ until [ 0 = ${paddingsize} ]; do > >>>+ padding=" $padding" > >

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Coleman Kane <[EMAIL PROTECTED]> typed: > On 4/19/06, Mike Meyer <[EMAIL PROTECTED]> wrote: > How about we all discuss good choices for "default" colors? Depends on the goal: do you want the default to work for everyone, or do you want the default to be prettier and/or bett

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Coleman Kane
On 4/19/06, Mike Meyer <[EMAIL PROTECTED]> wrote: > > In <[EMAIL PROTECTED]>, Coleman > Kane <[EMAIL PROTECTED]> typed: > > On 4/19/06, Eric Anderson <[EMAIL PROTECTED]> wrote: > > > >>> Please do not use colors in rc. Escape-sequenced colors make > > > >>> unacceptable assumptions about the user a

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Coleman Kane <[EMAIL PROTECTED]> typed: > On 4/19/06, Eric Anderson <[EMAIL PROTECTED]> wrote: > > >>> Please do not use colors in rc. Escape-sequenced colors make > > >>> unacceptable assumptions about the user and syslogd strips > > >>> escape sequences anyway, so it would

Re: [PATCH] Fancy rc startup style RFC - v6

2006-04-19 Thread Pieter de Goeje
On Wednesday 19 April 2006 16:39, Eric Anderson wrote: > Eric Anderson wrote: > > Eric Anderson wrote: > >> Bill Vermillion wrote: > >>> Somewhere around Wed, Apr 19, 2006 at 04:07 , the world stopped > >>> and listened as [EMAIL PROTECTED] graced us with > >>> this profound tidbit of wisdom that w

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Coleman Kane
On 4/19/06, Eric Anderson <[EMAIL PROTECTED]> wrote: > > Eric Anderson wrote: > > Bill Vermillion wrote: > >> Somewhere around Wed, Apr 19, 2006 at 04:07 , the world stopped > >> and listened as [EMAIL PROTECTED] graced us with > >> this profound tidbit of wisdom that would fulfill the enjoyment of

Re: [PATCH] Fancy rc startup style RFC - v6

2006-04-19 Thread Eric Anderson
Eric Anderson wrote: Eric Anderson wrote: Bill Vermillion wrote: Somewhere around Wed, Apr 19, 2006 at 04:07 , the world stopped and listened as [EMAIL PROTECTED] graced us with this profound tidbit of wisdom that would fulfill the enjoyment of future generations: Message: 20 Date: Tue, 18 Ap

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Eric Anderson
Eric Anderson wrote: Bill Vermillion wrote: Somewhere around Wed, Apr 19, 2006 at 04:07 , the world stopped and listened as [EMAIL PROTECTED] graced us with this profound tidbit of wisdom that would fulfill the enjoyment of future generations: Message: 20 Date: Tue, 18 Apr 2006 15:07:31 -0700

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Eric Anderson
Bill Vermillion wrote: Somewhere around Wed, Apr 19, 2006 at 04:07 , the world stopped and listened as [EMAIL PROTECTED] graced us with this profound tidbit of wisdom that would fulfill the enjoyment of future generations: Message: 20 Date: Tue, 18 Apr 2006 15:07:31 -0700 From: Darren Pilgrim <

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Bill Vermillion
Somewhere around Wed, Apr 19, 2006 at 04:07 , the world stopped and listened as [EMAIL PROTECTED] graced us with this profound tidbit of wisdom that would fulfill the enjoyment of future generations: > Message: 20 > Date: Tue, 18 Apr 2006 15:07:31 -0700 > From: Darren Pilgrim <[EMAIL PROTECTED]>

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Peter Jeremy
On Tue, 2006-Apr-18 15:02:27 -0500, Eric Anderson wrote: >Peter Jeremy wrote: >>>+padding="" >>>+paddingsize=$(($columns - 15 - $2 - $namesize)) >>>+until [ 0 = ${paddingsize} ]; do >>>+padding=" $padding" >>>+paddingsize=$(($paddingsize - 1)) >>>+done >> >>T

Re: [PATCH] Fancy rc startup style RFC

2006-04-19 Thread Peter Jeremy
On Tue, 2006-Apr-18 18:26:33 -0400, Coleman Kane wrote: >As for your "buggy escape handling" of third-party terminals: 1) Don't >enable the feature and it won't be a problem, or 2) Don't use crappy >third-party terminal software that will die when it recieves ^[[0;31;40m >rather than setting the at

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Robert Watson
On Tue, 18 Apr 2006, Coleman Kane wrote: I understand your concerns regarding the "pollution" of rc messages with excess baggage such as ANSI-color sequences and attributes. The patches have been set up in such a way as to provide the "fancy" capability only on demand, and the "fancy w/ color"

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Coleman Kane
On 4/18/06, Doug Barton <[EMAIL PROTECTED]> wrote: > > While I personally am not necessarily opposed to this kind of patch, you > should be aware that this idea has been proposed in the past, and roundly > rejected. The consensus has been that we don't necessarily want FreeBSD to > look like other

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Coleman Kane
On 4/18/06, Darren Pilgrim <[EMAIL PROTECTED]> wrote: > > Eric Anderson wrote: > > > > If I could figure out how to make sh do colors, I'd do it. :) > > Please do not use colors in rc. Escape-sequenced colors make unacceptable > assumptions about the user and syslogd strips escape sequences anyway

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Darren Pilgrim
Eric Anderson wrote: > > If I could figure out how to make sh do colors, I'd do it. :) Please do not use colors in rc. Escape-sequenced colors make unacceptable assumptions about the user and syslogd strips escape sequences anyway, so it would be of no use to logged consoles. Serial consoles

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Doug Barton
While I personally am not necessarily opposed to this kind of patch, you should be aware that this idea has been proposed in the past, and roundly rejected. The consensus has been that we don't necessarily want FreeBSD to look like other OSes that do this. That said, when you have something that y

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Aren Olvalde Tyr
Hi > I've included your suggestions and put the latest changes here: > > http://www.googlebit.com/freebsd/patches/rc_fancy.patch-3 > > > Thanks for all the feedback! Keep it coming! :) Works great on my FreeBSD 6-STABLE system too. Excellent. Now, colour please! :^) Aren. pgpnNiwBjSZJJ.pg

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Stanislaw Halik
On Tue, Apr 18, 2006, Anish Mistry wrote: > printf '\033[%s;%s;%sm %02s;%02s ' $attr $fore $back however, as stated previously in this thread: `printf is /usr/bin/printf'. embedding raw ^[s in the rc script would do, is this acceptable? -- sh pgpeAfaSh4tlK.pgp Description: PGP signature

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Stefan Bethke
Am 18.04.2006 um 22:56 schrieb Eric Anderson: Anish Mistry wrote: If I could figure out how to make sh do colors, I'd do it. :) Is that all? :) #!/bin/sh # Nico Golde Homepage: http://www.ngolde.de # Last change: Mon Feb 16 16:24:4

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Eric Anderson
Anish Mistry wrote: On Tuesday 18 April 2006 16:35, Eric Anderson wrote: Gordon Bergling wrote: * Thus spake Eric Anderson ([EMAIL PROTECTED]): Peter Jeremy wrote: On Tue, 2006-Apr-18 14:02:07 -0400, Coleman Kane wrote: A few comments on the shellscript: + rcargsize=`e

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Anish Mistry
On Tuesday 18 April 2006 16:35, Eric Anderson wrote: > Gordon Bergling wrote: > > * Thus spake Eric Anderson ([EMAIL PROTECTED]): > >> Peter Jeremy wrote: > >>> On Tue, 2006-Apr-18 14:02:07 -0400, Coleman Kane wrote: > >>> > >>> A few comments on the shellscript: > +rca

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Eric Anderson
Gordon Bergling wrote: * Thus spake Eric Anderson ([EMAIL PROTECTED]): Peter Jeremy wrote: On Tue, 2006-Apr-18 14:02:07 -0400, Coleman Kane wrote: A few comments on the shellscript: + rcargsize=`echo $rc_arg` + rcargsize=${#rcargsize} Try

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Gordon Bergling
* Thus spake Eric Anderson ([EMAIL PROTECTED]): > Peter Jeremy wrote: > >On Tue, 2006-Apr-18 14:02:07 -0400, Coleman Kane wrote: > >A few comments on the shellscript: > > > >>+ rcargsize=`echo $rc_arg` > >>+ rcargsize=${#rcargsize} > > > >Try rca

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Eric Anderson
Peter Jeremy wrote: On Tue, 2006-Apr-18 14:02:07 -0400, Coleman Kane wrote: A few comments on the shellscript: + rcargsize=`echo $rc_arg` + rcargsize=${#rcargsize} Try rcargsize=$((${#rc_arg} + 1)) -

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Peter Jeremy
On Tue, 2006-Apr-18 14:02:07 -0400, Coleman Kane wrote: A few comments on the shellscript: >+ rcargsize=`echo $rc_arg` >+ rcargsize=${#rcargsize} Try rcargsize=$((${#rc_arg} + 1)) >- return 1 >+

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Gordon Bergling
* Thus spake Eric Anderson ([EMAIL PROTECTED]): > Coleman Kane wrote: > >On 4/18/06, *M. Warner Losh* <[EMAIL PROTECTED] > > >wrote: > > > >In message: <[EMAIL PROTECTED] > >> > >Eric Anderson <[EMAIL PROTECTED] > >

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Eric Anderson
Coleman Kane wrote: On 4/18/06, *M. Warner Losh* <[EMAIL PROTECTED] > wrote: In message: <[EMAIL PROTECTED] > Eric Anderson <[EMAIL PROTECTED] > writes: : Gordon Bergling wrote: : >

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Coleman Kane
On 4/18/06, Coleman Kane <[EMAIL PROTECTED]> wrote: > > On 4/18/06, M. Warner Losh <[EMAIL PROTECTED]> wrote: > > > In message: <[EMAIL PROTECTED]> > > Eric Anderson <[EMAIL PROTECTED]> writes: > > : Gordon Bergling wrote: > > : > Hi, > > : > > > : > * Thus spake Eric Anderson ([EMAIL P

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Coleman Kane
On 4/18/06, Coleman Kane <[EMAIL PROTECTED]> wrote: > > On 4/18/06, M. Warner Losh <[EMAIL PROTECTED]> wrote: > > > In message: <[EMAIL PROTECTED]> > > Eric Anderson <[EMAIL PROTECTED]> writes: > > : > > : Thanks for the feedback! Looks like I made an erroneous assumption > > that > >

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Coleman Kane
On 4/18/06, M. Warner Losh <[EMAIL PROTECTED]> wrote: > > In message: <[EMAIL PROTECTED]> > Eric Anderson <[EMAIL PROTECTED]> writes: > : Gordon Bergling wrote: > : > Hi, > : > > : > * Thus spake Eric Anderson ([EMAIL PROTECTED]): > : >> I've made a patch to /etc/rc.subr that makes the

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Eric Anderson <[EMAIL PROTECTED]> writes: : Gordon Bergling wrote: : > Hi, : > : > * Thus spake Eric Anderson ([EMAIL PROTECTED]): : >> I've made a patch to /etc/rc.subr that makes the startup/shutdown rc : >> scripting look similar to other OS's (many

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Eric Anderson
Gordon Bergling wrote: Hi, * Thus spake Eric Anderson ([EMAIL PROTECTED]): I've made a patch to /etc/rc.subr that makes the startup/shutdown rc scripting look similar to other OS's (many different linux distros, HP-UX, etc), but without color. The patch shouldn't break anything, and is only

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Gordon Bergling
Hi, * Thus spake Eric Anderson ([EMAIL PROTECTED]): > I've made a patch to /etc/rc.subr that makes the startup/shutdown rc > scripting look similar to other OS's (many different linux distros, > HP-UX, etc), but without color. > > The patch shouldn't break anything, and is only enabled if you h