LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-11-2008, 05:57 PM   #1
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
vi command terminated


I am trying to figure out why the following is happening.

I launch a database admin tool in an x-term. This product lets me write SQL scripts in an editor. When I choose vi as the editor. I get this message:

Command terminated
Press ENTER or type command to continue

When I press Enter, I get the full vi screen, and I can proceed with my task.

This behavior does not occur on Red Hat/rpm based systems, but occurs on Ubuntu systems. I am trying to figure out how to avoid this problem. BTW, emacs does not have this problem.

Any pointers or ideas would be very much appreciated.
Thank you.
cmn
 
Old 02-12-2008, 02:16 AM   #2
southsibling
Member
 
Registered: Jun 2003
Location: Harford County, Maryland
Distribution: Mandrake 10.1
Posts: 162

Rep: Reputation: 30
Just a thought (to exhaust my meager knowledge)

I'm afraid that the following slim insight draws to the depths of my knowledge, but thought I would share it FWIW:

In [my] Mandrake 10.1, :"which vim" indicates a path of "/bin/vim"; whereas "which vi" yields "/usr/bin/vi". Both paths are shown in "echo $PATH". Either command works equally well for me.

You may want to explore whether your two OS' treat those queries differently. (Also, look up "man which".)
 
Old 02-12-2008, 06:48 AM   #3
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Original Poster
Rep: Reputation: 35
Many Thanks, A Good Place To Start

Quote:
Originally Posted by southsibling View Post
I'm afraid that the following slim insight draws to the depths of my knowledge, but thought I would share it FWIW:

In [my] Mandrake 10.1, :"which vim" indicates a path of "/bin/vim"; whereas "which vi" yields "/usr/bin/vi". Both paths are shown in "echo $PATH". Either command works equally well for me.

You may want to explore whether your two OS' treat those queries differently. (Also, look up "man which".)
I'll check this out. tnx cmn

Last edited by cmnorton; 02-12-2008 at 07:01 AM. Reason: Add more information...
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ld terminated by signal 9 [killed] rustyz82 Linux - Software 3 09-15-2015 08:14 AM
Azureus install terminated on Suse 9.2? suse2166 Linux - Software 3 12-27-2005 06:15 PM
Child terminated with 1 status kahlil88 Linux - Security 1 11-26-2005 04:33 AM
Azureus TERMINATED. unexpectedly. J_7D5 Linux - Software 3 11-11-2005 06:36 AM
Terminals terminated by nVidia babyphil Linux - Newbie 0 06-14-2004 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:53 AM.

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