10-30-2002
First, don't hit the enter/return key when you go to the next line, JUST KEEP TYPING and you will be okay, at least you should be.
However, what you are looking for is wordwrap. While vi'ing a file. do ":set all " at the command line and change from 0 to some number.
Here is a great VI link.
http://www.thomer.com/vi/vi.html
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Does anyone know of a program to wrap an interactive script into an application..I tried using platypus but i want a utility to allow interactive scripts to be run in a stand-alone window to avoid .profile settings on multiple computers...platypus provides the option of a text window output but... (0 Replies)
Discussion started by: meskue
0 Replies
2. HP-UX
in my HP-Unix environment I continue to have issues seeing the whole file path when I do a grep
Example:
>ps -ef |grep test
> /testpath/is/here/
should see:
>ps -ef |grep test
> /testpath/is/here/not/here/test
Is there a setting to turn word wrap on/off? It works fine in our AIX... (4 Replies)
Discussion started by: bowtiextreme
4 Replies
3. Shell Programming and Scripting
Hi,
I got some timetable in a file but it is all mixed up like this
01:00 hgrtwhrt #104:00 tyergethr05:00
tqqrthd qrth #107:00 qhtrhqerth10:00 qerthrthqr qtrqthr
qthrrt11:00 thqrthqrthrr
rthgreth #212:00 trhrthrth14:00 wrthwrtwrqrthwrthwr
#2116:00 trqhthtr: rthrthr17:00 rtwhtrhwrth rthwrt... (6 Replies)
Discussion started by: stinkefisch
6 Replies
4. UNIX for Dummies Questions & Answers
I just typed several long lines into vi but I only want it to have 80 columns. How can I set this in vi? (3 Replies)
Discussion started by: guitarscn
3 Replies
5. UNIX for Dummies Questions & Answers
I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL.
I need the whole word... (6 Replies)
Discussion started by: chicchan
6 Replies
6. UNIX for Dummies Questions & Answers
When I cat a file that has several hundred characters in a line, the right hand side is truncated. How can I make everything displayed on my screen word wrap? (6 Replies)
Discussion started by: bsimon
6 Replies
7. UNIX for Dummies Questions & Answers
I have an input file like this,
79 #--------------------------------------------------------------------------- 80 #- define generic contact 81 cat > ${NAGIOS_ETC}/contact-generic.cfg <<-'EOF' 82 define contact { 83 name ... (4 Replies)
Discussion started by: ramky79
4 Replies
8. UNIX for Dummies Questions & Answers
Is there a generic method for applying word wrap to all cells for a .csv file? (6 Replies)
Discussion started by: jimmyf
6 Replies
9. Shell Programming and Scripting
Hi,
I have a file myfile.txt as seen below.
Name Age Days
--------- ------- --------
ABC 5 23
DEF 20 120
When i cat this file into a html file and send mail, I could see the file is opened as seen below.
Name Age Days --------- ... (7 Replies)
Discussion started by: jayadanabalan
7 Replies