LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-21-2011, 03:34 PM   #31
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723

Quote:
Originally Posted by stf92 View Post
No doubt vim has a workaround for the case of this user and of mine. Or something went wrong in the installation. But the fact is I had no problem with vi.

You can see it at the cinematographic industry as well, and literature of course. If a movie has the number 2 in its title, you bet its a bad one. Of course there are exceptions.
I don't agree whatsoever.
 
Old 09-21-2011, 03:54 PM   #32
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
I set mouse=r in my vimrc since I only ever use the mouse for copy/paste and have no problems whatsoever pasting.

But there is another alternative: did you know that vim keeps a buffer between sessions? - ie you can copy from a file open in vim using the usual vim visual mode, close that file, open second file and paste.
 
Old 09-21-2011, 04:30 PM   #33
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Quote:
Originally Posted by stf92 View Post
I did not think I had to be so explicit. First part= vi. Second part= vim. And you see a user and me are having problems pasting with vim. But no problem at all with vi. Second part, in the saying, means that that comes after, a sequel.

No doubt vim has a workaround for the case of this user and of mine. Or something went wrong in the installation. But the fact is I had no problem with vi.

You can see it at the cinematographic industry as well, and literature of course. If a movie has the number 2 in its title, you bet its a bad one. Of course there are exceptions.
'vim' is the improved 'vi'. Most Gnu/Linux ship with 'vim' or vi which is a link to 'elvis on my machine';
Quote:
NAME
elvis - a clone of the ex/vi text editor

SYNOPSIS
elvis [-V...] [-a] [-r] [-e] [-i] [-s|-] [-b] [-R] [-S|-SS] [-f session] [-o log-
file] [-G gui] [-c command|+command] [-t tag] [-w scroll] [-B blksize] [file]...

VERSION
Elvis 2.2_0

DESCRIPTION
Elvis is a text editor. It is intended to be a modern replacement for the classic
ex/vi editor of UNIX fame. Elvis supports many new features, including multiple
edit buffers, multiple windows, multiple user interfaces (including an X11 inter-
face), and a variety of display modes.

To exit Elvis, you can give the command ":q" in each of its windows. If you've
modified the buffer in a window, and you want to abandon those changes, then give
the command ":q!" instead.
Again, please check your system 'man' for explanation(s). Look through the install and find out what is linked to what;
Quote:
ls -al /usr/bin/vi
lrwxrwxrwx 1 root root 5 2011-05-24 04:23 /usr/bin/vi -> elvis*

ls -al /usr/bin/vim
-rwxr-xr-x 1 root root 4863240 2010-05-10 18:03 /usr/bin/vim*
So not to doubt your situation but you should check the install. Funny it's on both machines as errors. Same media used for both?
 
Old 09-23-2011, 04:08 AM   #34
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
It is about ten years now, that I run elvis. One day, I found vi is a link to elvis in slackware. Some years ago, I discovered vim. I have read the expression Vi IMproved many a time before your post.

What I see, is that using vim or emacs, takes reading a thousand helps to do the tiniest thing. Else you must have a vim curriculum. Is vi so awful? And what I was trying to mean with my saying, is that vim was, perhaps, an unnecessary addition. Another saying. Why to fix it if it's not broken?

And may be one day you slow down with your "read-the-man-pages-thing". I would appreciate it.
 
Old 09-23-2011, 08:18 AM   #35
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Quote:
Originally Posted by stf92 View Post
It is about ten years now, that I run elvis. One day, I found vi is a link to elvis in slackware. Some years ago, I discovered vim. I have read the expression Vi IMproved many a time before your post.

What I see, is that using vim or emacs, takes reading a thousand helps to do the tiniest thing. Else you must have a vim curriculum. Is vi so awful? And what I was trying to mean with my saying, is that vim was, perhaps, an unnecessary addition. Another saying. Why to fix it if it's not broken?

And may be one day you slow down with your "read-the-man-pages-thing". I would appreciate it.
It is obvious that you do not use available documentation with the continued type of queries that are made.

How else will you learn? Either by experimentation or utilize available information to help you perform or do operations without delay by using what is at hand.
 
Old 09-23-2011, 08:32 AM   #36
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by stf92 View Post
What I see, is that using vim or emacs, takes reading a thousand helps to do the tiniest thing. Else you must have a vim curriculum. Is vi so awful? And what I was trying to mean with my saying, is that vim was, perhaps, an unnecessary addition. Another saying. Why to fix it if it's not broken?
If you don't care about making use of Vim-specific features that aren't in vi, you can learn using the same resources you use to learn vi.

Also, Vim isn't an unnecessary addition. It has many great features that I use all the time, mainly tabs and syntax highlighting.
 
Old 09-23-2011, 05:26 PM   #37
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 360

Rep: Reputation: 199Reputation: 199
Quote:
Originally Posted by stf92 View Post
What I see, is that using vim or emacs, takes reading a thousand helps to do the tiniest thing. Else you must have a vim curriculum. Is vi so awful? And what I was trying to mean with my saying, is that vim was, perhaps, an unnecessary addition. Another saying. Why to fix it if it's not broken?
While I can't help you with the issues you're having with copy and paste in virtual terminals (I very rarely use them, also don't have gpm installed to test it), I wanted to chime in and comment on your remark about Vim being an "unnecessary addition".

You're comparing vim with vi, but the fact is that vi you're using is another clone of it, elvis (at least it is in default Slackware installation). There's a reason why we have clones now and not the original vi: it wasn't free software back then (only recently it was released as BSD software). That is, there was a real need to create these "unnecessary additions". And it's only natural for software to evolve when people use it and see new ways to improve it, hence why both vim and elvis (yes, it has more features than original vi) have various enhancements like multiple buffers, windows, etc. Here's another example which I couldn't live without and which vim does have: multiple undo levels. Original vi lacks it. Elvis lacks it (unless there's an option for that which is turned off by default).

Is vim complex? Definitely. Do you have to use all its features? Not at all. Use what you really need. And you can still enjoy some very handy additions like the ones I already mentioned. If you find elvis a better choice, stick with it. I believe it's a fine alternative (though I've used it only a few times).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] copy and paste text among text documents in Linux ethereal1m Linux - Newbie 5 03-28-2010 03:14 AM
Which light text editor can copy text from file and paste in browser? davidas Linux - Software 9 03-06-2006 11:28 AM
console copy , paste and screenshots geletine Linux - Newbie 3 02-09-2006 01:50 PM
How can I copy a bunch of text and then paste it, all in a framebuffer console? Shagrath239 Linux - Newbie 1 02-06-2006 11:32 PM
paste text from a virtual console to X? Rhatlinux Slackware 1 10-12-2004 08:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration