Telnet Emacs

This is a discussion on Telnet Emacs within the Linux Programming forums, part of the Platform Specific Boards category; Hmm...Don't know how it works. Can someone enlighten me? I know how to use emacs on my own machine, but ...

  1. #1
    31173 h4x0r gnu-ehacks's Avatar
    Join Date
    Nov 2001
    Posts
    556

    Telnet Emacs

    Hmm...Don't know how it works. Can someone enlighten me? I know how to use emacs on my own machine, but I don't know how to use emacs when I telnet somewhere. It's strange...
    What will people say if they hear that I'm a Jesus freak?
    What will people do if they find that it's true?
    I don't really care if they label me a Jesus freak, there is no disguising the truth!

    Jesus Freak, D.C. Talk

    -gnu-ehacks

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    79
    Where are you stuck?
    All generalizations are false

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    202
    eww.... console emacs. That's why they have vi.

    Anyway, it's all BASICALLY the same, you'll just need to use keyboard functions for everything (C-x, C-f to open a file, etc). But I stil recommend using vi over telnet... I've found it to be more responsive and faster over telnet than emacs usually is.

    starX
    www.axisoftime.com

  4. #4
    31173 h4x0r gnu-ehacks's Avatar
    Join Date
    Nov 2001
    Posts
    556
    Okay, I've tried Vi. Now, I don't get how to save files, and exit the program. Could you help me out with the syntax?
    What will people say if they hear that I'm a Jesus freak?
    What will people do if they find that it's true?
    I don't really care if they label me a Jesus freak, there is no disguising the truth!

    Jesus Freak, D.C. Talk

    -gnu-ehacks

  5. #5
    Registered User
    Join Date
    Aug 2001
    Posts
    202
    without getting into the nitty gritty as to how and why this works:

    to save a file:

    ESC :w

    to exit:

    ESC :q

    to save and exit:

    ESC :wq

    to save without exiting:

    ESC :q!

    Note that the sequence is to push escape. and then enter the characters as if typing them... DON'T push them all at once. After you enter the above colon-sequences, push return to get the result. Lots of great online tutorials if you want to know more.

    starX
    www.axisoftime.com

  6. #6
    Registered User
    Join Date
    Aug 2001
    Posts
    202
    my bad, that last one should read

    to quit without saving:

    ESC :q!

    sorry about that, been a long night

    starX
    www.axisoftime.com
    ---------------
    starX
    www.axisoftime.com

  7. #7
    Registered User
    Join Date
    Aug 2001
    Posts
    79
    ESC is to ensure that you're not in some kind of editing mode. If you're already in command mode, you can skip that if you'd like.
    All generalizations are false

  8. #8
    Registered User
    Join Date
    Aug 2001
    Posts
    202
    What Flarelocke says is true, but pushing escape in command mode won't hurt you either. If you're not sure what mode you're in, push escape.

    starX
    www.axisoftime.com

  9. #9
    phubuh
    Guest
    Whether you can run Emacs on a machine or not has NOTHING to do with Telnet, it has to do with if the owner of the box actually has Emacs installed.

    You could just ask the administrator do install it, he'd probably do it in a pinch.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with telnet and tcp
    By hoAx in forum Windows Programming
    Replies: 11
    Last Post: 03-11-2008, 02:03 PM
  2. C Function Telnet Email
    By karcheee in forum C Programming
    Replies: 3
    Last Post: 07-25-2005, 11:39 AM
  3. C Execl Telnet
    By karcheee in forum C Programming
    Replies: 1
    Last Post: 04-26-2005, 02:31 PM
  4. telnet!!
    By bigB8210 in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-13-2003, 05:09 PM
  5. recv() and telnet ?
    By Devil Panther in forum Windows Programming
    Replies: 4
    Last Post: 06-13-2003, 12:23 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21