euglug.org

[작성자:] admin

  • [Eug-lug] Computer time



    Jacob MeuserFri Jan 21 13:29:34 PST 2005

    On Fri, Jan 21, 2005 at 02:52:39PM -0800, Max Lemieux wrote:
    > max at 4[~]$ ed Robert.txt
    > 261
    > 
    > Yikes! I even RTFM ed, and no mention of a display mode (what am I 
    > missing?). The substitution looked handy, though...
    
    ed works line-at-a-time.
    
    just start hitting enter, or some number less than 261 and then enter.
    
    now if you want to delete a line type 'd <line#>'.
    
    use 'a <line#>' to add a line.
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] Computer time



    Max LemieuxFri Jan 21 13:01:14 PST 2005

    Agreed, vi seems to be the universally present editor. I haven't used 
    emacs so can't comment on it; with vi the main learning curve was 
    getting used to the "insert mode, overwrite mode, command mode" 
    paradigm. After that it seems pretty straightforward.
    
    For a new user who is working on only one machine though, I'd still 
    recommend nano for painlessness. :)
    
    -Max
    
    
    larry price wrote:
    
    >If you only have time to learn one, pick up vi
    >it's on pretty much every box you'll ever talk to 
    >and works in amazingly tight corners.
    >
    >but don't give up on emacs, the learning curve is steep
    >and it can save you amazing amounts of time and stress.
    >
    >My .02 units of negotiable currency
    >
    >
    >On Fri, 21 Jan 2005 09:31:54 -0800 (PST), Allen Brown <abrown at peak.org> wrote:
    >  
    >
    >>On Mon, 17 Jan 2005, Bob Miller wrote:
    >>
    >>    
    >>
    >>>walter fry wrote:
    >>>
    >>>      
    >>>
    >>>>Ifound the cat command     now how do I change arc from true to
    >>>>false....Please
    >>>>        
    >>>>
    >>>Use a text editor.  Linux has 70 or 80 text editors to choose from.  I
    >>>think I recall that you're using a GUI, so try kedit or gedit.
    >>>
    >>>      kedit /etc/sysconfig/clock
    >>>
    >>>If you're not using a GUI, try nano, vi or emacs.
    >>>--
    >>>Bob Miller                              K<bob>
    >>>      
    >>>
    >>I recommend that you learn one of the real editors, one that doesn't
    >>require a GUI.  Otherwise if you find you have to do repairs from
    >>outside of X windows, you will be SOL.
    >>
    >>The top contenders are vi and emacs.  Both are very powerful and
    >>both are used by real programmers.  Both are commonly installed on
    >>most Unix systems.  Both are backed by fanatics with religious zeal.
    >>Both have a long history.
    >>
    >>emacs
    >>  + Basically Modeless.  Ordinary characters are always inserted.
    >>  - Complex.  And very large.
    >>  + Totally programmable and reconfigurable.
    >>  - Harder on your fingers because of all the control characters
    >>    you have to type.  Avoid emacs if you have carpal tunnel.
    >>  + If you are merging the contents of several files into one,
    >>    emacs is hard to beat.
    >>vi
    >>  + Almost everything can be done with one finger.
    >>  - You have to remember if you are in insert mode, overwrite mode,
    >>    command mode.
    >>  + Small and fast.
    >>  + Because it avoids control characters it tends to be more
    >>    compatible with serial port protocols.
    >>
    >>Now that the subject is presented, I'm sure several people will
    >>try to turn this into a religious arguement about why their choice
    >>is the only choice.  It happens every time both editors are mentioned.
    >>--
    >>Allen Brown
    >>  work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
    >>        allen_brown at agilent.com             abrown at peak.org
    >>  No folly is more costly than the folly of intolerant idealism.
    >>  --- Sir Winston Churchill
    >>
    >>_______________________________________________
    >>EUGLUG mailing list
    >>euglug at euglug.org
    >>http://www.euglug.org/mailman/listinfo/euglug
    >>
    >>    
    >>
    >
    >
    >  
    >
    
    
  • [Eug-lug] Computer time



    Max LemieuxFri Jan 21 12:49:58 PST 2005

    Walter,
    Allow me to suggest "nano" as a gentler introduction to the world of 
    console text editors.
    
    All the commands (copy, paste, save, quit, find, etc) are visible 
    on-screen, and you can just type and use arrow keys as expected.
    
    True, it doesn't have ANY of the power of vi or emacs, but for basic 
    editing it's always worked for me.
    
    p.s. "pico" is the ancestor of nano and is sometimes available on 
    systems where nano is not. similar ease of use.
    
    -Max
    
    Russ Johnson wrote:
    
    > Allen Brown wrote:
    >
    >> Now that the subject is presented, I'm sure several people will
    >> try to turn this into a religious arguement about why their choice
    >> is the only choice.  It happens every time both editors are mentioned.
    >>  
    >>
    > USE VI!
    >
    > No! USE EMACS!
    >
    > You Nazi!
    >
    > GODWIN!  (http://en.wikipedia.org/wiki/Godwin's_law)
    >
    > Russ
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
    
  • [Eug-lug] Computer time



    Jacob MeuserFri Jan 21 12:46:33 PST 2005

    On Fri, Jan 21, 2005 at 01:01:14PM -0800, Max Lemieux wrote:
    > Agreed, vi seems to be the universally present editor.
    
    ed is the universal editor.
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] RE: Hardware



    walter fryFri Jan 21 11:33:38 PST 2005

    for anything under the sun cheap try :   All Electronics  800-826 5432, they 
    are a surplus outfit in LA req. a catalog and you will find motors from 
    $0.70 thru $ 2.25  without gearboxes and from $ 2.50 thru 15.95 with 
    gearboxes ,,,,now if you want a lesson on step motors write me ..  these 
    jewels have no commutators ,,therefore no commutation limit, they can 
    produce a FULL HP if your solid state drver HDW is smart enuf and fast 
    enuf..their speed torque cuve is square! the happen to exist in most FDD's 
    more powerfull ones also avail in catalog of A-E, $ 0.85 thru $ 7.75 look 4 
    "hybrid" they have de-energized "holding torque" like gear ratchet lock...
    
    ready wound motors for less...It's a DIY type of thing.
    
    What is a DIY?
    >Thought that someone on the list might have a suggestion, he's willing to 
    >buy
    >any and all he can locate.
    >Thanks,
    
    >Nyal R. Cammack
    >ncammack at efn.org
    
    _________________________________________________________________
    Express yourself instantly with MSN Messenger! Download today - it's FREE! 
    hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
    
    
  • [Eug-lug] Hardware Related: Any Tape Drives Available???



    nyalFri Jan 21 11:26:28 PST 2005

    Greetings All,
    
    I've got a friend at work that's looking for old tape drives.  He's into RC 
    airplanes and can rewind the motors from old tape drives into some pretty hot 
    RC motors for his planes.
    
    Goodwill, St. Vinnies, etc have been a bust so far.  Thought that someone on 
    the list might know where there might be some available locally on the cheap.
    
    He's bought them off the 'net for cheap (.50 or less) the hassle is the 
    shipping ($8-$10 or more per drive) and supposedly he can buy ready wound 
    motors for less...It's a DIY type of thing.
    
    Thought that someone on the list might have a suggestion, he's willing to buy 
    any and all he can locate.
    
    Thanks,
    
    Nyal R. Cammack
    ncammack at efn.org
    -- 
    Called up the Bureau of Alcohol, Tobacco, and Firearms regional office
      and asked, "What wine goes best with an M-16?"  The guy who answered did
      his best to be helpful:  "That depends.  What are you smoking?"
    
    
  • [Eug-lug] Computer time



    larry priceFri Jan 21 10:53:40 PST 2005

    If you only have time to learn one, pick up vi
    it's on pretty much every box you'll ever talk to 
    and works in amazingly tight corners.
    
    but don't give up on emacs, the learning curve is steep
    and it can save you amazing amounts of time and stress.
    
    My .02 units of negotiable currency
    
    
    On Fri, 21 Jan 2005 09:31:54 -0800 (PST), Allen Brown <abrown at peak.org> wrote:
    > On Mon, 17 Jan 2005, Bob Miller wrote:
    > 
    > > walter fry wrote:
    > >
    > > > Ifound the cat command     now how do I change arc from true to
    > > > false....Please
    > >
    > > Use a text editor.  Linux has 70 or 80 text editors to choose from.  I
    > > think I recall that you're using a GUI, so try kedit or gedit.
    > >
    > >       kedit /etc/sysconfig/clock
    > >
    > > If you're not using a GUI, try nano, vi or emacs.
    > > --
    > > Bob Miller                              K<bob>
    > 
    > I recommend that you learn one of the real editors, one that doesn't
    > require a GUI.  Otherwise if you find you have to do repairs from
    > outside of X windows, you will be SOL.
    > 
    > The top contenders are vi and emacs.  Both are very powerful and
    > both are used by real programmers.  Both are commonly installed on
    > most Unix systems.  Both are backed by fanatics with religious zeal.
    > Both have a long history.
    > 
    > emacs
    >   + Basically Modeless.  Ordinary characters are always inserted.
    >   - Complex.  And very large.
    >   + Totally programmable and reconfigurable.
    >   - Harder on your fingers because of all the control characters
    >     you have to type.  Avoid emacs if you have carpal tunnel.
    >   + If you are merging the contents of several files into one,
    >     emacs is hard to beat.
    > vi
    >   + Almost everything can be done with one finger.
    >   - You have to remember if you are in insert mode, overwrite mode,
    >     command mode.
    >   + Small and fast.
    >   + Because it avoids control characters it tends to be more
    >     compatible with serial port protocols.
    > 
    > Now that the subject is presented, I'm sure several people will
    > try to turn this into a religious arguement about why their choice
    > is the only choice.  It happens every time both editors are mentioned.
    > --
    > Allen Brown
    >   work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
    >         allen_brown at agilent.com             abrown at peak.org
    >   No folly is more costly than the folly of intolerant idealism.
    >   --- Sir Winston Churchill
    > 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] Computer time



    Mike CherbaFri Jan 21 10:52:13 PST 2005

    I would concur.  nano or pico is a much simpler entry into the world of
    linux command line text editors.  IT is a lot more powerful than people
    tend to give it credit for.
    			-Mike
    
    On Fri, 2005-01-21 at 12:49, Max Lemieux wrote:
    > Walter,
    > Allow me to suggest "nano" as a gentler introduction to the world of 
    > console text editors.
    > 
    > All the commands (copy, paste, save, quit, find, etc) are visible 
    > on-screen, and you can just type and use arrow keys as expected.
    > 
    > True, it doesn't have ANY of the power of vi or emacs, but for basic 
    > editing it's always worked for me.
    > 
    > p.s. "pico" is the ancestor of nano and is sometimes available on 
    > systems where nano is not. similar ease of use.
    > 
    > -Max
    > 
    > Russ Johnson wrote:
    > 
    > > Allen Brown wrote:
    > >
    > >> Now that the subject is presented, I'm sure several people will
    > >> try to turn this into a religious arguement about why their choice
    > >> is the only choice.  It happens every time both editors are mentioned.
    > >>  
    > >>
    > > USE VI!
    > >
    > > No! USE EMACS!
    > >
    > > You Nazi!
    > >
    > > GODWIN!  (http://en.wikipedia.org/wiki/Godwin's_law)
    > >
    > > Russ
    > > _______________________________________________
    > > EUGLUG mailing list
    > > euglug at euglug.org
    > > http://www.euglug.org/mailman/listinfo/euglug
    > >
    > 
    > _______________________________________________
    > 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] Computer time



    Russ JohnsonFri Jan 21 10:39:21 PST 2005

    Allen Brown wrote:
    
    >Now that the subject is presented, I'm sure several people will
    >try to turn this into a religious arguement about why their choice
    >is the only choice.  It happens every time both editors are mentioned.
    >  
    >
    USE VI!
    
    No! USE EMACS!
    
    You Nazi!
    
    GODWIN!  (http://en.wikipedia.org/wiki/Godwin's_law)
    
    Russ
    
  • [Eug-lug] Computer time



    Linux Rocks!Fri Jan 21 10:02:58 PST 2005

    Yeah, Bob, whats the matter with you? when are you going to become a real 
    programmer and use vi or emacs?
    
    Jamie
    
    On Friday 21 January 2005 09:31 am, Allen Brown wrote:
    : On Mon, 17 Jan 2005, Bob Miller wrote:
    : > walter fry wrote:
    : > > Ifound the cat command     now how do I change arc from true to
    : > > false....Please
    : >
    : > Use a text editor.  Linux has 70 or 80 text editors to choose from.  I
    : > think I recall that you're using a GUI, so try kedit or gedit.
    : >
    : > 	kedit /etc/sysconfig/clock
    : >
    : > If you're not using a GUI, try nano, vi or emacs.
    : > --
    : > Bob Miller                              K<bob>
    :
    : I recommend that you learn one of the real editors, one that doesn't
    : require a GUI.  Otherwise if you find you have to do repairs from
    : outside of X windows, you will be SOL.
    :
    : The top contenders are vi and emacs.  Both are very powerful and
    : both are used by real programmers.  Both are commonly installed on
    : most Unix systems.  Both are backed by fanatics with religious zeal.
    : Both have a long history.
    :
    : emacs
    :   + Basically Modeless.  Ordinary characters are always inserted.
    :   - Complex.  And very large.
    :   + Totally programmable and reconfigurable.
    :   - Harder on your fingers because of all the control characters
    :     you have to type.  Avoid emacs if you have carpal tunnel.
    :   + If you are merging the contents of several files into one,
    :     emacs is hard to beat.
    : vi
    :   + Almost everything can be done with one finger.
    :   - You have to remember if you are in insert mode, overwrite mode,
    :     command mode.
    :   + Small and fast.
    :   + Because it avoids control characters it tends to be more
    :     compatible with serial port protocols.
    :
    : Now that the subject is presented, I'm sure several people will
    : try to turn this into a religious arguement about why their choice
    : is the only choice.  It happens every time both editors are mentioned.
    : --
    : Allen Brown
    :   work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
    :         allen_brown at agilent.com             abrown at peak.org
    :   No folly is more costly than the folly of intolerant idealism.
    :   --- Sir Winston Churchill
    :
    : _______________________________________________
    : EUGLUG mailing list
    : euglug at euglug.org
    : http://www.euglug.org/mailman/listinfo/euglug
    
    -- 
    The memory management on the PowerPC can be used to frighten small children.
    	-- Linus Torvalds