Editing text files

The format of plain text files on Windows systems differs from that on Unix systems. Editors on XLiveCD allow users to edit Unix-format text files on their Windows systems before copying the files to remote Unix systems. Nedit is a graphical text editor that should be familiar to users of the Windows Notepad program.

How Nedit handles file formats

Using Nedit on XLiveCD

Run Nedit from a command-line window that is provided by XLiveCD before using the window to connect to a remote computer. (If nedit is run from a command prompt that is currently logged in to a remote computer, nedit will be run on the remote computer - if it is available there - and the file will be edited on the remote computer.)

To run Nedit to create a new file, type the command

	nedit

on the command line, created the contents of the file as you wish and then use the File menu "Save as ..." option to save the file in the format of your choice.

To edit an existing file you can run Nedit without arguments (as above) and use the File menu "Open ..." option, or you can name the file to be opened on the command line. If the file to be opened is in the current directory use the command

	nedit name_of_file

where name_of_file is replaced with the name of the file.


Documentation copyright and license

Copyright (C) 2004 by The Trustees of Indiana University. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub/). Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder.