I am using PC WindowsXP and remote login AIX server at work. They use vi for texteditor but I hate it
If I write code or want to copy code from notepad and save it in vi file , what should I do ? if I create a new file with vi and how I paste it from my notepad and save it in vi , I can not do it ? do i have to retype everything ???
You hate vi? Shame on you! Learn it, you'll love it.
Actually, what you are proposing sounds worse than learning to use vi. If you have more than a full screen of text in vi, you are going to more trips back and forth and it will be painful. There isn't any simple answer to your question since your telnet/ssh client will determine how you can cut and paste. You can probably find an editor that with ftp files back and forth but, at a minimum, ftp'ing the files manually will be easier than cutting and pasting.
vi is a lot of overhead. I cut and paste in a unix session on XP systems. (Usually to try code posted to this site!) But, while I love vi, I wouldn't use it for that. Instead, I use:
cat > something.c
or whatever. After I do the paste, I type enter to finish the last line, followed by cntl-d to end the cat command.
have you tried using gvim on windows? it's pretty much VI but allows for mouse control if you opt to use one. gvim is a good "trainer" for those never using VI before. however, one thing (i don't think) you can avoid is VI's modes (edit and insert).