|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]|
Kate is the KDE Advanced Text Editor.
Kate also provides the editor part for various applications, under the name KWrite.
Some of Kates 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 programmers editor. Its ability to open several files at once makes it ideal for editing UNIX®s many configuration files. This document was written in Kate.
-s, --start nameStart Kate with a given session.
--startanonStart Kate with a new anonymous session, implies -n.
-n, --newForce 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, --blockIf using an already running Kate instance, block until it exits, if URLs given to open.
-p, --pid pidOnly 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 nameSet 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 lineNavigate to this line
-c, --column columnNavigate to this column
-i, --stdinRead the contents of stdin
-u, --useUse an already running Kate instance; default, only for compatibility
More detailed user documentation is available from [blue]help:/kate (either enter this URL into Konqueror, or run khelpcenter help:/kate).
There is also further information available at [blue]the Kate website.
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 KDEs 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.
The maintainer of Kate is Christoph Cullmann firstname.lastname@example.org. A comprehensive list of authors and contributors is available in the complete user manual mentioned above.
Lauri Watts <email@example.com>Author.
1. the Kate website http://kate-editor.org/
|K Desktop Environment||FBKATEFR (1)||2010-10-06|