Text Editors o Use a text editor when we write a program in any ianguage e This video shows how to use `"Emacs'', whfch is one of the text editors -- g Running Emacs on the terminai e Running Emacs by specify"ng a file name, $ pmacsusample tXt"za [ii) lf the specefied flje d.oes nqt exit, it Es.ogwlyEcrea/tpd.
Key operations in Emacs･ e Every Dperation (read!wrEte a fi[e, copy & in Emacs ]s done on the keyboard paste, andsearchtng'etc) Notations for key eperations Netation Keyoperation c-x Type x keywithCtrlkeyi Type x keyaftertypingEsc key2 M-x Type [}l] orkeywith[IIIE]key3 iHold down the Control key while typing the X key iPress the Esca"e key (once) and then type the X key 3Held down the Alternate key whple typing the X key
Key operations in o Exabiple Save a f,le Emacs e Example fype [}<] with [iii] key, then type S with [lifi] key Errorrecovery fype [G] with [IMI key
Save & Exit e Save your work without extting sawe the fi [e e Save a frle wEth a new name e Exit Emacs c-x C-c
Another text editors XEmacs is a customEzable open source text editor and is relatecl to Emacs lts emphasEs is on modern graphical user interface ged]t gedit is the GNOME text edEtor Stprt gedit wt orenether text ed:ters are aveE[ab[e Ybu can choose your better one