From e7103552ee18c91772b5e00b562fc7708d255968 Mon Sep 17 00:00:00 2001 From: argius Date: Fri, 20 Dec 2013 20:43:26 +0900 Subject: [PATCH] Update MANUAL* --- MANUAL.html | 39 ++++++++++++++++++++++++--------------- MANUAL.md | 55 +++++++++++++++++++++++++++++++++---------------------- MANUAL_ja.html | 16 +++++++++++----- MANUAL_ja.md | 21 ++++++++++++++------- 4 files changed, 82 insertions(+), 49 deletions(-) diff --git a/MANUAL.html b/MANUAL.html index eb15a89..8b4af46 100644 --- a/MANUAL.html +++ b/MANUAL.html @@ -12,7 +12,7 @@

Stew4 User Manual

-

version 4.0

+

version 4.1

What Is Stew ?

-

...

+

Stew is the database (SQL) tool with JDBC.

+

For details, see "README.md".

PRECAUTIONS

Password Management

-

...

-

For details, see How To Use - Connector Settings.

+

By defaults, passwords are not encrypted. Setting "Encryption" in the connector will encrypt the password.

+

For details, see How To Use - Configuration Of "Connector".

Rollback Does Not Work When The Connection Is Disconnecting

-

...

-

For details, see How To Use - Connector Settings.

+

By defaults, Rollback does not work automatically on disconnect. You have to care that some of DBMSs commit on disconnect.

+

Setting "Auto Rollback" in the connector will rollback automatically on disconnect.

+

For details, see How To Use - Configuration Of "Connector".

Other

For more information, see the project site. http://stew.sourceforge.jp/

Installation

-

...

+

Just extract the package archive file.

Running App

If you want to use GUI mode, execute the following command:

> java -jar stew.jar --gui
@@ -220,14 +222,21 @@ $ stew --edit

-f - Executes file content as command (built-in)

> -f <file>

...

-

-s - Executes file content as script (built-in)

-
> -s <file>
-

( default=JavaScript )

-

The following variables will be available in the script:

+

-s - Executes file content as script (built-in) <improved feature in version 4.1>

+
> -s . | <SCRIPT FILE> | <SCRIPT-NAME> <SCRIPT-CODE>
+
    +
  1. If the first argument is ".", the Script Context is reset.
  2. +
  3. If the first argument is a filename with extension, the script language is identified by the extension, and the file is run as the script language's script.
  4. +
  5. Otherwise, the first argument is recognized as the name of a script language, and the rest of arguments are executed as the script language's script.
  6. +
+

(Only the built-in JavaScript by file is supported in version 4.0.)

+

To use script languages except the built-in script language (JavaScript), it requires each script engine of script languages such as jruby, jython and groovy.

+

The Script Context keeps global scope bindings, and following scripts can reuse the bindings. If you want to reset Script Context, input " -s . " above.

+

The following variables will be available in the script (global scope):

cd - Changes current directory (built-in)

> cd <directory>
diff --git a/MANUAL.md b/MANUAL.md index d8ef224..c598eaf 100644 --- a/MANUAL.md +++ b/MANUAL.md @@ -1,30 +1,33 @@ % Stew4 User Manual % -% version 4.0 +% version 4.1 ## What Is Stew ? -... +Stew is the database (SQL) tool with JDBC. + +For details, see "README.md". ## PRECAUTIONS ### Password Management -... - +By defaults, passwords are not encrypted. +Setting "Encryption" in the connector will encrypt the password. -For details, see [How To Use - Connector Settings](#Connector-Settings). +For details, see [How To Use - Configuration Of "Connector"](#configuration-of-connector). ### Rollback Does Not Work When The Connection Is Disconnecting +By defaults, Rollback does not work automatically on disconnect. +You have to care that some of DBMSs commit on disconnect. -... - +Setting "Auto Rollback" in the connector will rollback automatically on disconnect. -For details, see [How To Use - Connector Settings](#Connector-Settings). +For details, see [How To Use - Configuration Of "Connector"](#configuration-of-connector). ### Other @@ -35,9 +38,7 @@ For more information, see the project site. ## Installation - -... - +Just extract the package archive file. ## Running App @@ -182,17 +183,27 @@ For example, you can execute two export command continuously, ... -### -s - Executes file content as script (built-in) +### -s - Executes file content as script (built-in) \ + + > -s . |