Remote unix text editing (Was: Why is there no or or and ?)

bcs bcs at example.com
Sat Feb 18 09:40:15 PST 2012


On 02/18/2012 09:10 AM, Nick Sabalausky wrote:
> "James Miller"<james at aatch.net>  wrote in message
> news:mailman.523.1329551034.20196.digitalmars-d at puremagic.com...
>> I would like to add a few more points.
>> I exclusively use (g)vim text editing, why? Because it means I can jump on
>> a console, SSH into a server, and it will probably have vim, or atleast
>> vi.
>
> I've heard a lot of people say that about vi(m), but in my (admittedly
> somewhat limited) experience, I've never come across a (Li|U)n[ui]x system
> that didn't have nano or pico (neither of which are great, but they're good
> enough for editing Unix configuration files, and I'm actually capable of
> using them, unlike emacs or vim).

Vi's not that hard to use if you don't expect to be a power user.

>
> But I prefer to do it like this: SSH into a server, but then also connect
> via SSHFS (SSHFS is fucking *awesome*!). That way, no matter the server, I
> can use *any* editor I want: kate, gedit, whatever.

How long does it take to get in via sshfs? If it take more than about 10 
seconds to get started, that is a non-starter for some cases (I need to 
edit one line of one config file on this server I touch less than once a 
quarter.

>
> If I'm using a server that doesn't already have ssh set up (for instance, if
> I'm actually setting up ssh) *then* I'll either use nano/pico or, if I can,
> I'll install mcedit which is the closest I've seen to what I would consider
> a nice text-mode editor.
>
>



More information about the Digitalmars-d mailing list