Give me a break, how many lines of code it takes to attach/detach? ten?

And the dependency on cpp to handle cross-platform issues is
completely bullshit. That asshole should learn to write portable C,
and cpp is never the answer. How hard it is to write a function that
hides the platform differences? blah, the author of dtach just sucks,
and people just wants to make excuses because screen sucks so
incredibly much that not even a whole book filled with expletives
could describe it.

By the way, if you have problems with "redraw" when attaching with
dtach, you got a problem with curses, and the only way to deal with
that problem is the way screen does it, sucking it up and writing a
whole terminal emulator. *YUCK* (or learn to use sane apps and free
yourself from the curse)

uriel


On 6/6/06, Anselm R. Garbe <[EMAIL PROTECTED]> wrote:
On Fri, Jun 02, 2006 at 02:50:26PM +0200, Uriel wrote:
> On 6/2/06, Ross Mohn <[EMAIL PROTECTED]> wrote:
> >On Thu, 2006-06-01 at 13:51 -0400, Kris Maglione wrote:
> >
> >> Might I suggest, though, that you use dtach (http://dtach.sf.net/)
> >instead
>
> >From http://dtach.sf.net/:
> >dtach is a tiny program [...]
>
> dtach-0.7$ cat *.[ch]|wc
>   1145    3758   25598
> dtach-0.7$ cat *.[ch]|grep '^#if'|wc
>     28      60     615
>
> Someone changed the definition of the word 'tiny' while I was
> not looking?

Well above wc call is a bit unfair. To achieve the attach/detach
feature for processes in a portable way (at least for BSD/Linux)
you will need to use CPP heavily.. Measuring the code with
sloccount tells, that it consists of 818 SLOC, which is rather
small for the functionality it provides (though I bet it can be
done much smaller).

I think most #ifdef stuff checks for the macro BROKEN_MASTER
which could be simplified...

Regards,
--
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361

_______________________________________________
[email protected] mailing list
http://wmii.de/cgi-bin/mailman/listinfo/wmii


_______________________________________________
[email protected] mailing list
http://wmii.de/cgi-bin/mailman/listinfo/wmii

Reply via email to