euglug.org

[작성자:] admin

  • [Eug-lug] Computer time



    John SechrestSat Jan 22 09:48:27 PST 2005

    To add to the religious discussion, there are some 
    things that vi does well and there are somethings
    that emacs does well. 
    
    I use vi when I want to do things like:
    
    1,$s/\(.*\) \(.*)/\2 \1/g
    
    I use emacs when I want to type text and maniuplate large
    amounts of material for documents and other actions.
    
    So everyone should learn what the strong points and 
    weak points of each are.
    
    
    
    
    
    "T. Joseph CARTER" <knghtbrd at bluecherry.net> writes:
    
     % On Fri, Jan 21, 2005 at 10:53:40AM -0800, larry price wrote:
     % > but don't give up on emacs, the learning curve is steep
     % > and it can save you amazing amounts of time and stress.
     % 
     % Yeah, but vim will save you the doctor's bills for RSI treatments.  ;)
     % _______________________________________________
     % EUGLUG mailing list
     % euglug at euglug.org
     % http://www.euglug.org/mailman/listinfo/euglug
    
    -----
    John Sechrest          .         Helping people use
                            .           computers and the Internet
                              .            more effectively
                                 .                      
                                     .       Internet: sechrest at peak.org
                                          .   
                                                  . http://www.peak.org/~sechrest
    
  • [Eug-lug] Computer time



    Allen BrownSat Jan 22 09:39:18 PST 2005

    On Sat, 22 Jan 2005, Bob Miller wrote:
    
    > Jacob Meuser wrote:
    > 
    > > 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.
    > 
    > No, ed is the STANDARD text editor.
    > http://www.gnu.org/fun/jokes/ed.msg.html
    > 
    > I agree with Max.  Nano is a good, non-confusing editor.  I'll bet I've
    > been using emacs longer than anyone here -- I first used the original
    > TECo-based version on MIT-AI sometime in 1978.  But I'm still aware
    > that emacs is a bear to learn.
    > -- 
    > Bob Miller                              K<bob>
    
    I used a micro emacs (forgot it's name) under CP/M about the same
    time.  1978+-1.
    
    Nano is the editor that pine uses?  I can't stand it.
    --
    Allen
    
    
  • [Eug-lug] Computer time



    Mike CherbaSat Jan 22 09:35:12 PST 2005

    Thanks for the lesson Bob.  It really reminded me how much of software
    progress is evolutionary and why adding tons of cfruft to everything
    doesn't neccesarily make it better.
    			-Mike
    
    
    
    On Sat, 2005-01-22 at 09:31, Bob Miller wrote:
    > Jim K wrote:
    > 
    > >      I just did a man ex on a mandrake 10 community system and it 
    > > displayed the vim man page. Is ex just an alias for vim?
    > 
    > Okay, guys.  Time for text editor history class.
    > 
    > Emacs.  I already alluded to the fact that it was from MIT.  In 1960,
    > MIT got one of the first PDP-1 computers made by the startup company,
    > Digital Equipment Corporation (DEC).  A group of nerds took it over
    > and started developing software for it.  One nerd, Alan Kotok, started
    > writing TECo, for Text Editor and Corrector.  (Alan later went to work
    > at DEC and was the chief architect of the PDP-10.)  TECo was a line
    > oriented editor: you type a command, the computer responds with
    > something.  That's because the terminal was a Teletype machine, which
    > prints on paper.  TECo was probably the world's first text editor, as
    > the idea of interactively using a computer was radical in the early
    > 1960s.
    > 
    > Anyway, TECo grew and evolved, and was ported to other platforms.  In
    > the early 1970s, DEC gave the MIT Lab for Computer Science four PDP-10
    > computers.  MIT developed its own operating system for them, ITS.
    > TECo was ported to ITS.  By this time, TECo had grown into a fairly
    > complex and ugly language.  I used to be very fluent in it, but since
    > I stopped using it in the early 1980s, I can't remember squat about
    > it.  Richard M. Stallman (RMS, yes, that RMS, who later founded the
    > Free Software Foundation and the GNU project) took up maintenance of
    > TECo on the PDP-10s.  He also developed a set of personal TECo editing
    > shortcuts, or macros, which got popular at the lab.  He called them
    > EMACS.  It probably was short for "editing macros", though officially,
    > EMACS doesn't stand for anything.
    > 
    > That's why when RMS started the GNU project, the first program he
    > wrote for it was GNU emacs, a port of emacs to the C language and Unix
    > platform.
    > 
    > I'll briefly mention some other emacses.
    > 
    > An engineer at DEC reimplemented TECo for the PDP-11, and gave it a
    > small fraction of the original's feature set.  This was the most
    > popular TECo, because it ran on thousands of PDP-11s and VAXes, and is
    > the version I learned.
    > 
    > Somebody did an emacs clone for Unix at Bell Labs around 1980.  It was
    > written in C and small enough (barely) to run on a PDP-11.  Since it
    > wasn't extensible in any way (couldn't even rebind keys) most people
    > thought it didn't count as an emacs.
    > 
    > James Gosling (who later created the Java language), while at CMU,
    > wrote an emacs implementation for Unix, usually called Gosling emacs
    > or gosmacs.  Later, he made it into a commercial product, Unipress
    > Emacs.  I tried to find a copy of gosmacs screen.c which starts with
    > the very best comment I've ever seen in a source file, but it seems to
    > be lost to antiquity.  Gosling also published a paper in the CACM
    > about the algorithms in that file.
    > 
    > There was a fork of gnu emacs called Lucid Emacs and later xemacs.
    > I personally use the unforked version, sometimes called FSF emacs
    > to disambiguate.  They used to be horribly incompatible, but
    > they've been evolving into greater compatibility lately.
    > 
    > That's the Emacs family.
    > 
    > Meanwhile, at Bell Labs, Unix was being born.  In the mid 1970s, the
    > way to interact with a Unix system was through a Teletype.
    > Accordingly, ed was written.  ed is a fairly powerful and regular
    > editor, given the interface.  Not as powerful as TECo, but a lot
    > easier to learn.  Bell Labs started giving away Unix licenses to
    > universities in the mid 1970s.  (One of the engineers of that era said
    > the reason ed never prints a prompt is that the machines were so slow,
    > they'd always be several commands behind you and when you finally
    > issued a print command (p or l) to see what you'd done you'd wait and
    > wait for it to catch up.)  I remember using mini-Unix on a PDP-11/40,
    > and can vouch that a context switch took about three seconds on that
    > box.  If another process ran during your editing session, the editor
    > would be swapped out for a minimum of six seconds.
    > 
    > Sometime in the late 1970s, an undergraduate at Berkeley, Bill Joy
    > (who later became lead programmer in the DARPA-funded project to make
    > Unix a suitable computer science research platform, Berkeley Unix (aka
    > Berkeley Software Distribution, BSD), then later founded Sun
    > Microsystems), started adding features to ed.  He called his "extended
    > ed" ex.  Eventually he added "visual mode", or "vi", to display text
    > on a CRT terminal while it's being edited.  So ex and vi were the same
    > editor, and both derived from ed.
    > 
    > Since I'm primarily an emacs user, I don't know the history of various
    > vi versions and clones.  The dominant vi variant today seems to be
    > vim, for "vi improved".  Maybe somebody else would like to fill that
    > part in?
    > 
    > Steven Levy's book, Hackers, is the best published history of this
    > era, especially the MIT bit.  The O'Reilly book, Open Sources, has a
    > good synopsis history of BSD written by Mike Karels.
    > 
    > * ITS, the Incompatible Timesharing System, had the weirdest file
    >   naming convention I've ever seen.  The machine had a 36 bit word, a
    >   character set called 6-Bit was devised to fit six characters per
    >   word.  If I remember, it mapped ASCII characters 32 (space) through
    >   95 (backslash), so it had the uppercase letters, the digits, and
    >   most of the punctuation, including space (which had code \00,
    >   suitable for NULL-padding short names.  A filename was two
    >   6-character words separated by a space.  A common convention was to
    >   use the second word as a version number.  So the TECo Manual,
    >   version 51, would have been named "TECORD     51".
    -- 
    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



    Bob MillerSat Jan 22 09:31:03 PST 2005

    Jim K wrote:
    
    >      I just did a man ex on a mandrake 10 community system and it 
    > displayed the vim man page. Is ex just an alias for vim?
    
    Okay, guys.  Time for text editor history class.
    
    Emacs.  I already alluded to the fact that it was from MIT.  In 1960,
    MIT got one of the first PDP-1 computers made by the startup company,
    Digital Equipment Corporation (DEC).  A group of nerds took it over
    and started developing software for it.  One nerd, Alan Kotok, started
    writing TECo, for Text Editor and Corrector.  (Alan later went to work
    at DEC and was the chief architect of the PDP-10.)  TECo was a line
    oriented editor: you type a command, the computer responds with
    something.  That's because the terminal was a Teletype machine, which
    prints on paper.  TECo was probably the world's first text editor, as
    the idea of interactively using a computer was radical in the early
    1960s.
    
    Anyway, TECo grew and evolved, and was ported to other platforms.  In
    the early 1970s, DEC gave the MIT Lab for Computer Science four PDP-10
    computers.  MIT developed its own operating system for them, ITS.
    TECo was ported to ITS.  By this time, TECo had grown into a fairly
    complex and ugly language.  I used to be very fluent in it, but since
    I stopped using it in the early 1980s, I can't remember squat about
    it.  Richard M. Stallman (RMS, yes, that RMS, who later founded the
    Free Software Foundation and the GNU project) took up maintenance of
    TECo on the PDP-10s.  He also developed a set of personal TECo editing
    shortcuts, or macros, which got popular at the lab.  He called them
    EMACS.  It probably was short for "editing macros", though officially,
    EMACS doesn't stand for anything.
    
    That's why when RMS started the GNU project, the first program he
    wrote for it was GNU emacs, a port of emacs to the C language and Unix
    platform.
    
    I'll briefly mention some other emacses.
    
    An engineer at DEC reimplemented TECo for the PDP-11, and gave it a
    small fraction of the original's feature set.  This was the most
    popular TECo, because it ran on thousands of PDP-11s and VAXes, and is
    the version I learned.
    
    Somebody did an emacs clone for Unix at Bell Labs around 1980.  It was
    written in C and small enough (barely) to run on a PDP-11.  Since it
    wasn't extensible in any way (couldn't even rebind keys) most people
    thought it didn't count as an emacs.
    
    James Gosling (who later created the Java language), while at CMU,
    wrote an emacs implementation for Unix, usually called Gosling emacs
    or gosmacs.  Later, he made it into a commercial product, Unipress
    Emacs.  I tried to find a copy of gosmacs screen.c which starts with
    the very best comment I've ever seen in a source file, but it seems to
    be lost to antiquity.  Gosling also published a paper in the CACM
    about the algorithms in that file.
    
    There was a fork of gnu emacs called Lucid Emacs and later xemacs.
    I personally use the unforked version, sometimes called FSF emacs
    to disambiguate.  They used to be horribly incompatible, but
    they've been evolving into greater compatibility lately.
    
    That's the Emacs family.
    
    Meanwhile, at Bell Labs, Unix was being born.  In the mid 1970s, the
    way to interact with a Unix system was through a Teletype.
    Accordingly, ed was written.  ed is a fairly powerful and regular
    editor, given the interface.  Not as powerful as TECo, but a lot
    easier to learn.  Bell Labs started giving away Unix licenses to
    universities in the mid 1970s.  (One of the engineers of that era said
    the reason ed never prints a prompt is that the machines were so slow,
    they'd always be several commands behind you and when you finally
    issued a print command (p or l) to see what you'd done you'd wait and
    wait for it to catch up.)  I remember using mini-Unix on a PDP-11/40,
    and can vouch that a context switch took about three seconds on that
    box.  If another process ran during your editing session, the editor
    would be swapped out for a minimum of six seconds.
    
    Sometime in the late 1970s, an undergraduate at Berkeley, Bill Joy
    (who later became lead programmer in the DARPA-funded project to make
    Unix a suitable computer science research platform, Berkeley Unix (aka
    Berkeley Software Distribution, BSD), then later founded Sun
    Microsystems), started adding features to ed.  He called his "extended
    ed" ex.  Eventually he added "visual mode", or "vi", to display text
    on a CRT terminal while it's being edited.  So ex and vi were the same
    editor, and both derived from ed.
    
    Since I'm primarily an emacs user, I don't know the history of various
    vi versions and clones.  The dominant vi variant today seems to be
    vim, for "vi improved".  Maybe somebody else would like to fill that
    part in?
    
    Steven Levy's book, Hackers, is the best published history of this
    era, especially the MIT bit.  The O'Reilly book, Open Sources, has a
    good synopsis history of BSD written by Mike Karels.
    
    * ITS, the Incompatible Timesharing System, had the weirdest file
      naming convention I've ever seen.  The machine had a 36 bit word, a
      character set called 6-Bit was devised to fit six characters per
      word.  If I remember, it mapped ASCII characters 32 (space) through
      95 (backslash), so it had the uppercase letters, the digits, and
      most of the punctuation, including space (which had code \00,
      suitable for NULL-padding short names.  A filename was two
      6-character words separated by a space.  A common convention was to
      use the second word as a version number.  So the TECo Manual,
      version 51, would have been named "TECORD     51".
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] mac-mini mac-slack-ub-lin meeting



    fleming.j at comcast.netSat Jan 22 08:47:53 PST 2005

    I was including some other OSes that would probably be there. I bought this mainly for the OSX part of it.
                                                                                                             John
    
    
    > On Sat, Jan 22, 2005 at 02:10:51AM +0000, fleming.j at comcast.net wrote:
    > > Well it arrived and I'm writing my first e-mail with OSX. Can't wait to
    > > mess with the innards WHOO-HOO! Sadly MRO helped me make the decision to
    > > buy this beast and his order died or something. But Chances are there
    > > are a couple of Maccies out there who might want to make the next
    > > meeting a Mac-Slack-Ub-Lin meeting.
    > 
    > So wait.  You bought the ideal second (or third) computer to run MacOS X
    > on, and you're not going to run MacOS X on it?
    > 
    > If you don't want your copy of iLife '05, I could do with the savings of
    > the upgrade fee.  ;)
    > 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
  • [Eug-lug] Computer time



    Allen BrownSat Jan 22 08:26:08 PST 2005

    Vi and ex are the same bits.  But they act differently.  Vi is
    a screen editor.  Ex is a line editor.
    
    They are actually different modes for the same editor.  You can
    drop to ex from within vi.
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com             abrown at peak.org
      Anyone can make something work.  It takes an engineer to make it 
    *barely* work.
    
    On Fri, 21 Jan 2005, Jim K wrote:
    
    >       I just did a man ex on a mandrake 10 community system and it 
    > displayed the vim man page. Is ex just an alias for vim?
    > I have had at least one linux system that didn't have ex, but they all 
    > had ed. You can create a program or script that creates a
    > script that executes ed and operate on another file. ed is small and 
    > could be loaded on thing like linux ipods the Zuarus series of machines 
    > etc, without using up memory.
    >     Also if you have used a line editor in the past ed is easy to pick 
    > up and run with.
    > Jim K
    > Allen Brown wrote:
    > 
    > >On Fri, 21 Jan 2005, Max Lemieux wrote:
    > >
    > >  
    > >
    > >>Ok, this works. Enter gives me a ? but line number + enter displays a line.
    > >>
    > >>What practical uses do you find for ed? seems specialized enough that it 
    > >>could be very handy.
    > >>
    > >>-Max
    > >>    
    > >>
    > >
    > >Criminey!  ed is just an historical relic.  If you want something
    > >that is line oriented rather than a screen editor, use ex.
    > >--
    > >Allen Brown
    > >  work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
    > >        allen_brown at agilent.com             abrown at peak.org
    > >  The dinosaurs became extinct because they didn't have a space program.
    > >  --- Larry Niven
    > >
    > >
    > >  
    > >
    > >>Jacob Meuser wrote:
    > >>
    > >>    
    > >>
    > >>>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.
    > >>>
    > >>> 
    > >>>
    > >>>      
    > >>>
    > >>_______________________________________________
    > >>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
    > >
    > >  
    > >
    > 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
  • [Eug-lug] Computer time



    Bob MillerSat Jan 22 08:23:41 PST 2005

    Jacob Meuser wrote:
    
    > 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.
    
    No, ed is the STANDARD text editor.
    http://www.gnu.org/fun/jokes/ed.msg.html
    
    I agree with Max.  Nano is a good, non-confusing editor.  I'll bet I've
    been using emacs longer than anyone here -- I first used the original
    TECo-based version on MIT-AI sometime in 1978.  But I'm still aware
    that emacs is a bear to learn.
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] RE: Hardware



    Allen BrownSat Jan 22 08:15:59 PST 2005

    DIY == Do It Yourself
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com             abrown at peak.org
      'The Good Book', one of the most remarkable euphemisms ever coined.
      --- Ashley Montagu
    
    
    On Fri, 21 Jan 2005, walter fry wrote:
    
    > 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/
    > 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
  • [Eug-lug] Hardware Related: Any Tape Drives Available???



    Allen BrownSat Jan 22 08:12:41 PST 2005

    On Fri, 21 Jan 2005, nyal wrote:
    
    > 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.
    
    What kind of tape drives?  Are you talking 9 track?  That seems awfully
    big for an RC plane.  Cartridge tape?  Cassette tape?
    
    > 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
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com             abrown at peak.org
      Does the name Pavlov ring a bell?
    
    
  • [Eug-lug] mac-mini mac-slack-ub-lin meeting



    T. Joseph CARTERSat Jan 22 03:07:54 PST 2005

    On Sat, Jan 22, 2005 at 02:10:51AM +0000, fleming.j at comcast.net wrote:
    > Well it arrived and I'm writing my first e-mail with OSX. Can't wait to
    > mess with the innards WHOO-HOO! Sadly MRO helped me make the decision to
    > buy this beast and his order died or something. But Chances are there
    > are a couple of Maccies out there who might want to make the next
    > meeting a Mac-Slack-Ub-Lin meeting.
    
    So wait.  You bought the ideal second (or third) computer to run MacOS X
    on, and you're not going to run MacOS X on it?
    
    If you don't want your copy of iLife '05, I could do with the savings of
    the upgrade fee.  ;)