• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Schadenfreude is..."

Collapse

  • d000hg
    replied
    I'm sure other editors do proper regex searching - I recently learned how to use the (weird) implementation in Visual Studio and it can be amazing useful on occasion.

    Leave a comment:


  • Cliphead
    replied
    Originally posted by doodab View Post
    The thing that make vim useful for me is the regexes, particularly search and replace using backreferences and the configurable folding. It may be possible to do that stuff to the same degree in some other editors (i know people rave about emacs) but not as easily, if at all, in any of the windows gui ones I have tried such as notepad++ or ultra edit. There are certain sorts of logfiles I deal with where the usual reaction from other folk when they see what it can do is 'can you show me how to do that'. To quote Arthur C Clarke it is "indistinguishable from magic".
    You got it

    Leave a comment:


  • doodab
    replied
    Originally posted by Cliphead View Post
    I use Vi (well Vim which is Vi Improved), every day and a fine editor it is when life is spent in a console. Productive? Marginally faster than a GUI editor but no better really.

    I sometimes switch to Joe for a bit of nostalgia cos it's mostly like WordStar which I used in DOS days and still remember all the commands.

    There's no need for a GUI of any kind on a unix / linux server.
    The thing that make vim useful for me is the regexes, particularly search and replace using backreferences and the configurable folding. It may be possible to do that stuff to the same degree in some other editors (i know people rave about emacs) but not as easily, if at all, in any of the windows gui ones I have tried such as notepad++ or ultra edit. There are certain sorts of logfiles I deal with where the usual reaction from other folk when they see what it can do is 'can you show me how to do that'. To quote Arthur C Clarke it is "indistinguishable from magic".

    Leave a comment:


  • istvan
    replied
    Originally posted by mudskipper View Post
    Best editor?

    DEC EDT - the only editor with a keyboard condom.
    Emacs was the editor of my choice, well ages ago at least. I will admit, I still have a version on my MAC and use it to edit html text files for fun...

    Leave a comment:


  • stek
    replied
    Originally posted by Cliphead View Post
    I use Vi (well Vim which is Vi Improved), every day and a fine editor it is when life is spent in a console. Productive? Marginally faster than a GUI editor but no better really.

    I sometimes switch to Joe for a bit of nostalgia cos it's mostly like WordStar which I used in DOS days and still remember all the commands.

    There's no need for a GUI of any kind on a unix / linux server.
    I was always told it's that way cos you might need to boot single or boot cd where you have no dynamic libs and only the basic tools. Fair enough but in years and years I think i've only had to do that twice!

    NEVER CHANGE ROOT'S SHELL was another, esp on Solaris, bash fans being the culprits, now you can do that on Solaris, and Redhat and all those fancy new fangled Unix-like OSes...

    Leave a comment:


  • Cliphead
    replied
    I use Vi (well Vim which is Vi Improved), every day and a fine editor it is when life is spent in a console. Productive? Marginally faster than a GUI editor but no better really.

    I sometimes switch to Joe for a bit of nostalgia cos it's mostly like WordStar which I used in DOS days and still remember all the commands.

    There's no need for a GUI of any kind on a unix / linux server.

    Leave a comment:


  • mudskipper
    replied
    Originally posted by sasguru View Post
    vi. That takes me back - probably the best editor ever invented.
    Best editor?

    DEC EDT - the only editor with a keyboard condom.

    Leave a comment:


  • Spacecadet
    replied
    Originally posted by sasguru View Post
    vi. That takes me back - probably the best editor ever invented.
    Just because it uses some archaic system of obscure keyboard shortcut commands doesn't make it the best ever.
    Infact I'd say that pretty much every text editor I've used since vi has been better

    Leave a comment:


  • bobspud
    replied
    Years ago I used to set vi up with a sticky bit so that once the servers were locked down for production, I could always gain root by shelling out of Vi

    Lost count of how many sysadmins couldn't figure out how I still had root even after they changed the password

    Leave a comment:


  • shaunbhoy
    replied
    Originally posted by Troll View Post
    I was happy using edlin in the DOS days... but vi is too tricky for me as I is fick!!
    ftfy

    Leave a comment:


  • Troll
    replied
    Originally posted by rhubarb View Post
    :%s/work of the devil/dogs bollocks/

    Kind of FTFY
    Geek

    Leave a comment:


  • stek
    replied
    Schadenfreude is...

    Originally posted by rhubarb View Post
    :%s/work of the devil/dogs bollocks/

    Kind of FTFY
    g


    FTFY

    Leave a comment:


  • rhubarb
    replied
    Originally posted by Troll View Post
    I was happy using edlin in the DOS days... but vi is the work of the devil
    :%s/work of the devil/dogs bollocks/

    Kind of FTFY

    Leave a comment:


  • Zippy
    replied
    Originally posted by Troll View Post
    I was happy using edlin in the DOS days... but vi is the work of the devil
    WTS

    Leave a comment:


  • stek
    replied
    Schadenfreude is...

    Well he's done it, had to show him how to save it.

    I'm certain he did it in notepad and right clicked it into putty, the signs were there.

    These are AIX lpars, nowt much more than BOS plus ssh on so no fancy tools!

    Actually just checked - someone's put bash on, sacrilege!

    Leave a comment:

Working...
X