euglug.org

[작성자:] admin

  • [Eug-lug] terminal over http, cool, but why.



    Jeff_WTue Nov 15 14:35:58 PST 2005

    larry price <laprice at gmail.com> wrote:
    
    > http://anyterm.org/howitworks.html
    >
    > I could even see legitimate uses for this assuming SSL
    > It at least looks like a more elegant solution than
    > the WeirdMind java based SSH client
    
    I've used this to log into remote systems from public libraries
    and such.  An option if all you have is I.E. but it's kinda doggy.
    
    
  • [Eug-lug] An account of the War on Terror, as rendered via the Unix command-line:



    Jeff_WTue Nov 15 14:33:10 PST 2005

    "Michael H. Collins" <mike at linuxlink.com> wrote:
    
    > ...here in Austin
    
    As in Texas? The lone star state? Were Right is right and Left is Rong?
    Where steak is king and hats are big and oil shines like gold?  
    
    Yeee HA!
    
  • [Eug-lug] terminal over http, cool, but why.



    larry priceTue Nov 15 14:26:32 PST 2005

    http://anyterm.org/howitworks.html
    
    I could even see legitimate uses for this assuming SSL
    It at least looks like a more elegant solution than
    the WeirdMind java based SSH client
    
    --
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] An account of the War on Terror, as rendered via the Unix command-line:



    Michael H. CollinsTue Nov 15 14:04:10 PST 2005

    I thought the same, but yes there are some real Right wing geeks here in 
    Austin.  Not many, but enough to keep an eye out for.
    
    
    dooger watts wrote:
    
    > This is fabulous.  I'm forwarding it to all my 'droid friends.   And 
    > speak of it, ARE there any consevative nerds/geeks?  Seems like that's 
    > almost a contradiction in terms.
    > Martin Kelly wrote:
    >
    Chupacabra
    
    
  • [Eug-lug] Shell scripting IFS woes



    Bob MillerTue Nov 15 14:02:31 PST 2005

    Patrick R. Wade wrote:
    
    > What i eventually wound up doing:
    
        eval cd "`echo $user`"
        ssh -n me at there \
    	"cd ~$user; "'tr \\12 \\0 < .mailboxlist | xargs -0 tar cf -' | \
    	tar xvfp -
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] Shell scripting IFS woes



    Patrick R. WadeTue Nov 15 13:34:46 PST 2005

    Fred James wrote:
    
    > No, the extra quotes were to deal with the blank (space) in the file 
    > names (example: "bar baz"), which was part of the original requirement 
    > in the post from Patrick Wade.  Without the extra quotes the command for 
    > that file reads something like 'scp bar baz ...' instead of treating 
    > "bar baz" as the file name (space included).
    > Regards
    > Fred James
    
    What i eventually wound up doing:
    
    # test for subscribed IMAP folders
    if ssh me at there "ls ~$user/.mailboxlist 2>&1" > /dev/null
    then boxen="$(ssh me at there "cat ~$user/.mailboxlist")"
    IFS="
    "
    for b in ${boxen// /\\ } # transforms variable substitution
    do scp "me at there:/home/$user/$b" /home/$user/mail
    done
    else echo "$user has no IMAP folders"
    fi
    
    This winds up substituting "bar baz" with "bar\ baz" in place of the 
    variable $b.
    
    -- 
    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] Shell scripting IFS woes



    Fred JamesTue Nov 15 12:07:31 PST 2005

    Bob Miller wrote:
    
    >Fred James wrote:
    >
    >  
    >
    >>I was able to get this one to work by removing the 'echo', and adding \" 
    >>in four places (see below) - granted my testing was all local.  Does it 
    >>behave differently copying from remote?
    >>    
    >>
    >
    >Oh, right.  The remote shell will strip off another level of
    >quoting.  But you're local, so there shouldn't be a remote
    >shell.  I'm not sure why you needed the extra quotes --
    >did your filenames have quotes in them?
    >  
    >
    Bob Miller
    No, the extra quotes were to deal with the blank (space) in the file 
    names (example: "bar baz"), which was part of the original requirement 
    in the post from Patrick Wade.  Without the extra quotes the command for 
    that file reads something like 'scp bar baz ...' instead of treating 
    "bar baz" as the file name (space included).
    Regards
    Fred James
    
  • [Eug-lug] Shell scripting IFS woes



    Bob MillerTue Nov 15 11:43:44 PST 2005

    Fred James wrote:
    
    > I was able to get this one to work by removing the 'echo', and adding \" 
    > in four places (see below) - granted my testing was all local.  Does it 
    > behave differently copying from remote?
    
    Oh, right.  The remote shell will strip off another level of
    quoting.  But you're local, so there shouldn't be a remote
    shell.  I'm not sure why you needed the extra quotes --
    did your filenames have quotes in them?
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] An account of the War on Terror, as rendered via the Unix command-line:



    dooger wattsTue Nov 15 11:07:50 PST 2005

    Alan wrote:
    
    > Edward Craig wrote:
    >
    >> Farc as I can tell, accordintg to the mass media, if you don't call 
    >> yourself
    >> neo-liberal or neo-conservative, you are either anarchist or fascist (or
    >> somehow both). I dunno why that neo prefix is necessary.
    >>
    >
    > I don't know what a neo-liberal would be, but "neo-conservative" is a 
    > term used to differentiate the more interventionist newcomers from the 
    > Old Guard conservatives.
    > Or as one of the founders of the movement put it, "A neoconservative 
    > is just a liberal who got mugged by reality."
    > heh.
    
        That's apt.  Most victims of bullies become bullies themselves, 
    Reagan being the perfect example. 
    
        "Why do you beat your children?" 
    
        "My dad beat me; I'm just carrying on the tradition."
    
  • [Eug-lug] An account of the War on Terror, as rendered via the Unix command-line:



    AlanTue Nov 15 10:16:52 PST 2005

    Edward Craig wrote:
    > Farc as I can tell, accordintg to the mass media, if you don't call yourself
    > neo-liberal or neo-conservative, you are either anarchist or fascist (or
    > somehow both). I dunno why that neo prefix is necessary.
    > 
    
    I don't know what a neo-liberal would be, but "neo-conservative" is a 
    term used to differentiate the more interventionist newcomers from the 
    Old Guard conservatives.
    Or as one of the founders of the movement put it, "A neoconservative is 
    just a liberal who got mugged by reality."
    heh.
    
    -ajb