Re: [dwm] [ANNOUNCE] dvtm-0.1

2007-12-26 Thread Marc Andre Tanner
On Mon, Dec 24, 2007 at 11:17:11PM +0100, pancake wrote:
 On Fri, Dec 21, 2007 at 10:22:55PM +0100, Marc Andre Tanner wrote:
  On Fri, Dec 21, 2007 at 11:17:42PM +0100, pancake wrote:
   Cool release! 
   
   Did you was able to run dvtm on openbsd or netbsd? I dunno... looks
   like librote needs pty.h which is not a bsd stuff (dont know in fbsd)
   but building librote with --disable-pty makes the dvtm build faild
   because of an missing symbol:
   
 dvtm.c:(.text+0xafa): undefined reference to `rote_vt_forkpty'
  
  Some one already sent me a patch for *BSD support but apparently i broke
  it again. I should probably set up a kvm/qemu vm as test environment.
  Try removing the #include pty.h in rote.c as this is not needed on
  *BSD. Then rerun configure without --disable-pty, hope it works.
 
 Can test this now...But I promise to test it on openbsd and netbsd asap.
 Now i'm enjoying a 33k dialup connection..and next days i'll live
 leeching german wifis, so, not sure when I'll be able to get enought
 uptime to ssh to my bsd boxes O:)

Today i have actually downloaded the latest iso's from
{open,net,free}bsd and opensolaris so i have something to play around.

   About the redrawing timeout..Is this a temporally hack? select()
   have you taken a look on the screen sources? I dont know how they
   handle this in a proper way.
  
  It's the way it is until someone proposes a better way / writes a patch :) 
  I haven't looked at the screen sources yet, if i find the time i will
  investigate in a select based solution.
 
 Maybe you can have a look at 'tm' source:
 
   http://vicerveza.homeunix.net/~viric/soft/tm/

I have already implemented a select() based event loop. It can be obtained 
with git or directly here:

 
http://repo.or.cz/w/dvtm.git?a=snapshot;h=b6848a85be5b1a29d5f82de6692f30808e982825

This includes some other improvements like the possibility to minimize windows
(only the titlebar is shown), a new fullscreen layout, and an optional status 
bar
which reads from a named pipe. I plan to do another release soon but
i am currently investigating migrating from librote to a librote
derivate called madtty which is just a single file and could be linked
into dvtm.

   For the rest. Awesome work! I find it quite usable and makes my
   putty sessions more comfortable :)
 
 Maybe I miss a scrolling log for each terminal..

Yep would be handy in some situations.

Regards,
Marc

-- 
 Marc Andre Tanner  http://www.brain-dump.org/  GPG key: CF7D56C0



Re: [dwm] [ANNOUNCE] dvtm-0.1

2007-12-21 Thread Marc Andre Tanner
On Fri, Dec 21, 2007 at 11:17:42PM +0100, pancake wrote:
 Cool release! 
 
 Did you was able to run dvtm on openbsd or netbsd? I dunno... looks
 like librote needs pty.h which is not a bsd stuff (dont know in fbsd)
 but building librote with --disable-pty makes the dvtm build faild
 because of an missing symbol:
 
   dvtm.c:(.text+0xafa): undefined reference to `rote_vt_forkpty'

Some one already sent me a patch for *BSD support but apparently i broke
it again. I should probably set up a kvm/qemu vm as test environment.
Try removing the #include pty.h in rote.c as this is not needed on
*BSD. Then rerun configure without --disable-pty, hope it works.

 About the redrawing timeout..Is this a temporally hack? select()
 have you taken a look on the screen sources? I dont know how they
 handle this in a proper way.

It's the way it is until someone proposes a better way / writes a patch :) 
I haven't looked at the screen sources yet, if i find the time i will
investigate in a select based solution.

 For the rest. Awesome work! I find it quite usable and makes my
 putty sessions more comfortable :)

Yep, mine too.

Regards,
Marc

-- 
 Marc Andre Tanner  http://www.brain-dump.org/  GPG key: CF7D56C0