PageRenderTime 57ms CodeModel.GetById 48ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 1ms

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

#
HTML | 36 lines | 36 code | 0 blank | 0 comment | 0 complexity | 4335a8e528af9f3ab9c0cd888191d121 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.73.2"><link rel="start" href="index.html" title="jEdit 4.3 User's Guide"><link rel="up" href="using-jedit-part.html" title="Part I. Using jEdit"><link rel="prev" 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 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#id2496548">Miscellaneous Options</a></span></li><li><span class="sect2"><a href="cli-usage.html#id2496657">Configuration Options</a></span></li><li><span class="sect2"><a href="cli-usage.html#id2496905">Edit Server Options</a></span></li></ul></li></ul></div><p>Exactly how jEdit is started depends on the operating system. For
 2    example, on Unix you can run &#8220;<span class="quote">jedit</span>&#8221; at the command line, or
 3    select jEdit from a menu; on Windows, you can double-click on the jEdit icon
 4    or select it from the <span class="guimenu"><strong>Start</strong></span> menu. </p><p>If jEdit is started while another copy is already running, control is
 5    transferred to the running copy, and a second instance is not loaded. This
 6    saves time and memory if jEdit is started multiple times. Communication
 7    between instances of jEdit is implemented using TCP/IP sockets; the initial
 8    instance is known as the <em class="firstterm">server</em>, and subsequent
 9    invocations are <em class="firstterm">clients</em>.</p><p>If you find yourself launching and exiting jEdit a lot, the startup
10    time can get a bit bothersome. If the <strong class="userinput"><code>-background</code></strong>
11    command line switch is specified, jEdit will continue running and waiting
12    for client requests even after all editor windows are closed. When run in
13    background mode, you can open and close jEdit any number of times, only
14    having to wait for it to start the first time. The downside of this is
15    increased memory usage.</p><p>When running on MacOS X, the <strong class="userinput"><code>-background</code></strong>
16    command-line switch is active by default, so that jEdit conforms to the
17    platform convention that programs should stay open until the
18    <span class="guimenuitem"><strong>Quit</strong></span> command is explicitly invoked by the user,
19    even if all windows are closed. To disable background mode on MacOS X, use
20    the <strong class="userinput"><code>-nobackground</code></strong> switch.</p><p>For more information about command line switches that control the
21    server feature, see <a class="xref" href="cli-usage.html" title="Command Line Usage">the section called &#8220;Command Line Usage&#8221;</a>. </p><p>jEdit remembers open buffers, views and split window configurations
22    between editing sessions, so you can get back to work immediately after
23    starting jEdit. This feature can be disabled in the
24    <span class="guibutton"><strong>General</strong></span> pane of the
25    <span class="guimenu"><strong>Utilities</strong></span>&gt;<span class="guimenuitem"><strong>Global Options</strong></span>
26    dialog box see <a class="xref" href="global-opts.html#general-pane" title="The General Pane">the section called &#8220;The General Pane&#8221;</a>.</p><div class="sidebar"><p class="title"><b>The edit server and security</b></p><p>Since Java does not provide any interprocess communication
27        facility other than TCP/IP, jEdit takes extra precautions to prevent
28        remote attacks.</p><p>Not only does the edit server pick a random TCP port number on
29        startup, it also requires that clients provide an
30        <em class="firstterm">authorization key</em>; a randomly-generated number
31        only accessible to processes running on the local machine. So not only
32        will &#8220;<span class="quote">bad guys</span>&#8221; have to guess a 64-bit integer, they will
33        need to get it right on the first try; the edit server shuts itself off
34        upon receiving an invalid packet.</p><p>In environments that demand absolute security, the edit server can
35        be disabled by specifying the <strong class="userinput"><code>-noserver</code></strong> command
36        line switch.</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>