PageRenderTime 124ms CodeModel.GetById 118ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/42docs/users-guide/starting.html

#
HTML | 45 lines | 43 code | 2 blank | 0 comment | 0 complexity | c99bdb3f264e4d10ce9ec42f05bd0634 MD5 | raw file
 1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 2. Starting jEdit</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="jEdit 4.2 User's Guide"><link rel="up" href="using-jedit-part.html" title="Part I. Using jEdit"><link rel="previous" href="conventions.html" title="Chapter 1. Conventions"><link rel="next" href="cli-usage.html" title="Command Line Usage"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 2. Starting jEdit</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="conventions.html">Prev</a> </td><th width="60%" align="center">Part I. Using jEdit</th><td width="20%" align="right"> <a accesskey="n" href="cli-usage.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="starting"></a>Chapter 2. Starting jEdit</h2></div></div><div></div></div><div class="toc"><p><b>Table of Contents</b></p><ul><li><span class="sect1"><a href="cli-usage.html">Command Line Usage</a></span><ul><li><span class="sect2"><a href="cli-usage.html#id2524258">Miscellaneous Options</a></span></li><li><span class="sect2"><a href="cli-usage.html#id2588514">Configuration Options</a></span></li><li><span class="sect2"><a href="cli-usage.html#id2588786">Edit Server Options</a></span></li></ul></li></ul></div><p>
 2   Exactly how jEdit is started depends on the operating system. For example, on Unix you can run &#8220;<span class="quote">jedit</span>&#8221; at the command line,
 3   or select jEdit from a menu; on Windows, you can double-click on the jEdit icon or select it from the <span><b class="guimenu">Start</b></span> menu.
 4   
 5  </p><p>
 6   If jEdit is started while another copy is already running, control is
 7   transferred to the running copy, and a second instance is not loaded.
 8   This saves time and memory if jEdit is started multiple times.
 9   Communication between instances of jEdit is implemented using
10   TCP/IP sockets; the initial instance is known as the
11   <i class="firstterm">server</i>, and subsequent invocations are
12   <i class="firstterm">clients</i>.
13  </p><p>
14   If you find yourself launching and exiting jEdit a lot, the startup time can get a bit bothersome.
15   If the <b class="userinput"><tt>-background</tt></b> command line switch is specified,
16   jEdit will continue running and waiting for client requests even
17   after all editor windows are closed. When run in background mode,
18   you can open and close jEdit any number of times, only having
19   to wait for it to start the first time. The downside of this
20   is increased memory usage.
21  </p><p>
22   When running on MacOS X, the <b class="userinput"><tt>-background</tt></b> command-line switch is active by default, so that jEdit conforms to the platform convention that programs should stay open until the <span><b class="guimenuitem">Quit</b></span> command is explicitly invoked by the user, even if all windows are closed. To disable background mode on MacOS X, use the <b class="userinput"><tt>-nobackground</tt></b> switch.
23  </p><p>
24   For more information about command line switches that control the
25   server feature, see <a href="cli-usage.html" title="Command Line Usage">the section called &#8220;Command Line Usage&#8221;</a>.
26   
27  </p><p>
28   jEdit remembers open buffers, views and split window configurations between editing sessions, so you can get back to work immediately after starting jEdit. This feature can be
29   disabled in the <span><b class="guibutton">General</b></span> pane of the
30   <span><b class="guimenu">Utilities</b></span>&gt;<span><b class="guimenuitem">Global Options</b></span>
31   dialog box see <a href="global-opts.html#general-pane" title="The General Pane">the section called &#8220;The General Pane&#8221;</a>.
32  </p><div class="sidebar"><p class="title"><b>The edit server and security</b></p><p>
33    Since Java does not provide any interprocess communication facility other than TCP/IP, jEdit takes extra precautions to prevent remote attacks.
34   </p><p>
35    Not only does the edit server pick a random TCP port number on startup,
36    it also requires that clients provide an <i class="firstterm">authorization
37    key</i>; a randomly-generated number only accessible to
38    processes running on the local machine.
39    So not only will &#8220;<span class="quote">bad guys</span>&#8221; have to guess a 64-bit integer,
40    they will need to get it right on the first try; the edit server
41    shuts itself off upon receiving an invalid packet.
42   </p><p>
43    In environments that demand absolute security, the edit server can be
44    disabled by specifying the <b class="userinput"><tt>-noserver</tt></b> command line switch.
45   </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="conventions.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="using-jedit-part.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="cli-usage.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 1. Conventions </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Command Line Usage</td></tr></table></div></body></html>