euglug.org

[작성자:] admin

  • [Eug-lug] More advanced procmail voodoo



    larry priceMon Dec 12 12:46:40 PST 2005

    On 12/12/05, Bob Miller <kbob at jogger-egg.com> wrote:
    > Patrick R. Wade wrote:
    >
    > > I'm astonished.  I was *sure* Larry would be the one to tell us to use
    > > Python.
    >
    > No, it was my turn today.  Larry will tell you to use Python tomorrow.
    > I forget whose turn it is on Wednesday.
    >
    wednesday is Rob Hudson,
    Horst on thursday,
    John Fleming on Friday,
    Saturday is up for grabs,
    but Sunday we have a special guest who will reveal that it all began with
    
    world = "sky water".split()
    --
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] Schwag!



    tomanMon Dec 12 11:12:49 PST 2005

    toman wrote:
    > Bob Miller wrote:
    >> Some schwag has arrived.
    >>
    >> I have Ubuntu CDs, compliments of the Ubuntu project.  Release 5.10
    >> ("Breezy Badger").  40 copies for PC and 15 for minority
    >> architectures.
    >>
    >> Marsee at O'Reilly sent us multiple copies of three titles.
    >>
    >>     Linux Desktop Pocket Guide
    >>     Knoppix Pocket Reference
    >>     Linux Desktop Hacks
    >>
    >> I'll bring it all to this Thursday's clinic.
    >>
    >>   
    > I just got a set of those as well, 10 PC, 3 64bit and 2 Mac, I think. 
    > If anyone in the Cottage Grove area wants one, please let me know. I 
    > have to say though,
    > that I loaded Ubuntu on an older laptop of mine and was quite 
    > disappointed with it. The install was very debian, you know, ncurses 
    > based. At some point a root
    > password got assigned, but not by me, so I have no idea what it is. 
    > The application install GUI was really primitive, maybe they're 
    > expecting users to be apt-get
    > conversant. It couldn't find a driver for my linksys wireless card, 
    > which older versions of Suse have. All in all, for a distribution 
    > that's working that "Linux for
    > everybody" angle it seemed like Linux for almost nobody. I think if I 
    > were to inflict a Debian variant on an unsuspecting newbie, it would 
    > be Knoppix or its
    > progeny, because it does such a good job of autoprobing hardware, and 
    > just works.  Anyway, if my Ubuntu bashing wasn't enough to disuade 
    > folks, I have a few
    > that are free to good homes.
    >
    >                                                                         
    >                                                                        
    >                           J. Toman
    >
    >
    Whoops! I forgot to mention that the Cottage Grove Library is now a 
    public hotspot, though their DSL connection isn't great.
    
                                                                             
                                                             J. Toman
    
    
  • [Eug-lug] Schwag!



    tomanMon Dec 12 11:10:06 PST 2005

    Bob Miller wrote:
    > Some schwag has arrived.
    >
    > I have Ubuntu CDs, compliments of the Ubuntu project.  Release 5.10
    > ("Breezy Badger").  40 copies for PC and 15 for minority
    > architectures.
    >
    > Marsee at O'Reilly sent us multiple copies of three titles.
    >
    > 	Linux Desktop Pocket Guide
    > 	Knoppix Pocket Reference
    > 	Linux Desktop Hacks
    >
    > I'll bring it all to this Thursday's clinic.
    >
    >   
    I just got a set of those as well, 10 PC, 3 64bit and 2 Mac, I think. If 
    anyone in the Cottage Grove area wants one, please let me know. I have 
    to say though,
    that I loaded Ubuntu on an older laptop of mine and was quite 
    disappointed with it. The install was very debian, you know, ncurses 
    based. At some point a root
    password got assigned, but not by me, so I have no idea what it is. The 
    application install GUI was really primitive, maybe they're expecting 
    users to be apt-get
    conversant. It couldn't find a driver for my linksys wireless card, 
    which older versions of Suse have. All in all, for a distribution that's 
    working that "Linux for
    everybody" angle it seemed like Linux for almost nobody. I think if I 
    were to inflict a Debian variant on an unsuspecting newbie, it would be 
    Knoppix or its
    progeny, because it does such a good job of autoprobing hardware, and 
    just works.  Anyway, if my Ubuntu bashing wasn't enough to disuade 
    folks, I have a few
    that are free to good homes.
    
                                                                             
                                                                            
                               J. Toman
    
    
    
    
  • [Eug-lug] More advanced procmail voodoo



    Rob HudsonMon Dec 12 10:36:22 PST 2005

    Patrick R. Wade wrote:
    > Is a little more complicated, i'm not sure how to approach it except to 
    > say that the parts in condition lines are equivalent to egrep regular 
    > expressions.  If you're better at regex voodoo than i am, you can 
    > probably come up with it.
    
    Possibly this?
    
    * ^X-DSPAM-Result: Spam
    * ^X-DSPAM-Confidence: 1.000|0.[789][0-9]{3}
    
    To match 0.7 and above?
    
    What's the best way to test a procmail recipe?
    
    Thanks,
    Rob
    
  • [Eug-lug] More advanced procmail voodoo



    Bob MillerMon Dec 12 10:13:12 PST 2005

    Patrick R. Wade wrote:
    
    > I'm astonished.  I was *sure* Larry would be the one to tell us to use 
    > Python.
    
    No, it was my turn today.  Larry will tell you to use Python tomorrow.
    I forget whose turn it is on Wednesday.
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] Comacast internet and linux?



    Martin KellyMon Dec 12 10:01:46 PST 2005

    It works well enough, it's what I use for my Linux box.
    
    On 12/12/05, Mike Cherba <mike.cherba at caviumnetworks.com> wrote:
    > As far as I know, the "setup Wizard" isn't actully required.  Their
    > Modem box has a webserver and will happily take it's configuration
    > theough that method.  Unless they stopped using the little Motorola
    > boxes.  On the whole I'd say they are decent enough for browsing, but
    > they want to charge an extra $50 per month to let me get inbound
    > requests at all, so I'm switching away from them as soon as I can get a
    > reasonable alternative.
    >                         -Mike
    >
    > On Mon, 2005-12-12 at 08:46, Mr O wrote:
    > > Only the new Setup Wizard crap they have won't work with linux.
    > > It only works on Mac and Windows. The service itself works fine
    > > with any OS. All the experienced Comcast techs hate the new
    > > software.
    > >
    > >
    > >
    > > --- Jeff Newton <newton at efn.org> wrote:
    > >
    > > >
    > > >
    > > > Hey guys, I know this has been discussed before, but does
    > > > anyone one know if
    > > > Comcast internet services works well with linux or not?
    > > >
    > > > Thanks -
    > > >
    > > > Jeff
    > > > _______________________________________________
    > > > EUGLUG mailing list
    > > > euglug at euglug.org
    > > > http://www.euglug.org/mailman/listinfo/euglug
    > > >
    > >
    > >
    > > __________________________________________________
    > > Do You Yahoo!?
    > > Tired of spam?  Yahoo! Mail has the best spam protection around
    > > http://mail.yahoo.com
    > > _______________________________________________
    > > EUGLUG mailing list
    > > euglug at euglug.org
    > > http://www.euglug.org/mailman/listinfo/euglug
    > --
    > Mike Cherba
    > Cavium Networks
    > 883 Brookside Dr
    > Eugene, OR 97405
    > phone: (541) 684-3820
    > Cell:  (541) 914-2188
    > mike.cherba at caviumnetworks.com
    > www.caviumnetworks.com
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
  • [Eug-lug] More advanced procmail voodoo



    Patrick R. WadeMon Dec 12 09:51:53 PST 2005

    Bob Miller wrote:
    
    >     :0fw
    >     * ^X-Mailer:.* for Windows
    >     * ^Content-type: text/plain; charset="US-ASCII"
    >     * ^Content-Transfer-Encoding: quoted-printable
    >     # Smells like AOL -- fix the charset.
    >     | python fix_aol_charset.py
    
    I'm astonished.  I was *sure* Larry would be the one to tell us to use 
    Python.
    
    -- 
    On two occasions I have been asked [by members of Parliament!], 'Pray,
    Mr. Babbage, if you put into the machine wrong figures, will the right
    answers come out?' I am not able rightly to apprehend the kind of
    confusion of ideas that could provoke such a question.
    	-- Charles Babbage
    
    
  • [Eug-lug] More advanced procmail voodoo



    Bob MillerMon Dec 12 09:48:24 PST 2005

    T. Joseph CARTER wrote:
    
    > So the question is, how do I match on the condition of that two-line
    > breakage and, having done so, how do I fix the broken charset before
    > writing the message to the destination folder?
    > 
    > 	Content-type: text/plain; charset="US-ASCII"
    > 	Content-Transfer-Encoding: quoted-printable
    
    Use the "f" flag to filter your mail through an external program
    that handles multiline regexps.
    
        :0fw
        * ^X-Mailer:.* for Windows
        * ^Content-type: text/plain; charset="US-ASCII"
        * ^Content-Transfer-Encoding: quoted-printable
        # Smells like AOL -- fix the charset.
        | python fix_aol_charset.py
    
        # Resume processing here...
    
    fix_aol_charset.py looks like this.
    
        #!/usr/bin/python
    
        import re, sys
    
        pattern = r'(content-type:\s*text/plain;\scharset=")us-ascii("\n'
        pattern += r'content-transfer-encoding: quoted-printable)'
        pattern = re.compile(pattern, re.IGNORECASE | re.MULTILINE)
        fix = lambda msg: pattern.sub(r'\1windows-1252\2', msg)
    
        sys.stdout.write(fix(sys.stdin.read()))
    
    The three condition lines in .procmailrc are an optimization to invoke
    the external program only on messages that *probably* have the charset
    problem.  Feel free to give them more forgiving regexps -- I just
    copied the text from your mail.
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] Comacast internet and linux?



    Mike CherbaMon Dec 12 09:19:13 PST 2005

    As far as I know, the "setup Wizard" isn't actully required.  Their
    Modem box has a webserver and will happily take it's configuration
    theough that method.  Unless they stopped using the little Motorola
    boxes.  On the whole I'd say they are decent enough for browsing, but
    they want to charge an extra $50 per month to let me get inbound
    requests at all, so I'm switching away from them as soon as I can get a
    reasonable alternative.
    			-Mike
    
    On Mon, 2005-12-12 at 08:46, Mr O wrote:
    > Only the new Setup Wizard crap they have won't work with linux.
    > It only works on Mac and Windows. The service itself works fine
    > with any OS. All the experienced Comcast techs hate the new
    > software. 
    > 
    > 
    > 
    > --- Jeff Newton <newton at efn.org> wrote:
    > 
    > > 
    > > 
    > > Hey guys, I know this has been discussed before, but does
    > > anyone one know if 
    > > Comcast internet services works well with linux or not?
    > > 
    > > Thanks -
    > > 
    > > Jeff
    > > _______________________________________________
    > > EUGLUG mailing list
    > > euglug at euglug.org
    > > http://www.euglug.org/mailman/listinfo/euglug
    > > 
    > 
    > 
    > __________________________________________________
    > Do You Yahoo!?
    > Tired of spam?  Yahoo! Mail has the best spam protection around 
    > http://mail.yahoo.com
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    -- 
    Mike Cherba
    Cavium Networks
    883 Brookside Dr
    Eugene, OR 97405
    phone: (541) 684-3820
    Cell:  (541) 914-2188
    mike.cherba at caviumnetworks.com
    www.caviumnetworks.com
    
  • [Eug-lug] Comacast internet and linux?



    Mr OMon Dec 12 08:46:12 PST 2005

    Only the new Setup Wizard crap they have won't work with linux.
    It only works on Mac and Windows. The service itself works fine
    with any OS. All the experienced Comcast techs hate the new
    software. 
    
    
    
    --- Jeff Newton <newton at efn.org> wrote:
    
    > 
    > 
    > Hey guys, I know this has been discussed before, but does
    > anyone one know if 
    > Comcast internet services works well with linux or not?
    > 
    > Thanks -
    > 
    > Jeff
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
    
    __________________________________________________
    Do You Yahoo!?
    Tired of spam?  Yahoo! Mail has the best spam protection around 
    http://mail.yahoo.com