euglug.org

[작성자:] admin

  • [Eug-lug] mounting old Mac floppy



    horstSun Jan 23 22:55:15 PST 2005

    I try to extract some files from a Mac floppy that's about 7 years old.
    
    It says 1.4MB , and I can 'dd if=/dev/fd0 ...'  --I can roughly see the 
    stuff I want in the 1.4MB dump, but it's a mess.
    
    I tried to mount using several /dev/fd*  but always bumped out not knowing 
    the type (-t) . I looked at the types offered by fdisk, but non looked 
    mac-floppyish enough to give it a chance.
    
    Any hints ???
    
      - Horst
      (I could look for an old Mac at work, but it would be cool to do it under 
    Linux :-)
    
    
  • [Eug-lug] Computer time



    Bob MillerSun Jan 23 22:22:41 PST 2005

    Jacob Meuser wrote:
    
    > On Sun, Jan 23, 2005 at 02:12:21PM -0800, Allen Brown wrote:
    > 
    > > Emacs and vi are also not word processors since they don't really
    > > support fonts.  But they are programming environments.  If you
    > > will be programming it makes sense to get an editor that supports
    > > you in that.
    > 
    > I don't like emacs because it tries to format my code for me.  I
    > condsider that unsupportive, and actually kinda rude.
    
    Completely disable emacs's language-specific modes by putting this
    in your ~/.emacs .
    
    	(setq auto-mode-alist ())
    
    > UNIX _is_ a programming environment, made up of many simple tools,
    > doing one thing and doing it well.  that's why there is indent,
    > ctags, lint, sed, etc, etc.  knowing how to use those tools
    > individually is far more useful than knowing how a particular
    > program reimplements them.
    
    The history lesson should make it obvious why emacs doesn't share the
    unix tools philosophy.
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] Computer time



    Bob MillerSun Jan 23 22:18:48 PST 2005

    Jamie wrote:
    
    > clearly pico/nano are simple text editors, not fancy programming
    > environments or word processors.. just a simple text editor.
    
    Yes.
    
    That's a virtue not to be overlooked.  Each of us has limited time to
    commit to learning new systems, so we ought to focus on those that
    will actually help us most.
    
    If you're going to spend 20+ hours a week editing text files, then by
    all means, invest the time to learn emacs.  If you're going to make
    a one line change in a config file every couple of weeks, then why
    bother?
    
    As a software developer, I don't regret having learned emacs for a
    minute.  Being able to customize emacs's C++ autoindentation for a
    given client's coding style standard, to pick an example, is great.
    But I'm aware that 97% of the people using Linux don't need that.
    (Actually, I can't think of any task other than programming that
    involves heavy use of text files these days.  Plain text used to be a
    more widely used document format.  Of course, lots of people are
    programming...)
    
    That's why I love Apple's old ClarisWorks office suite.  I create five
    "office" documents a year.  ClarisWorks had just about enough
    functionality for me, and what it had was very accessible so I could
    get things done.  OpenOffice is hard for me to use, both because it
    has too many bells and whistles, and because I can never find
    anything.  Did ClarisWorks (nee AppleWorks) ever get ported to MacOSX,
    BTW?
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] Computer time



    Jacob MeuserSun Jan 23 18:41:30 PST 2005

    On Sun, Jan 23, 2005 at 04:09:54PM -0800, John Sechrest wrote:
    
    >  So.. you would choose to learn an editor that was complex because
    >  it had the ability to give you leverage. Both VI and Emacs
    >  support automation at one level or another.
    > 
    >  Nano/pico/whatever don't. 
    
    which is why I use mg.  simple, with _some_ amenities.
    
    >  I have watched people type in and edit lists of names over
    >  again to make them in the right formate, when if they had
    >  used emacs/vi and regular expressions, they would have
    >  been done in 5 minutes. 
    
    or they could have used sed or perl, no?  or maybe they could have
    written their own toolkit of simple scripts?
    
    >  So the reason that you look at tools outside of your current
    >  tool is to find the places that people are effective and
    >  to gain some of that efficiency for yourself.
    > 
    >  If you can't want to gain it, fine... But don't be upset when
    >  others start being more effective...
    
    I was not complaining about anything of the sort.  I merely don't
    like the fact that emacs does things that I don't want it to,
    apparently by default.
    
    anyway, I still use old computers.  emacs is a bloated pig.  in the
    time I wait for emacs to start up, I can be done with mg.
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] Re: Wrapping



    John SechrestSun Jan 23 18:12:48 PST 2005

    Specifically, to work out what larry is saying, let's go thru 
    a example that I have often used.
    
    Suppose that I want to have a network service that creates fortune
    quotes. Everytime I connect to the port, I get a new quote. 
    
    There already exists a program that generates quotes, it is 
    called fortune. I run the program, it generates a quote to 
    standard out.
    
    By creating an entry in /etc/inetd.conf or in /etc/xinetd.d
    depending on which version, this program "fortune" can be 
    wrapped by inetd, such that the programs services becomes a 
    network service. 
    
    # /etc/inetd.conf:  see inetd(8) for further informations.
    
    
    # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
    fortune 	stream	tcp	wait	fortune	/usr/games/fortune fortune
    
    
    
    
    
    
    larry price <laprice at gmail.com> writes:
    
     % Jeff is asking about a program called inetd which handles access
     % control for network connections to local programs, it's useful if you
     % have a local program which for some reason needs to be network
     % accessible.
     % 
     % in other words it's used to "wrap" tcp connections in a layer of
     % security and access control.
     % 
     % 
     % 
     % On Sun, 23 Jan 2005 22:49:07 +0000, walter fry <kd7kpa at hotmail.com> wrote:
     % > newbe walter here..
     % > What means   wraping  ?  please
     % > 
     % > >From: Bob Miller <kbob at jogger-egg.com>
     % > >Reply-To: Eugene Unix and Gnu/Linux User Group <euglug at euglug.org>
     % > >To: Jeff_W <beaker at freeshell.org>,
     % > >Subject: Re: [Eug-lug] Wrapping for Access Control>
     % > > > Anyways, is there some easy way of "wrapping" PYG for use w/ TCP
     % > > > Wrappers or do I need to look at something else
     % > 
     % > _________________________________________________________________
     % > Don't just search. Find. Check out the new MSN Search!
     % > http://search.msn.click-url.com/go/onm00200636ave/direct/01/
     % > 
     % > _______________________________________________
     % > 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?
     % _______________________________________________
     % 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] Re: Wrapping



    larry priceSun Jan 23 18:07:29 PST 2005

    Jeff is asking about a program called inetd which handles access
    control for network connections to local programs, it's useful if you
    have a local program which for some reason needs to be network
    accessible.
    
    in other words it's used to "wrap" tcp connections in a layer of
    security and access control.
    
    
    
    On Sun, 23 Jan 2005 22:49:07 +0000, walter fry <kd7kpa at hotmail.com> wrote:
    > newbe walter here..
    > What means   wraping  ?  please
    > 
    > >From: Bob Miller <kbob at jogger-egg.com>
    > >Reply-To: Eugene Unix and Gnu/Linux User Group <euglug at euglug.org>
    > >To: Jeff_W <beaker at freeshell.org>,
    > >Subject: Re: [Eug-lug] Wrapping for Access Control>
    > > > Anyways, is there some easy way of "wrapping" PYG for use w/ TCP
    > > > Wrappers or do I need to look at something else
    > 
    > _________________________________________________________________
    > Don't just search. Find. Check out the new MSN Search!
    > http://search.msn.click-url.com/go/onm00200636ave/direct/01/
    > 
    > _______________________________________________
    > 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



    John SechrestSun Jan 23 16:09:54 PST 2005

    Jacob Meuser <jakemsr at jakemsr.com> writes:
    
     % On Sun, Jan 23, 2005 at 03:41:41PM -0800, Allen Brown wrote:
    
     % > > I don't like emacs because it tries to format my code for me.  I
     % > > condsider that unsupportive, and actually kinda rude.
    
     % > Like all things, it is configurable.  You can either set the
     % > configuration so that it formats to your style, or you can
     % > turn off formatting.
    
     % or I can not use programs that I dislike ...
    
     % seriously, with the wide choice of editors out there, why would I
     % spend time trying to figure out how to do that?
    
    
     Editors are tools. You can use the simple easy tools. Or you
     can use the tools that your father used. Or you can use the one that you 
     first learned.....
    
     or you can learn the tool that lets you get the job done best
     in the long term.
    
     I have often watched people hold fast to a tool because they like
     it, and yet not spend the time to learn another tool that would
     give them advantage in the long run.
    
     The reason you would choose to learn emacs is that 
     if it fits how you approach problems, then you can
     make an environment that makes you more effective.
    
     A macro here, a mode there and pretty soon you can do things
     in half the time, or a tenth of the time that others
     do the same thing. 
    
     Where you are doing similar things over and over, having a 
     way to automate it is important for the long run:
    
    
      System Admin rule:
    
      Do it once to learn it. 
      Do it the second time to document it.
      Do it the third time to automate it.
    
      And then stop doing it....
    
    ---
    
     So.. you would choose to learn an editor that was complex because
     it had the ability to give you leverage. Both VI and Emacs
     support automation at one level or another.
    
     Nano/pico/whatever don't. 
    
    	  
    
     % > > UNIX _is_ a programming environment, made up of many simple tools,
     % > > doing one thing and doing it well.  that's why there is indent,
     % > > ctags, lint, sed, etc, etc.  knowing how to use those tools
     % > > individually is far more useful than knowing how a particular
     % > > program reimplements them.
    
     % > I agree.  But one of the things emacs can do is to run make
     % > and parse the editor error messages, putting me onto the
     % > correct line number in the appropriate file to fix each bug.
     % > None of the tools you mention do this.
    
     This is an example of the automation that I was talking about. 
    
    
     % true, but I don't find it troublesome to read the make output and go
     % to the line in the file.
    
     Then fine. Don't use the tool that gets you leverage. 
    
     When professional programmers are evaluated for productivity, 
     there is a range of productivity of 50:1. IE, the top programmers
     are 50 times more productive that the worst professional
     programmers. I know of no other profession that has this kind
     of range. 
    
     Much of that range is a function of tools and attitudes. If
     you want to manage your productivity, then you learn to 
     adapt your tools to be more effective. 
    
     I have watched people type in and edit lists of names over
     again to make them in the right formate, when if they had
     used emacs/vi and regular expressions, they would have
     been done in 5 minutes. 
    
     So the reason that you look at tools outside of your current
     tool is to find the places that people are effective and
     to gain some of that efficiency for yourself.
    
     If you can't want to gain it, fine... But don't be upset when
     others start being more effective...
    
    
    
    
    
    -----
    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



    Linux Rocks!Sun Jan 23 16:05:29 PST 2005

    Nice... I like it. Ive only used it once, guess how?
    
    Jamie
    On Sunday 23 January 2005 03:57 pm, Jacob Meuser wrote:
    : On Sun, Jan 23, 2005 at 11:12:25PM +0000, walter fry wrote:
    : > What means RSI ?
    :
    : look for a simple program called wtf.
    
    -- 
    The only "intuitive" interface is the nipple.  After that, it's all learned.
    	-- Bruce Ediger, bediger at teal.csn.org, on X interfaces
    
    
  • [Eug-lug] Computer time



    Jacob MeuserSun Jan 23 15:57:37 PST 2005

    On Sun, Jan 23, 2005 at 11:12:25PM +0000, walter fry wrote:
    > What means RSI ?
    
    look for a simple program called wtf.
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] Computer time



    Jacob MeuserSun Jan 23 15:56:35 PST 2005

    On Sun, Jan 23, 2005 at 03:41:41PM -0800, Allen Brown wrote:
    
    > > I don't like emacs because it tries to format my code for me.  I
    > > condsider that unsupportive, and actually kinda rude.
    > 
    > Like all things, it is configurable.  You can either set the
    > configuration so that it formats to your style, or you can
    > turn off formatting.
    
    or I can not use programs that I dislike ...
    
    seriously, with the wide choice of editors out there, why would I
    spend time trying to figure out how to do that?
    
    > > UNIX _is_ a programming environment, made up of many simple tools,
    > > doing one thing and doing it well.  that's why there is indent,
    > > ctags, lint, sed, etc, etc.  knowing how to use those tools
    > > individually is far more useful than knowing how a particular
    > > program reimplements them.
    
    > I agree.  But one of the things emacs can do is to run make
    > and parse the editor error messages, putting me onto the
    > correct line number in the appropriate file to fix each bug.
    > None of the tools you mention do this.
    
    true, but I don't find it troublesome to read the make output and go
    to the line in the file.
    
    -- 
    <jakemsr at jakemsr.com>