A.J.Mechelynck [EMAIL PROTECTED] wrote:
The ps solution is difficult to use, because there may be several instances
of Vim running in parallel (whose prognames might or might not be different)
and I want to make sure to access the current instance: so I would have to
know the process ID of the
[EMAIL PROTECTED] wrote:
A.J.Mechelynck [EMAIL PROTECTED] wrote:
The ps solution is difficult to use, because there may be several instances
of Vim running in parallel (whose prognames might or might not be different)
and I want to make sure to access the current instance: so I would have to
* A.J.Mechelynck [EMAIL PROTECTED] [070314 07:50]:
How can a Vim script know if we're running without an X connection?
What about if has('gui') ?
Of course, some cases are obvious, such as
if has('unix') !has('x11')
meaning we're on Unix with no X11 support compiled-in.
But
Dimitar wrote:
* A.J.Mechelynck [EMAIL PROTECTED] [070314 07:50]:
How can a Vim script know if we're running without an X connection?
What about if has('gui') ?
No. This wouldn't distinguish a version -gui +x11 +clipboard +clientserver
running in a non-x console (with no clipboard and no
How can a Vim script know if we're running without an X connection?
Of course, some cases are obvious, such as
if has('unix') !has('x11')
meaning we're on Unix with no X11 support compiled-in.
But what about an X-enabled Vim running in console mode, either with the -X
command-line
On 13Mar2007 23:29, A.J.Mechelynck [EMAIL PROTECTED] wrote:
| How can a Vim script know if we're running without an X connection?
| Of course, some cases are obvious, such as
| if has('unix') !has('x11')
| meaning we're on Unix with no X11 support compiled-in.
|
| But what about an
Cameron Simpson wrote:
On 13Mar2007 23:29, A.J.Mechelynck [EMAIL PROTECTED] wrote:
| How can a Vim script know if we're running without an X connection?
| Of course, some cases are obvious, such as
| if has('unix') !has('x11')
| meaning we're on Unix with no X11 support compiled-in.
|
|
Hello,
* On Tue, Mar 13, 2007 at 11:29:28PM +0100, A.J.Mechelynck [EMAIL PROTECTED]
wrote:
How can a Vim script know if we're running without an X connection?
Of course, some cases are obvious, such as
if has('unix') !has('x11')
meaning we're on Unix with no X11 support
Luc Hermitte wrote:
Hello,
* On Tue, Mar 13, 2007 at 11:29:28PM +0100, A.J.Mechelynck [EMAIL PROTECTED]
wrote:
How can a Vim script know if we're running without an X connection?
Of course, some cases are obvious, such as
if has('unix') !has('x11')
meaning we're on Unix with no