[EMAIL PROTECTED] wrote:
>
>
>> -----Original Message-----
>> From: [email protected] [mailto:[EMAIL PROTECTED] On
>> Behalf Of Richard Hartmann
>> Sent: 21 February 2008 00:09
>> To: [email protected]
>> Subject: Re: Patch 7.1.262
>>
>>
>> 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.
>>
>
> I don't understand: PPID is available on every *[iu]x system
> that I know of as $PPID, so what's to write for vim?
> I needed PID, I haven't tried the patch but I'm sure that's
> what it is providing.
>
> PID never changes with the *running* process, as Tony says
> in his email.
>
> ---Zdenek
Vim already used its PID, for instance in the swap files as shown in the
|ATTENTION| message, so it was no big deal to make it available as a builtin
function. Since patch 7.1.262, you can now get it as a Number, as the result
of the getpid() function. Its help isn't yet available on the ftp/rsync
servers (so if you applied the patch, sync'ing your runtimes will remove that
help ยง) but I'm confident it soon will be.
Best regards,
Tony.
--
Duct tape is like the force. It has a light side, and a dark side, and
it holds the universe together ...
-- Carl Zwanzig
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---