Bug 7653 - vim 5.4: improper use of X-windows
vim 5.4: improper use of X-windows
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: vim (Show other bugs)
6.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-12-07 12:23 EST by craig
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-02-04 21:49:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description craig 1999-12-07 12:23:22 EST
vim version 5.4 (the non X-windows version) for Red Hat 6.1 cannot be
used remotely without proper x-windows display permission set--eventhough
it is being run in a terminal.

When run, this error message is displayed:
X connection to xxx.yyy.edu:10.0 broken (explicit kill or server shutdown).

I have to explicitly specify the X-windows display computer and
allow the remote computer to accept X connections.

This behaviour was not present in an earlier version of vim nor in
the traditional vi command.
Comment 1 Bernhard Rosenkraenzer 1999-12-08 10:23:59 EST
Get the 5.5 version from rawhide.
Comment 2 craig 1999-12-12 13:48:59 EST
vim version 5.5 (19 Sep 1999) also has the same problem.
Comment 3 craig 1999-12-29 15:26:59 EST
Using vim version 5.5 (1999 Sep 19):

If the environmental variable $DISPLAY is defined, then vim
(running through /bin/vi) will try to access X-windows on the
computer specified in the $DISPLAY variable.  If this variable
is undefined, for example in bash:
   export DISPLAY=""
or in csh:
   setenv DISPLAY ""
then the program will run successfully without trying to access
an X-windows connection.

Since /bin/vi does not need X-windows to run, it should not
be using the $DISPLAY variable.  This causes problems when
the $DISPLAY variable is set to a location which cannot be opened,
or when the remote computer is not running X-windows.
Comment 4 Nalin Dahyabhai 2000-02-04 21:49:59 EST
This appears to be fixed in vim-5.6-4 in Raw Hide.  Please reopen this bug if
this is not the case.  Thanks!

Note You need to log in before you can comment on or make changes to this bug.