 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Warp wrote:
> If I need to edit a file remotely through SSH, emacs will do the job
> (regardless of which OS I'm using, because emacs will be running on the
> remote computer), notepad won't.
That's why they invented RDP and VNC.
Altho in this case, I usually prefer VI, because it's lower bandwidth and
you can work effectively with very delayed feedback.
Maybe emacs is the same, but I find I can't easily drive emacs without
feedback after most command keystrokes, while it's easy to (for example)
find a string in vi without all the incremental stuff.
--
Darren New, San Diego CA, USA (PST)
There's no CD like OCD, there's no CD I knoooow!
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Warp wrote:
> Never having used vi, it's just almost impossible to use for anything.
The commands are definitely unintuitive. The modal interface is hard to
understand if you don't know about it.
> I once was forced to use it because there just was no other text editor
> in that system and I just had to edit a file, and it was next to impossible.
It ain't notepad. :-)
> vi doesn't work like a regular text editor, ie. you start it with a file,
> edit the file (by moving the cursor and writing text), then exit the file
> (which offers you the option of saving the file).
This is actually how it works, except that inserting text is a command
rather than the default mode.
--
Darren New, San Diego CA, USA (PST)
There's no CD like OCD, there's no CD I knoooow!
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Darren New <dne### [at] san rr com> wrote:
> Altho in this case, I usually prefer VI, because it's lower bandwidth and
> you can work effectively with very delayed feedback.
Along with gnu screen, it makes a pretty powerful combo for ssh work. If you
leave things running at work and if you really feel like it, you can reattach
from anywhere and pick up where you left off.
- Ricky
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Fri, 17 Apr 2009 16:17:58 -0700, Darren New wrote:
> Warp wrote:
>> Never having used vi, it's just almost impossible to use for
>> anything.
>
> The commands are definitely unintuitive. The modal interface is hard to
> understand if you don't know about it.
I find vi to be completely intuitive.
:/s/find/replace/g = globally replace "find" with "replace"
:q
Quit
:q!
Forced quit
:w
Write
:w!
Forced write
Etc....
Jim
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Fri, 17 Apr 2009 23:13:40 -0400, triple_r wrote:
> Darren New <dne### [at] san rr com> wrote:
>> Altho in this case, I usually prefer VI, because it's lower bandwidth
>> and you can work effectively with very delayed feedback.
>
> Along with gnu screen, it makes a pretty powerful combo for ssh work.
> If you leave things running at work and if you really feel like it, you
> can reattach from anywhere and pick up where you left off.
>
> - Ricky
Screen is one of my favourite CLI tools. :-)
Jim
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Jim Henderson wrote:
> On Fri, 17 Apr 2009 16:17:58 -0700, Darren New wrote:
>
>> Warp wrote:
>>> Never having used vi, it's just almost impossible to use for
>>> anything.
>> The commands are definitely unintuitive. The modal interface is hard to
>> understand if you don't know about it.
>
> I find vi to be completely intuitive.
>
> :/s/find/replace/g = globally replace "find" with "replace"
>
> :q
>
> Quit
>
> :q!
>
> Forced quit
>
> :w
>
> Write
>
> :w!
>
> Forced write
completely intuitive for a seasoned ed user. ;)
You know what is not intuitive either? A Boeing user interface. Yet,
it'll get you farther and faster than your intuitive bicycle. :)
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Sat, 18 Apr 2009 03:23:46 -0300, nemesis wrote:
>> Forced write
>
> completely intuitive for a seasoned ed user. ;)
Intuitive once you've learned it. ;-)
> You know what is not intuitive either? A Boeing user interface. Yet,
> it'll get you farther and faster than your intuitive bicycle. :)
True, but sometimes a bicycle is all you need, you don't need a 747 to
take you to the corner market. ;-)
Jim
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Darren New <dne### [at] san rr com> wrote:
> nemesis wrote:
> > Darren New escreveu:
> >> My favorite is how emacs brings up the help screen when you hit
> >> backspace. I'm pretty sure the defined meaning of backspace predates
> >> emacs. :-)
> >
> > I may be a little rusty at emacs but I don't really remember that.
> Backspace is C-h, yes? C-h is "help". Gets me every time.
That depends on your console settings, actually.
If you run emacs on X, the backspace key will be bound to the backspace
keycode and it will be distinct from C-h.
When I run emacs on Konsole (with DISPLAY disabled), the backspace key
is bound to the 'del' keycode rather than C-h.
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Darren New <dne### [at] san rr com> wrote:
> > vi doesn't work like a regular text editor, ie. you start it with a file,
> > edit the file (by moving the cursor and writing text), then exit the file
> > (which offers you the option of saving the file).
> This is actually how it works, except that inserting text is a command
> rather than the default mode.
Both you and Jim are *deliberately* "misunderstanding" what I'm saying
above.
No, it's *not* how it works.
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Jim Henderson <nos### [at] nospam com> wrote:
> I find vi to be completely intuitive.
You don't seem to understand the meaning of the word "intuitive".
Intuitive means that its basic operations can be used by someone who
has never used the program before.
Intuitive does not mean that you find it easy to use after having years
of experience.
--
- Warp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |