beautypg.com

Using non-ascii characters in login scripts, Plug-in applications – Acer s10 User Manual

Page 307

background image

1 2 S e t t i n g p r e f e r e n c e s f o r y o u r A c e r s 1 0

Network preferences

289

5

Repeat steps 3 and 4 until you have completed the login script.

6

Tap OK.

7

Tap OK in the Details dialog box.

Using non-ASCII characters in login scripts

If you know how to write custom scripts with non-ASCII characters, you can
incorporate the caret (^char) character, carriage returns and line feeds, and literal
characters in your custom login scripts.

Caret (^ char)

Use the caret (^ char) character to transmit ASCII command characters. If you send
^char, and the ASCII value of char is between @ and _, then the character is
automatically translated to a single-byte value between 0 and 31.

For example, ^M is converted to a carriage return. If char is a value between a and z,
then the character sequence is translated to a single-byte value between 1 and 26. If
char is any other value, then the character sequence is not subject to any special
processing. Thus, the string “Joe^M” transmits Joe, followed by a carriage return.

Carriage return and line feed

You can include carriage return and line feed commands as part of the login script,
when entered in the following format:

Sends or receives a carriage return

Sends or receives a line feed

For example, the string “wait for Joe” waits to receive Joe, followed by a
carriage return and line feed from the remote computer, before executing the next
command in the script.

Literal characters

You can use the backslash ( \ ) character to specify that the next character be
transmitted as a literal character, and not be subject to any special processing
ordinarily associated with that character. For example:

\^

Includes a caret as part of the string

\<

Includes a < as part of the string

\\

Includes a backslash as part of the string

Plug-in applications

You can create a plug-in application containing script commands that extends the
functionality of your Acer s10’s built-in script command. A plug-in application is a
standard prc application that you install on your Acer s10 just like any other
application. After you install the plug-in application, you can use the new script
commands in a login script.