hi , friends , I am very interested in linux.I had done shell script programming and other programming like socket,pipe,etc in linux o/s. Now i am very eager to make a small editor in linux..plz give me some idea about this ...u can give some references of books ..I have no idea about this....plz help me..
Go to Sourceforge (sourceforge.net) or Freshmeat (freshmeat.net). Search for "editor." You'll find literally hundreds of little text editors that people have written for Linux and/or Windows. Pick one. Look at the code until the desire to write your own fades away.
First you need to pick a language to write it in. Do you want to use Java, C, C++, Perl, Lisp, Scheme, or something else? Also, do you want a text or GUI interface? If you want a GUI, Java is a decent language to use since Swing or AWT provides much of the functionality you will need. Using Java also means that your text editor isn't necessarily limited to Linux. You can write it so that it runs on other OSes without a lot of effort. On the other hand you can use C or C++, especially if you are interested in learning Linux-specific GUI libraries like GTK or qt. I'm sure other languages provide similar libraries.
If you want to write a text interface, Java is probably fairly weak in that area. Java is not very strong for console I/O, although there may be third-party libraries available to help with that. In C or C++, you can use the curses library. Again, other languages may have more or less support, but I'm not very familiar with them.