LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2011, 11:53 AM   #1
fachhoch@gmail.com
Member
 
Registered: Apr 2010
Posts: 82

Rep: Reputation: 1
any simple editor ?


is there any simple text editor for linux ? something like DOS (windows DOS) edit ?

Last edited by fachhoch@gmail.com; 10-25-2011 at 11:56 AM.
 
Old 10-25-2011, 11:55 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,007

Rep: Reputation: 4341Reputation: 4341Reputation: 4341Reputation: 4341Reputation: 4341Reputation: 4341Reputation: 4341Reputation: 4341Reputation: 4341Reputation: 4341Reputation: 4341
Quote:
Originally Posted by fachhoch@gmail.com View Post
is there any simple text editor for linux ? something like does edit ?
Lots...but you don't say what version/distro of Linux, or what kind of environment you're using. Gnome? KDE? Terminal??

Try gedit, kwrite, or vi/emacs....there are also LOTS of others.
 
Old 10-25-2011, 11:57 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,684

Rep: Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286
*

Smallest, most simple GUI editors : 'leafpad' and 'mousepad'
( Those 2 are almost equal.)
 
Old 10-25-2011, 12:06 PM   #4
fachhoch@gmail.com
Member
 
Registered: Apr 2010
Posts: 82

Original Poster
Rep: Reputation: 1
I am using terminal, I login to linux box using using putty and need a simple text editor , vi is too hard for me emacs it says command not found and I tried gedit it says cannot open display, if not vi what other option I have ?
 
Old 10-25-2011, 12:11 PM   #5
Jenni
Member
 
Registered: Oct 2011
Distribution: Slackware, Fedora
Posts: 158

Rep: Reputation: Disabled
Well you could use nano, simple and the config file is easy to understand. It comes preinstalled on most distributions.
 
1 members found this post helpful.
Old 10-25-2011, 12:23 PM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
If there's one kind of app that linux has, that's text editors.

This is from Gentoo, but you can start from there and then research yourself:
http://gentoo-portage.com/app-editors

If you like the MSDOS editor, then you might like the one that comes with mc (midnight commander), which is mcedit. Nano, pico, jed, joe or ted might as well. But there are lots more that could suit you.

Last edited by i92guboj; 10-25-2011 at 12:24 PM.
 
Old 10-25-2011, 01:38 PM   #7
Gatemaze
LQ Newbie
 
Registered: Oct 2007
Posts: 24

Rep: Reputation: 0
A million.
If you are on gnome then gedit
If you are on kde then kate
If you are on xfce then leafpad or mousepad

Very light editor for coding among other things: geany

Non-gui ones: nano, emacs, vim

Then there are specialised ones for other things.
E.g. for latex there is: texstudio, kile, texworks
 
Old 10-25-2011, 02:14 PM   #8
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
If you don't like the ones I said above, I guess you can also use the DOS edit tool under either dosemu or dosbox. Or, alternatively, install FreeDOS on a virtual machine. It has an improved clone of the DOS editor, you might want to check it.
 
Old 10-25-2011, 02:27 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,115

Rep: Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480Reputation: 2480
the "simplest " is nano
 
Old 10-26-2011, 12:24 PM   #10
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,062

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Quote:
Originally Posted by fachhoch@gmail.com View Post
I am using terminal, I login to linux box using using putty and need a simple text editor , vi is too hard for me emacs it says command not found and I tried gedit it says cannot open display, if not vi what other option I have ?
Well, I am sure if you read a basic tutorial on those editors, you would get a bit further. However, my favourite is Joe. Basically, it emulates an old-style Wordstar editor. This may be of less use to you if you weren't in the habit of using Wordstar, back in the day, though.
 
1 members found this post helpful.
Old 10-27-2011, 03:18 AM   #11
Gatemaze
LQ Newbie
 
Registered: Oct 2007
Posts: 24

Rep: Reputation: 0
Quote:
Originally Posted by fachhoch@gmail.com View Post
I am using terminal, I login to linux box using using putty and need a simple text editor , vi is too hard for me emacs it says command not found and I tried gedit it says cannot open display, if not vi what other option I have ?
OK, firstly for a terminal editor you can use nano. It's installed by default and not so complex as vi. If you want to use emacs you can install it from your repo and then to use it from terminal you have to run emacs -nw

Regarding the X, you need to allow x server export. In simple terms if you are using ssh it would be ssh -X
Then you would be able to use graphical editors.
 
Old 10-27-2011, 07:07 AM   #12
nxja
Member
 
Registered: Feb 2007
Location: Within The Universe, usually
Distribution: If I tell you, you will kill me.
Posts: 77

Rep: Reputation: 17
searching a little, found other editor names.
nedit,medit,zile,zim,nvi
scite (gtk), cream

I haven't tried many, but iirc, ted worked OK for me (typing klutz mouse user)
but ted is not bare bones like DOS EDIT.
 
Old 10-27-2011, 09:30 AM   #13
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 12,770
Blog Entries: 27

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Hi,

'nano' is simple. No one has mentioned 'mcedit';
Quote:
mcedit - Internal file editor of GNU Midnight Commander.

USAGE
mcedit [-bcCdfhstVx?] [+lineno] file

mcedit [-bcCdfhstVx?] file:lineno[:]

DESCRIPTION
mcedit is a link to mc, the main GNU Midnight Commander executable. Executing GNU Midnight Com-
mander under this name requests staring the internal editor and opening the file specified on the
command line. The editor is based on the terminal version of cooledit - standalone editor for X
Window System.
Note the underlined text above.
HTH!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need simple wb editor - for unskilled person igadoter Linux - Software 6 09-10-2010 01:40 AM
simple html editor satimis Linux - Software 10 11-04-2009 10:39 AM
Simple question about the vi text editor otacon 14112 Linux - Software 5 10-05-2006 01:32 AM
looking for good simple php editor mattsoftnet Linux - Software 4 01-27-2006 08:19 PM
Just a simple text editor fr0zen Linux - Software 6 12-22-2003 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration