Editing command lines that wrap – Rockwell Automation 1783-WAPxxx Stratix 5100 Wireless Access Point User Manual User Manual

Page 181

Advertising
background image

Rockwell Automation Publication 1783-UM006A-EN-P - May 2014

181

Configure the Stratix 5100 WAP Using the Command-Line Interface

Chapter 5

Editing Command Lines that Wrap

You can use a wraparound feature for commands that extend beyond a single line
on the screen. When the cursor reaches the right margin, the command line shifts
ten spaces to the left. You cannot see the first ten characters of the line, but you
can scroll back and check the syntax at the beginning of the command.

To scroll back to the beginning of the command entry, press Ctrl-B or the left
arrow key repeatedly. You can also press Ctrl-A to immediately move to the
beginning of the line.

The arrow keys function only on ANSI-compatible terminals such as VT100s.

In this example, the

access-list global configuration

command

entry extends beyond one line. When the cursor first reaches the end of the line,
the line is shifted ten spaces to the left and redisplayed. The dollar sign

$

shows

that the line has been scrolled to the left. Each time the cursor reaches the end of
the line, the line is again shifted ten spaces to the left.

ap(config)# access-list 101 permit tcp 131.108.2.5

255.255.255.0 131.108.1

ap(config)# $ 101 permit tcp 131.108.2.5

255.255.255.0 131.108.1.20 255.25

ap(config)# $t tcp 131.108.2.5 255.255.255.0

131.108.1.20 255.255.255.0 eq

ap(config)# $108.2.5 255.255.255.0 131.108.1.20

255.255.255.0 eq 45

After you complete the entry, press Ctrl-A to check the complete syntax before
pressing the Return key to execute the command. The dollar sign ($) appears at
the end of the line to show that the line has been scrolled to the right:

ap(config)# access-list 101 permit tcp 131.108.2.5

255.255.255.0 131.108.1$

The software assumes you have a terminal screen that is 80 columns wide. If you
have a width other than that, use the terminal width privileged EXEC command
to set the width of your terminal.

Use line wrapping with the command history feature to recall and modify
previous complex command entries. For information about recalling previous
command entries, see

Editing Commands through Keystrokes on page 180

.

Advertising