12 Setting preferences for your Acer s10 Network preferences

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

6Tap OK.

7Tap 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:

<cr>

Sends or receives a carriage return

<lf>

Sends or receives a line feed

For example, the string “wait for Joe<cr><lf>” 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.

289

Page 307
Image 307
Acer s10 Using non-ASCII characters in login scripts, Plug-in applications, Caret char, Carriage return and line feed