Re: [osol-discuss] Offtopic: Solaris C API to clear a terminal screen...

2006-05-16 Thread Casper . Dik
> >>Jonathan Adams <[EMAIL PROTECTED]> wrote: >> >>> you might avoid *some* of the expense (since, as of Solaris 10, system() >>> uses vfork(), even on multi-threaded processes. So the "duplicating >>> the address space just to tear it down at exec() time" cost is gone. >> >>Isn't vfork() nowerda

Re: [osol-discuss] Offtopic: Solaris C API to clear a terminal screen...

2006-05-15 Thread Casper . Dik
>Jonathan Adams <[EMAIL PROTECTED]> wrote: > >> you might avoid *some* of the expense (since, as of Solaris 10, system() >> uses vfork(), even on multi-threaded processes. So the "duplicating >> the address space just to tear it down at exec() time" cost is gone. > >Isn't vfork() nowerdays only s

Re: [osol-discuss] Offtopic: Solaris C API to clear a terminal screen...

2006-05-15 Thread Casper . Dik
>This is slightly offtopic but due lack of a better list for this I am >asking this here: >Does Solaris have any C API (maybe something in libc ?) which works like >/usr/bin/clear but does not require a |fork()| (=expensive call) nor >uses libcurses/libncurses (e.g. adds another library dependicy)

Re: [osol-discuss] Offtopic: Solaris C API to clear a terminal screen...

2006-05-15 Thread Jonathan Adams
On Mon, May 15, 2006 at 03:33:43PM -0700, Jonathan Adams wrote: > On Tue, May 16, 2006 at 12:00:32AM +0200, Roland Mainz wrote: > > > > Hi! > > > > > > > > This is slightly offtopic but due lack of a better list for this I am > > asking this here: > > Does Solaris have any C API (maybe some

Re: [osol-discuss] Offtopic: Solaris C API to clear a terminal screen...

2006-05-15 Thread Jonathan Adams
On Tue, May 16, 2006 at 12:38:05AM +0200, Joerg Schilling wrote: > Jonathan Adams <[EMAIL PROTECTED]> wrote: > > > you might avoid *some* of the expense (since, as of Solaris 10, system() > > uses vfork(), even on multi-threaded processes. So the "duplicating > > the address space just to tear it

Re: [osol-discuss] Offtopic: Solaris C API to clear a terminal screen...

2006-05-15 Thread Joerg Schilling
Roland Mainz <[EMAIL PROTECTED]> wrote: > This is slightly offtopic but due lack of a better list for this I am > asking this here: > Does Solaris have any C API (maybe something in libc ?) which works like > /usr/bin/clear but does not require a |fork()| (=expensive call) nor > uses libcurses/li

Re: [osol-discuss] Offtopic: Solaris C API to clear a terminal screen...

2006-05-15 Thread Joerg Schilling
Jonathan Adams <[EMAIL PROTECTED]> wrote: > you might avoid *some* of the expense (since, as of Solaris 10, system() > uses vfork(), even on multi-threaded processes. So the "duplicating > the address space just to tear it down at exec() time" cost is gone. Isn't vfork() nowerdays only slightly

Re: [osol-discuss] Offtopic: Solaris C API to clear a terminal screen...

2006-05-15 Thread Jonathan Adams
On Tue, May 16, 2006 at 12:00:32AM +0200, Roland Mainz wrote: > > Hi! > > > > This is slightly offtopic but due lack of a better list for this I am > asking this here: > Does Solaris have any C API (maybe something in libc ?) which works like > /usr/bin/clear but does not require a |fork()|

[osol-discuss] Offtopic: Solaris C API to clear a terminal screen...

2006-05-15 Thread Roland Mainz
Hi! This is slightly offtopic but due lack of a better list for this I am asking this here: Does Solaris have any C API (maybe something in libc ?) which works like /usr/bin/clear but does not require a |fork()| (=expensive call) nor uses libcurses/libncurses (e.g. adds another library depe