medit

Langue: en

Autres versions - même langue

Version: June 20, 2007 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)

NAME

medit - text editor

SYNOPSIS

medit [options] [files]

DESCRIPTION

medit is a text editor.

OPTIONS

-h, --help
Show summary of options.
-v, --version
Show version of the program.
-n, --new-app
Run new instance of medit. By default medit opens files in an existing instance of application.
-s, --use-session[=yes|no]
Load and save session. By default medit does it when -n is not used. If this option is not given on command line then medit uses the corresponding preferences setting.
--pid PID
Use existing instance with process id PID.
--app-name NAME
Use instance name NAME. If an instance with this name is already running, then it will send files given on the command line to that instance and exit.
-l, --line LINE
Open file and position cursor on line LINE.
-w, --new-window
Open file in a new window.
-t, --new-tab
Open file in a new tab.
--log[=FILE]
Show debug output or write it to FILE.
--debug
Run in debug mode.
--exec STRING
Execute python code in an existing instance.
--exec-file FILE
Execute python file in an existing instance.
files
List of files to open. Filenames may include line numbers after colon, e.g. /tmp/file.txt:200. Trailing colon is also fine.

ENVIRONMENT

MEDIT_PID
If set, used as --pid argument. When medit spawns a process (e.g. a DVI viewer) it sets MEDIT_PID to its own process id, so the child process may in turn simply use 'medit filename' to open a file (e.g. for inverse DVI search).

CONTACT

http://mooedit.sourceforge.net/contact.html.

AUTHOR

medit was written by Yevgen Muntyan <muntyan@tamu.edu>.