MEDIT(1) General Commands Manual MEDIT(1)NAME
medit - text editor
SYNOPSIS
medit [OPTION]... [FILES]
DESCRIPTION
medit is a text editor.
OPTIONS -n, --new-app
run new instance of medit. By default medit opens FILES (or creates a new document if none are given) 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.
-e, --encoding ENCODING
use provided character encoding to open the file
-l, --line LINE
open file and position cursor on line LINE. Alternatively line number may be specified with filename, e.g. medit foo.txt:12
-r, --reload
automatically reload opened file if it was modified on disk by another program.
-w, --new-window
open file in a new window.
-t, --new-tab
open file in a new tab.
--log-file FILE
write debug output into FILE. This option is only useful on Windows.
--log-window
show debug output in a log window. This option is only useful on Windows.
--debug DOMAINS
enable debug output for DOMAINS (if medit was compiled with --enable-debug option).
--geometry WIDTHxHEIGHT
--geometry WIDTHxHEIGHT+X+Y
default window size and position.
-h, --help
show summary of options.
-v, --version
show program version.
FILES list of files to open. Filenames may include line numbers after colon, e.g. /tmp/file.txt:200. Trailing colon is ignored.
ENVIRONMENT VARIABLES
MEDIT_PID
if set, it is 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
Written and maintained by Yevgen Muntyan <emuntyan@users.sourceforge.net>
September 2010 MEDIT(1)
Check Out this Related Man Page
KATE(1) KDE User's Manual KATE(1)NAME
kate - Advanced text editor for KDE
SYNOPSIS
kate [-s, --start name] [--startanon] [-n, --new] [-b, --block] [-p, --pid pid] [-e, --encoding name] [-l, --line line] [-c, --column
column] [-i, --stdin] [-u, --use] [KDE Generic Options] [Qt Generic Options]
DESCRIPTION
Kate is the KDE Advanced Text Editor.
Kate also provides the editor part for various applications, under the name KWrite.
Some of Kate's many features include configurable syntax highlighting for languages ranging from C and C++ to HTML to bash scripts, the
ability to create and maintain projects, a multiple document interface (MDI), and a self-contained terminal emulator.
But Kate is more than a programmer's editor. Its ability to open several files at once makes it ideal for editing UNIX(R)'s many
configuration files. This document was written in Kate.
OPTIONS -s, --start name
Start Kate with a given session.
--startanon
Start Kate with a new anonymous session, implies -n.
-n, --new
Force start of a new Kate instance (is ignored if start is used and another Kate instance already has the given session opened), forced
if no parameters and no URLs are given at all.
-b, --block
If using an already running Kate instance, block until it exits, if URLs given to open.
-p, --pid pid
Only try to reuse kate instance with this pid (is ignored if start is used and another Kate instance already has the given session
opened).
-e, --encoding name
Set encoding for the file to open
You can use this to force a file opened in utf-8 format, for instance. (The command iconv -l provides a list of encodings, which may be
helpful to you.)
-l, --line line
Navigate to this line
-c, --column column
Navigate to this column
-i, --stdin
Read the contents of stdin
-u, --use
Use an already running Kate instance; default, only for compatibility
SEE ALSO
More detailed user documentation is available from help:/kate (either enter this URL into Konqueror, or run khelpcenter help:/kate).
There is also further information available at the Kate website[1].
EXAMPLES
To open a file named source.cpp at column 15, line 25, in an existing Kate window, you could use:
kate -c 15 -l
25 -u source.cpp
If you have an active internet connection, you can take advantage of KDE's network transparency to open a file from an ftp site. If you do
not have write permission on the remote server, the file will be opened read only and you will be prompted for a local filename to save to
if you make changes. If you do have write permission, changes will be saved transparently over the network.
kate ftp://ftp.kde.org/pub/kde/README
AUTHORS
The maintainer of Kate is Christoph Cullmann<cullmann@kde.org>. A comprehensive list of authors and contributors is available in the
complete user manual mentioned above.
AUTHOR
Lauri Watts <lauri@kde.org>
Author.
NOTES
1. the Kate website
http://kate-editor.org/
K Desktop Environment 2010-10-06 KATE(1)