User guide

166 DC 900-1333Q
Freeway User Guide
If you find that a boot or configuration file is not working properly on the Freeway
server, you can use the vi editor to check the text file to see if it is in Windows format.
The vi editor will display the carriage returns in Windows text files with Ctrl-m ( ^M )
characters at the end of each line. You may also use the vi editor to remove the Ctrl-m
characters from the text file using the vi commands in the example below:
cd /tmp/boot
vi dostextfile
^M
This text file was created on^M
a Windows PC and transferred^M
to the Freeway server as is.^M
^M
~
:1,$s/^M//g
[Note: To input the ^M character above, press Ctrl-v , and then
press Enter]
:x
dostextfile: 5 lines, 90 characters.
After completing the above commands, when you open the file again with the vi editor,
you will see that the Ctrl-m characters are gone. If you edited the file in the
/tmp/boot/
directory, be sure to save the changes by using the menu (5-3-3) or other method.