• 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!

Useful software

Set of binary toggle switches and incandescent lamps.


Only software you need.

:rolleyes:
 
TECO (but not for a long time now)

vim

For a GUI editor on OS X, TextWrangler.
Haven't found a replacement for Textpad.

Here's one thing a do a lot on Textpad: start with
Code:
AA
BB
CC
DD
EE
.
.
11
22
33
44
55

Switch to Block Mode. Select the
Code:
11
22
33
44
55
and drag it to the right of the
Code:
AA
BB
CC
DD
EE
etc. Result, in 1 action:
Code:
AA   11
BB   22
CC   33
DD   44
EE   55
I don't know how to do that in any editor for the Mac. (I have described it in detail because if I just say "block copy" people sometimes understand other functions).
 
7-zip for all your zipping raring tgzing needs

FileHippo to keep all your other free programs patched

TortoiseSVN to keep you own SVN repository without getting all command liney, useful for things other than code too

Treesize Free for finding just where your disk space went

NetBeans 6.5 for mucking about programming when you should be doing something else.

Gimp for image editing


Not that I'm a free software whore.
 
Haven't found a replacement for Textpad.

Here's one thing a do a lot on Textpad: start with
Code:
AA
BB
CC
DD
EE
.
.
11
22
33
44
55

Switch to Block Mode. Select the
Code:
11
22
33
44
55
and drag it to the right of the
Code:
AA
BB
CC
DD
EE
etc. Result, in 1 action:
Code:
AA   11
BB   22
CC   33
DD   44
EE   55
I don't know how to do that in any editor for the Mac. (I have described it in detail because if I just say "block copy" people sometimes understand other functions).

Firstly I'll agree with you that on Windows, TextPad is the editor of choice. Unfortunately I've never seen it on locked down corporate PCs.

TextWrangler can do what it calls Rectangular Selections. You simply hold down the Opt key while selecting for the Cut, and again hold the Opt key to draw a target rectangle, then paste. Unfortunately it doesn't allow you to pad with spaces as in your example, so unless you insert them yourself, you'd get:

Code:
AA11
BB22
CC33
DD44
EE55

However, you can add a prefix or suffix to a selection of lines, so here you can prefix the source lines with x spaces before doing a rectangular cut, or suffix the target lines with spaces before doing the paste.

vim also has block selection, but suffers from similar problems with space padding. The advantage of vim is that it runs on any platform, and its predecessor vi can be found on any *nix system. Either vi or vim are available in standalone or console mode, and of course command line ssh sessions, which is where I started using vim.

P.S. If you try out TextWrangler, the tutorial is worthwhile.
 
Last edited: 15:36
Firstly I'll agree with you that on Windows, TextPad is the editor of choice. Unfortunately I've never seen it on locked down corporate PCs.

TextWrangler can do what it calls Rectangular Selections. You simply hold down the Opt key while selecting for the Cut, and again hold the Opt key to draw a target rectangle, then paste. Unfortunately it doesn't allow you to pad with spaces as in your example, so unless you insert them yourself, you'd get:

Code:
AA11
BB22
CC33
DD44
EE55

However, you can add a Prefix or suffix to a selection of lines, so here you can prefix the source lines with x spaces before doing a rectangular cut, or suffix the target lines with spaces before doing the paste.

vim also has block selection, but suffers from similar problems with space padding.
Sounds good. Thanks.
 

Advertisers

Back
Top