Re: [dwm] [dvtm] testing current git HEAD aka dvtm-0.5-rc1

From: Donald Chai <donald.chai_AT_gmail.com>
Date: Fri, 10 Oct 2008 02:42:10 -0700

On Oct 10, 2008, at 1:36 AM, Marc Andre Tanner wrote:

> On Wed, Oct 08, 2008 at 05:44:31PM -0700, Donald Chai wrote:
>> On Wed, Oct 8, 2008 at 4:44 PM, Charlie Kester
>> <corky1951_AT_comcast.net> wrote:
>>> I assume the question concerns the new scripting support in dvtm.
>>>
>>> Originally I was excited by the addition of this feature and
>>> downloaded
>>> the tip right away.
>>>
>>> But since then, I've scarcely used it.
>>> So I won't object if the default is to leave it disabled.
>>
>> Maybe if there were a list of sample scripts... The only usage that I
>> can think of is to have VIM open a manpage in a new window using the
>> 'K' key, as opposed to in the same window.
>
> I agree that the main usage is opening new windows. For example when
> mutt displays an email which contains a url it could launch a text
> browser in a new window.
>
> I was also asked if there is a way to detect whether the shell startup
> script is running within dvtm. So i might introduce an envrionment
> variable DVTM which contains the current version.

Or the PID of the innermost dvtm instance?

GNU screen lets me run commands without me having to specify a FIFO.
I just run "screen -X <cmd>". It seems they use variables PPID and STY.
Received on Fri Oct 10 2008 - 09:42:10 UTC

This archive was generated by hypermail 2.2.0 : Fri Oct 10 2008 - 09:48:04 UTC