This is a discussion on vi - elvis problem within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Anyone know what would cause elvis to give the phrase "no previous char search" when trying to exit or ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Anyone know what would cause elvis to give the phrase "no previous char search" when trying to exit or write changes to a file? I don't know what all was done during the session other than the changes to the file can not be written and ":q!" doesn't close it either. As soon as you hit the colon ":" to write or quit it gives the phrase mentioned above. -- Confucius: He who play in root, eventually kill tree. Registered with The Linux Counter. http://counter.li.org/ Slackware 9.1.0 Kernel 2.4.26 SMP i686 (GCC) 3.3.3 Uptime: 1 day, 3:19, 2 users, load average: 0.00, 0.00, 0.00 |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David wrote: | | Anyone know what would cause elvis to give the phrase | "no previous char search" when trying to exit or write changes to a | file? I don't know what all was done during the session other than the | changes to the file can not be written and ":q!" doesn't close it | either. As soon as you hit the colon ":" to write or quit it gives the | phrase mentioned above. | It happened to me before, I just upgrade the elvis to the latest, now i'm using elvis-2.1_4-i386-1. - -- Best regards, Wong Kum Weng, Andrew +----------------------------------------------------------------------+ ~ Keep away from people who try to belittle your ambitions. Small people ~ always do that, but the really great ones make you feel that you too, ~ can become great. -- Mark Twain +----------------------------------------------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAf63h1bXyj+2X4JERAq/QAJ4xC4p5foroGLWcPnePRqZY4kt1agCfUBxV RS1lTXNdQMZh4zLhVLBMIcs= =fDiu -----END PGP SIGNATURE----- |
| |||
| Wong Kum Weng wrote: > > It happened to me before, I just upgrade the elvis to the latest, now > i'm using elvis-2.1_4-i386-1. Thanks for the idea but it didn't change anything. It still gives the phrase "no previous char search" when pressing the ":" colon. -- Confucius: He who play in root, eventually kill tree. Registered with The Linux Counter. http://counter.li.org/ Slackware 9.1.0 Kernel 2.4.26 SMP i686 (GCC) 3.3.3 Uptime: 1 day, 9:34, 1 user, load average: 0.05, 0.05, 0.08 |
| |||
| David wrote: > Wong Kum Weng wrote: >> >> It happened to me before, I just upgrade the elvis to the latest, now >> i'm using elvis-2.1_4-i386-1. > > Thanks for the idea but it didn't change anything. It still gives the > phrase "no previous char search" when pressing the ":" colon. > I have even uninstalled both elvis and vim then reinstalled them but nothing has changed. I still get the phrase mentioned above. In fact I get the same phrase in both elvis and vim which really has me puzzled as the system hasn't had any configuration changes made to it in a long time. -- Confucius: He who play in root, eventually kill tree. Registered with The Linux Counter. http://counter.li.org/ Slackware 9.1.0 Kernel 2.4.26 SMP i686 (GCC) 3.3.3 Uptime: 1 day, 20:04, 1 user, load average: 0.00, 0.04, 0.23 |
| |||
| David wrote in news:e2_fc.146373$gA5.1785662@attbi_s03 on 16.04.2004: > David wrote: > > Wong Kum Weng wrote: > >> > >> It happened to me before, I just upgrade the elvis to the latest, now > >> i'm using elvis-2.1_4-i386-1. > > > > Thanks for the idea but it didn't change anything. It still gives the > > phrase "no previous char search" when pressing the ":" colon. > > > > I have even uninstalled both elvis and vim then reinstalled them > but nothing has changed. I still get the phrase mentioned above. > In fact I get the same phrase in both elvis and vim which really > has me puzzled as the system hasn't had any configuration changes > made to it in a long time. > Shot in the dark here, Do you have ~/.elvis? Why not copy the files from /usr/share/elvis. You know the .arf, .brf, stuff. -- Mike: "The Fourth Dimension is a shambles?" Bernie: "Nobody ever empties the ashtrays. People are SO inconsiderate." -- Gary Trudeau, "Doonesbury" |
| |||
| On Fri, 16 Apr 2004 23:46:06 GMT, raf <me9@privacy.net> appears to have said: > David wrote > in news:e2_fc.146373$gA5.1785662@attbi_s03 on 16.04.2004: > >> In fact I get the same phrase in both elvis and vim which really >> has me puzzled as the system hasn't had any configuration changes >> made to it in a long time. >> > > Shot in the dark here, Do you have ~/.elvis? Why not copy the files from > /usr/share/elvis. You know the .arf, .brf, stuff. Given the fact that the problem is occurring with *both* elvis and vim, I would suspect the ~/.exrc file. I had trouble with that the first time I tried using both elvis and vim on the same system. They both wanted to use the same ~/.exrc file. Try moving it out of the way and starting elvis/vim. If that works you could try modifying the lines of elvis.ini (make a copy in /etc/elvis rather than modify the original) where ~/.exrc is sourced. Just change ~/.exrc to ~/.elvisrc or something... and rename the file in your home dir accordingly. Then elvis would use ~/.elvisrc and vim would use ~/.exrc and everybody would be happy. If that's not it... try running elvis -V to get a verbose startup. Maybe something in the output will tip you off to the problem. (more "V's" yields more verbose output) HTH, Jonathan -- Don't just hit reply. Email address is broken. Thank your friendly neighborhood spammer. Email replies to: user: jnthn1 domain: earthlink<dot>net |
| ||||
| David <thunderbolt01@netscape.net> wrote: > In fact I get the same phrase in both elvis and vim which really > has me puzzled as the system hasn't had any configuration changes > made to it in a long time. Look at your .exrc file. You might have remapped the : key in that. As far as I know that is just about the only init file elvis and vim share (as it's the origibal ex/vi one). -- ************************************************** ****************** ** Eef Hartman, Delft University of Technology, dept. EWI/TW ** ** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 ** ** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands ** ************************************************** ****************** |