Sony PEG-NX60 CLIE Handbook (primary manual) - Page 80

Non-ASCII Characters for Log in Scripts, Use of ^char, Carriage return and line feed

Page 80 highlights

Changing the Network preferences Non-ASCII Characters for Log in Scripts The following information enables you to create custom log in scripts that require non-ASCII characters. It is provided for advanced users who understand the use and requirements of such characters in a custom log in script. Use of ^char You may use the caret ( ^ ) to transmit ASCII command characters. If you send ^char, and the ASCII value of character 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 character is a value between A and Z, then the character sequence is translated to a single-byte value between 1 and 26. If character is any other value, then the character sequence is not subject to any special processing. For example, the string "Joe^M" transmits Joe, followed by a carriage return. Carriage return and line feed You may include carriage return and line feed commands as part of the log in script, when they are entered in the following format. • : Sends or receives a carriage return • : Sends or receives a line feed For example, the string "waitfor 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 The backslash ( \ ) character defines that the next character is transmitted as a literal character, and is not subject to any special processing ordinarily associated with that character. Examples: • \^ : Includes a caret as part of the string • \< : Includes a < as part of the string • \ \ : Includes a backslash as part of the string Customizing your Sony CLIÉ Handheld (Preferences) 80

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176

Customizing your Sony CLIÉ Handheld (Preferences)
80
Changing the Network preferences
Non-ASCII Characters for Log in Scripts
The following information enables you to create custom log in scripts that
require non-ASCII characters. It is provided for advanced users who
understand the use and requirements of such characters in a custom log in
script.
Use of ^char
You may use the caret ( ^ ) to transmit ASCII command characters. If you send
^char, and the ASCII value of character 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 character is a value between A and Z, then the character sequence is
translated to a single-byte value between 1 and 26. If character is any other
value, then the character sequence is not subject to any special processing. For
example, the string “Joe^M” transmits Joe, followed by a carriage return.
Carriage return and line feed
You may include carriage return and line feed commands as part of the log in
script, when they are entered in the following format.
•<
cr
> : Sends or receives a carriage return
•<
lf
> : Sends or receives a line feed
For example, the string “waitfor 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
The backslash ( \ ) character defines that the next character is transmitted as a
literal character, and is not subject to any special processing ordinarily
associated with that character.
Examples:
\^ : Includes a caret as part of the string
\< : Includes a < as part of the string
\ \ : Includes a backslash as part of the string