Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19
Hello I can use vi/nano well enough to get around, but I wish there were an editor that would work like Windows' Notepad, ie. no need to switch between edit/command ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Nov 2007
    Posts
    127

    Question [SOLVED] Notepad-like editor for Linux?


    Hello

    I can use vi/nano well enough to get around, but I wish there were an editor that would work like Windows' Notepad, ie. no need to switch between edit/command mode all the time, the Home/End/Page(Up|Down)/Ins/Del keys and the arrow keys would work as expected, I would no longer get the familiar "ABCD"'s when using the arrow keys in edit mode in vi, etc.

    Do you know if anyone has written a Notepad-like editor for Linux, or are the above still what people use?

    Thank you.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,390
    nano might be for you.
    If you want/need a graphical editor: gedit or kate.

    And yes, vi and emacs are "still" used.
    Widely.
    And with great efficiency
    You must always face the curtain with a bow.

  3. #3
    Linux Newbie
    Join Date
    Nov 2007
    Posts
    127
    Thanks for the tip. I forgot to say I wanted a command-line alternative to vi/Emacs. I knew about Nano but its lack of support for even the arrow keys turned me off.

    For those interested in the same thing: Joe is pretty close to Notepad for the command line.

    However, by default, it doesn't seem to support those keys:
    - CTRL-C/CTRL-V for copy/pasting
    - The Home/End keys don't work
    - The PageUp/PageDown just scroll what's in the terminal window (SecureCRT) instead of scrolling within the document currently edited in Joe

    If any Joe guru reads this, are those keys just not supported in Joe, or can something be done to enable them?

    Thank you.

  4. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,390
    Cursor keys in nano work just fine.

    And all the *functionality* you describe is in about any text editor.
    Just not assigned to the keys you know (presumably from the windows world).

    So there are two ways:
    - learning new editors. In case you have to deal with any unix on a regular basis, I would really recommend vi(m)
    - find a editor, that either acts like you want or at least is configurable.
    You must always face the curtain with a bow.

  5. #5
    Linux Newbie
    Join Date
    Nov 2007
    Posts
    127
    Sorry, nano does support the arrow keys, but just like Joe, doesn't support the other important keys (Home/End, etc.)

    As stated in my original post, I already know vi. I'm looking for something closer to what I use on Windows so that I'm more productive.

    Thank you.

  6. #6
    Linux Newbie
    Join Date
    Nov 2007
    Posts
    127
    Update: After logging on directly to the Linux host, I notice that the Home/End and PageUp/Down do work.

    So the issue is getting those to work over a terminal application from Windows.

  7. #7
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,390
    Hmm, there is a chance, these keys never reach the linux box, because windows and/or SecureCRT catch them for themselves.
    You could try putty, just to see if that makes a difference.
    You must always face the curtain with a bow.

  8. #8
    Linux Newbie
    Join Date
    Nov 2007
    Posts
    127
    Yup, that's what I just did, and Putty does handle them OK.

    I'll upgrade to a more recent version of SecureCRT and see if that takes care of the problem.

    Thanks for the tip.

  9. #9
    Linux Newbie
    Join Date
    Nov 2007
    Posts
    127
    One more issue, while connecting from Putty or SecureCRT: When pasting code, the first line is cut, and each line is further indented:

    http://img839.imageshack.us/img839/4...jaggedtext.jpg

    If someone's seen this and knows what to tweek in Ubuntu, I'm all ears.

    Thank you.

  10. #10
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Notepad-like editor for Linux?
    You might also want to check out leafpad...
    Code:
    sudo apt-get install leafpad
    Linux Mint + IceWM Registered: #371367 New Members: click here

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •