-Original Message-
From: vim_dev@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Hartmann
Sent: 21 February 2008 00:09
To: vim_dev@googlegroups.com
Subject: Re: Patch 7.1.262
On Wed, Feb 20, 2008 at 11:16 PM, Milan Vancura [EMAIL PROTECTED] wrote:
Yes
-Original Message-
From: vim_dev@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Hartmann
Sent: 21 February 2008 02:24
To: vim_dev@googlegroups.com
Cc: [EMAIL PROTECTED]
Subject: Re: Patch 7.1.262
On Wed, Feb 20, 2008 at 11:17 PM, Ben Schmidt
[EMAIL PROTECTED
[EMAIL PROTECTED] wrote:
-Original Message-
From: vim_dev@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Hartmann
Sent: 21 February 2008 00:09
To: vim_dev@googlegroups.com
Subject: Re: Patch 7.1.262
On Wed, Feb 20, 2008 at 11:16 PM, Milan Vancura [EMAIL
Richard Hartmann wrote:
On Wed, Feb 20, 2008 at 8:10 PM, Bram Moolenaar [EMAIL PROTECTED] wrote:
+ getpid() Return a Number which is the process ID of the Vim process.
+ On Unix this is a unique number. On MS-DOS it's always
zero.
At least on Linux, it's not
Adri Verhoef wrote:
On Wed, Feb 20, 2008 at 20:40:45 +0100, Richard Hartmann wrote:
On Wed, Feb 20, 2008 at 8:10 PM, Bram Moolenaar [EMAIL PROTECTED] wrote:
+ getpid() Return a Number which is the process ID of the Vim process.
+ On Unix this is a unique number. On
On Wed, Feb 20, 2008 at 11:16 PM, Milan Vancura [EMAIL PROTECTED] wrote:
Yes, it was Zdenek's original request...
Come to think of it, get_ppname could be even more important than
get_ppid.
Bram: If you agree that this is useful, I can try my hands at a patch, so you
don't have to. It is
On 20/02/2008, Richard Hartmann [EMAIL PROTECTED] wrote:
On Wed, Feb 20, 2008 at 11:32 PM, Tony Mechelynck
[EMAIL PROTECTED] wrote:
You mean that it is not the process ID of the Vim process?
No, what he meeans is: after a process exits, its PID may (usually not
immediately) be
On Thu, Feb 21, 2008 at 12:21 AM, George V. Reilly [EMAIL PROTECTED] wrote:
The same caveats apply on Windows, which wasn't clear in Bram's help text.
I assumed Bram counted Windows towards DOS, thus not offering a PID at all?
Richard
--~--~-~--~~~---~--~~
On Wed, Feb 20, 2008 at 11:17 PM, Ben Schmidt
[EMAIL PROTECTED] wrote:
But it's unique during the period that the Vim process is running, which is
the
only time the function can be called, and the only time the concept of a
process
ID really makes sense! I think 'unique' here didn't
On 20/02/2008, Richard Hartmann [EMAIL PROTECTED] wrote:
On Thu, Feb 21, 2008 at 12:21 AM, George V. Reilly [EMAIL PROTECTED]
wrote:
The same caveats apply on Windows, which wasn't clear in Bram's help
text.
I assumed Bram counted Windows towards DOS, thus not offering a PID at
all?
I assumed Bram counted Windows towards DOS, thus not offering a PID at all?
No, Windows does have PID's, supported by the new Vim getpid() function. I
agree
the docs are unclear on this. Would be better if they had 'Unix and Windows'.
Ben.
Send instant messages to your online friends
Of course. But being able to generate/query a value and to reliably use it as
a
unique value are vastly different.
I think you *can* reliably use it as a unique value (though only within the
context of the process running), so I don't think these are vastly different. I
personally think
12 matches
Mail list logo