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 ...
- 08-01-2010 #1Linux Newbie
- Join Date
- Nov 2007
- Posts
- 127
[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.
- 08-01-2010 #2
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.
- 08-01-2010 #3Linux 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.
- 08-01-2010 #4
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.
- 08-01-2010 #5Linux 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.
- 08-01-2010 #6Linux 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.
- 08-01-2010 #7
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.
- 08-01-2010 #8Linux 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.
- 08-01-2010 #9Linux 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.
- 08-01-2010 #10You might also want to check out leafpad...Notepad-like editor for Linux?
Code:sudo apt-get install leafpad


