10139N/A<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
13666N/A<!--ARC : LSARC 2002/445 GNOME 2.X text editor (gedit)-->
10139N/A<!ENTITY cmd "gedit">
10139N/A<!ENTITY % commonents SYSTEM "smancommon.ent">
10139N/A%commonents;
10139N/A<!ENTITY % booktitles SYSTEM "booktitles.ent">
10139N/A%booktitles;
10139N/A<!ENTITY suncopy "Copyright (c) 2003,2004,2006 Sun Microsystems, Inc. All Rights Reserved.">
10139N/A]>
10139N/A<?Pub UDT _bookmark _target>
10139N/A<?Pub Inc>
10139N/A<refentry id="gedit-1">
10139N/A<!-- %Z%%M% %I% %E% SMI; -->
10139N/A<refmeta><refentrytitle>gedit</refentrytitle><manvolnum>1</manvolnum>
10139N/A<refmiscinfo class="date">31 Aug 2004</refmiscinfo>
10139N/A<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
10139N/A<refmiscinfo class="software">&release;</refmiscinfo>
10139N/A<refmiscinfo class="arch">generic</refmiscinfo>
10139N/A<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
10139N/A</refmeta>
15944N/A<indexterm><primary>&cmd;</primary></indexterm>
15944N/A<indexterm><primary>gnome-text-editor</primary></indexterm>
15944N/A<indexterm><primary>Symlink to text editor for the GNOME desktop
10139N/A</primary></indexterm>
15944N/A<refnamediv id="gedit-1-name"><refname>&cmd;</refname>
15944N/A<refname>gnome-text-editor</refname>
15944N/A<refpurpose>Text Editor for the GNOME desktop.</refpurpose>
15944N/A</refnamediv>
10139N/A<refsynopsisdiv id="gedit-1-synp"><title>&synp-tt;</title>
15944N/A<cmdsynopsis><command>&cmd;</command>
10139N/A<arg choice="opt"><option>-encoding=<replaceable>encoding</replaceable></option></arg>
10139N/A<arg choice="opt"><option>-new-document</option></arg>
10139N/A<arg choice="opt"><option>-new-window</option></arg>
10139N/A<arg choice="opt"><option role="nodash">+[<replaceable>num</replaceable>]</option></arg>
10139N/A<arg choice="opt"><option role="nodash"><replaceable>gnome-std-options</replaceable></option></arg>
10139N/A<arg choice="opt"><option role="nodash"><replaceable>filename</replaceable></option></arg>
10139N/A</cmdsynopsis>
10139N/A</refsynopsisdiv>
10139N/A<refsect1 id="gedit-1-desc"><title>&desc-tt;</title>
10139N/A<para>
15944N/A<command>&cmd;</command> is the official text editor of the GNOME desktop environment.
10139N/A</para>
10139N/A
10139N/A<para>
10139N/AWhile aiming at simplicity and ease of use, <command>&cmd;</command> is a
10139N/Apowerful general purpose text editor. It can be used to create and edit all
10139N/Akinds of text files. Multiple documents can be edited at the same time.
10139N/AEach document resides in a specific tabbed section of the application
10139N/Awindow.</para>
10139N/A</para>
10139N/A<para>
10139N/A<command>&cmd;</command> features a flexible plugin system which can be used to
10139N/Adynamically add new advanced features to <command>&cmd;</command> itself.
10139N/A</para>
15944N/A<para>
15944N/A<refentrytitle>gnome-text-editor</refentrytitle><manvolnum>1</manvolnum></citerefentry>
15944N/Ahas been deprecated and is now a symbolic link to &cmd;.
15944N/A</para>
10139N/A
10139N/A<refsect1 id="gedit-1-opts"><title>&opts-tt;</title>
10139N/A<para>The following options are supported:</para>
10139N/A<variablelist termlength="medium">
10139N/A
10139N/A<varlistentry><term><option>-encoding=<replaceable>encoding</replaceable></option></term><listitem>
10139N/A<para>
10139N/ASet the character encoding to be used to open the files listed on the
10139N/Acommand line.
10139N/A</para>
10139N/A</listitem></varlistentry>
10139N/A
10139N/A<varlistentry><term><option>-new-document</option></term><listitem>
10139N/A<para>Create a new top-level document or tabbed section in an existing instance
10139N/Aof <command>&cmd;</command>.</para>
10139N/A</listitem></varlistentry>
10139N/A
10139N/A<varlistentry><term><option>-new-window</option></term><listitem>
10139N/A<para>Create a new top-level window in an existing instance of
10139N/A<command>&cmd;</command>.</para>
10139N/A</listitem></varlistentry>
10139N/A
10139N/A<varlistentry><term><option role="nodash">+[<replaceable>num</replaceable>]</option></term><listitem>
10139N/A<para>
10139N/AFor the first file, go to the line specified by <replaceable>num</replaceable> (do not insert
10139N/Aa space between the "+" sign and the number). If <replaceable>num</replaceable> is missing, go
10139N/Ato the last line.
10139N/A</listitem></varlistentry>
10139N/A
10139N/A<varlistentry><term><option role="nodash"><replaceable>gnome-std-options</replaceable></option></term>
10139N/A<listitem><para>
10139N/A<listitem><para>Standard options available for use with most GNOME applications.
10139N/ASee <citerefentry><refentrytitle>gnome-std-options</refentrytitle><manvolnum>
10139N/A5</manvolnum></citerefentry> for more information.</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A
10139N/A<refsect1 id="gedit-1-oper"><title>&oper-tt;</title>
10139N/A<para>The following operands are supported:</para>
10139N/A<variablelist termlength="medium">
10139N/A<varlistentry><term><option role="nodash"><replaceable>filename</replaceable></option></term>
10139N/A<listitem><para>The name of the image file to edit.</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A
10139N/A<refsect1 id="gedit-1-exdesc"><title>EXTENDED DESCRIPTION</title>
10139N/A<para>The <command>&cmd;</command> application accepts pipes, so you
10139N/Acan specify a pipe after another command, to load the output of the command
10139N/Ainto gedit. For example: </para>
10139N/A<para><screen><userinput>example% ls -l | &cmd;</userinput></screen></para>
10139N/A</refsect1>
10139N/A<refsect1 id="gedit-1-exam"><title>&exam-tt;</title>
10139N/A<example role="example">
10139N/A<title>To Edit an ASCII File Named <filename>document.txt</filename></title>
10139N/A<para><screen><userinput>example% gedit document.txt</userinput></screen></para>
10139N/A</example>
10139N/A<example role="example">
10139N/A<title>To Add a New Tab That Contains an ASCII File Named <filename>book.txt
10139N/A</filename> </title>
10139N/A<para><screen><userinput>example% gedit --new-document book.txt</userinput></screen></para>
10139N/A</example>
10139N/A<example role="example">
10139N/A<title>To Add a New Top-Level Window That Contains an ASCII File Named testfile.txt
10139N/A</title>
10139N/A<para><screen><userinput>example% gedit --new-window testfile.txt</userinput></screen></para>
10139N/A</example>
10139N/A</refsect1>
10139N/A<refsect1 id="gedit-1-exit"><title>&exit-tt;</title>
10139N/A<para>The following exit values are returned:</para>
10139N/A<variablelist termlength="xtranarrow">
10139N/A<varlistentry><term><returnvalue><replaceable>0</replaceable></returnvalue></term>
10139N/A<listitem><para>Application exited successfully.</para>
10139N/A</listitem></varlistentry>
10139N/A<varlistentry><term><returnvalue><replaceable>>0</replaceable></returnvalue></term>
10139N/A<listitem><para>An error occurred.</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A<refsect1 id="gedit-1-file"><title>&file-tt;</title>
10139N/A<para>The following files are used by this application:</para>
10139N/A<variablelist termlength="wide">
10139N/A<varlistentry><term><filename>/usr/bin/&cmd;</filename></term><listitem>
10139N/A<para>
15995N/AExecutable for the <command>&cmd;</command> application.
10139N/A</para></listitem>
10139N/A</varlistentry>
10139N/A<varlistentry><term><filename>/usr/bin/gnome-text-editor</filename></term><listitem>
10139N/A<para>
10139N/AA symbolic link to the <filename>gedit</filename> executable file.
10139N/A</para></listitem>
10139N/A</varlistentry>
10139N/A<varlistentry><term><filename>/usr/lib/gedit/plugins</filename></term><listitem>
10139N/A<para>
10139N/ALocation of gedit plugins.
10139N/A</para></listitem>
10139N/A</varlistentry>
10139N/A</varlistentry>
10139N/A<varlistentry><term><filename>/usr/share/gtk-doc/html/gedit</filename></term><listitem>
10139N/A<para>
10139N/ALocation of developer documentation for writing a gedit plugin.
10139N/A</para></listitem>
10139N/A</varlistentry>
10139N/A</variablelist>
10139N/A</refsect1>
10139N/A<refsect1 id="gedit-1-attr"><title>&attr-tt;</title>
10139N/A<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
10139N/A<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
10139N/Afor descriptions of the following attributes:</para>
10139N/A<informaltable frame="all">
10139N/A<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
10139N/A<colspec colname="COLSPEC1" colwidth="1*">
10139N/A<thead>
10139N/A<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
10139N/Avalign="middle">ATTRIBUTE VALUE</entry></row>
10139N/A</thead>
10139N/A<tbody>
18745N/A<row><entry><para>Availability</para></entry><entry><para>editor/gedit</para></entry></row>
10139N/A<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
10139N/Acolname="COLSPEC1"><para>Volatile</para></entry></row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A</refsect1>
10139N/A<refsect1 id="gedit-1-also"><title>&also-tt;</title>
10139N/A<!--Reference to another man page-->
10139N/A<!--Reference to a Help manual-->
10139N/A<!--Reference to a book.-->
10139N/A<para>
11904N/A<citerefentry><refentrytitle>libgtksourceview-1.0</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
11904N/A<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
10139N/A<citerefentry><refentrytitle>gnome-std-options</refentrytitle><manvolnum>5</manvolnum></citerefentry>
10139N/A</para>
10139N/A<para>Online Help <command>&cmd;</command> manual.</para>
10139N/A</refsect1>
10139N/A<refsect1 id="gedit-1-note"><title>&note-tt;</title>
10139N/A<para>This man page was written by the following people: Paolo Maggi,
10139N/APaolo Borelli, Chema Celorio, James Willcox, Federico Mena Quintero.</para>
10139N/A<para>Updated by Brian Cameron, Sun Microsystems Inc., 2003, 2004, 2006.</para>
10139N/A</refsect1>
10139N/A</refentry>