|
-
Jul 9th, 2001, 04:59 AM
#1
Thread Starter
Member
Solaris UNIX
i am using telnet to logged into Solaris UNIX system.
How can i edit a .doc file using the vi Editor?
I need the commands to edit the file using vi editor and the command to save the file.
Please reply.
-
Jul 9th, 2001, 05:03 AM
#2
Monday Morning Lunatic
vi is a text editor, and can't understand .DOC files.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 9th, 2001, 05:09 AM
#3
Thread Starter
Member
just give me the commands will do...
hi,
just give me the commands will do.
-
Jul 9th, 2001, 05:09 AM
#4
Frenzied Member
You'd probably be best off FTPiung the file to your pc and edit it there.
Her'es' a few commands anyway
Last edited by Mark Sreeves; Jun 22nd, 2009 at 08:41 AM.
Mark
-------------------
-
Jul 9th, 2001, 05:16 AM
#5
Thread Starter
Member
thanks but...
i went to the directory with the filename in it..
then here is how i edit the file:
$ vi myfile.doc <Enter>
then the screen shows the contents inside the file.
Now after doing editing, how can i save it then exit?
by the way is the abv command is correct?
-
Jul 9th, 2001, 05:19 AM
#6
Monday Morning Lunatic
If you edit a .doc file using vi it will be irretrievably damaged.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 9th, 2001, 05:20 AM
#7
Frenzied Member
No idea!
I got that list of a colleague who uses vi a lot
I've never ever used vi and I don't intend to either
-
Jul 9th, 2001, 05:21 AM
#8
Frenzied Member
Originally posted by parksie
If you edit a .doc file using vi it will be irretrievably damaged.
He's not listening to you parksie!
-
Jul 9th, 2001, 05:23 AM
#9
Thread Starter
Member
i am working on windows NT Server, but i logged into Solaris UNIX system using telnet.
now i just wanted to edit the file from the telnet screen using vi editor in unix.
-
Jul 9th, 2001, 05:26 AM
#10
Monday Morning Lunatic
Originally posted by Mark Sreeves
He's not listening to you parksie!
Seems like it
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 9th, 2001, 07:27 AM
#11
Fanatic Member
Earth Calling ariel_au, Come in ariel_au
You cannot edit the file as a word document is nothing as simple as a text file, everything is embedded.
*Ian Start's banging his head against the wall*
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Jul 9th, 2001, 08:06 AM
#12
Frenzied Member
Re: thanks but...
Originally posted by ariel_au
i went to the directory with the filename in it..
then here is how i edit the file:
$ vi myfile.doc <Enter>
then the screen shows the contents inside the file.
Now after doing editing, how can i save it then exit?
by the way is the abv command is correct?
Uhm... it has been a while since I used vi (I'm a pico man), but I think it is !w and then !q. I know there is a command that will do both, write then quit.
Now, two things...
If it is not a text file, do not use vi. If it is a text file that someone labeled .doc, then tell eveyone that, so they aren't confused.
And two... now listen closely, cause this is the most important thing you will ever learn about Unix...
MAN VI
You can man anything. man is your friend. Use it lots.
Again... that is
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Jul 9th, 2001, 08:27 AM
#13
Monday Morning Lunatic
info is good if you have it, but I think it's only commonly installed on Linux.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 9th, 2001, 08:33 AM
#14
Frenzied Member
Wait... I see this question coming... "what is man?"
Type man man.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Jul 10th, 2001, 09:10 PM
#15
Thread Starter
Member
editing .doc file is finally done...
finally i can edit the .doc file using vi editor. thanks to CiberTHuG and Mark Sreeves for the commands...
i just realised there is an imposter called 'ariel_au.' and is trying to edit files using vi editor also...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|