How do I close then open stdin and keep it set to the same terminal
as when it was closed? Everything I've tried so far has met with failure
accept this works sort of and I don't get why:
signal( SIGALRM, MGPMrTimer );
alarm( 300 ); /* time out in 5 minutes */
answer = getc(stdin);
the signa
On Tuesday 22 November 2005 10:50, Michael C. Shultz wrote:
> How do I close then open stdin and keep it set to the same terminal
> as when it was closed? Everything I've tried so far has met with failure
> accept this works sort of and I don't get why:
>
> signal( SIGAL
On Wednesday 23 November 2005 11:21, Joan Picanyol i Puig wrote:
> [private reply, I'm 100% unsure I understand what you want]
>
> * Michael C. Shultz <[EMAIL PROTECTED]> [20051122 19:58]:
> > How do I close then open stdin and keep it set to the same terminal
> >
On Sunday 27 November 2005 14:47, Geoff Mohler wrote:
> I am trying to upgrade via buildworld my 4.11-RELEASE #0 system, and I am
> running into a few key errors.
>
> First, I am updated in my cvsup, here is my config file:
>
> *default host=cvsup3.freebsd.org compress
> *default base=/usr
> *defau
On Sunday 27 November 2005 14:50, Michael C. Shultz wrote:
> On Sunday 27 November 2005 14:47, Geoff Mohler wrote:
> > I am trying to upgrade via buildworld my 4.11-RELEASE #0 system, and I am
> > running into a few key errors.
> >
> > First, I am updated in my cv
On Sunday 20 February 2005 11:02 am, Kathy Quinlan wrote:
> Peter Jeremy wrote:
> > On Mon, 2005-Feb-21 00:22:56 +0800, Kathy Quinlan wrote:
> >>These are some of the errors I get in pairs for each of the above
> >> variables:
> >>
> >>Wtrend_Drivers.c:15: conflicting types for `Receiver'
> >>Wtren
On Sunday 20 February 2005 11:48 am, Kathy Quinlan wrote:
> Gary Corcoran wrote:
> > Kathy Quinlan wrote:
> >> Peter Jeremy wrote:
> >>> On Mon, 2005-Feb-21 00:22:56 +0800, Kathy Quinlan wrote:
> These are some of the errors I get in pairs for each of the
> above variables:
>
>
On Sunday 20 February 2005 12:41 pm, Richard Sharpe wrote:
> On Sun, 20 Feb 2005, Michael C. Shultz wrote:
> > > >> Here is a section of my code:
> > > >>
> > > >> *** Wtrend_Drivers.c ***
> > > >>
> > > >> (12)void R
On Monday 14 March 2005 06:33 pm, wanakahalugi wrote:
> hi all,
>
> I installed FreeBSD5.3REL on my PC, and I want to update the source
> tree and ports collection using cvsup.
> To do that I copy the stable-supfile to /etc directory and set its
> default host tag to the nearest mirror, and also se
Hi, I've just reached a point in a program I'm writing where I'd like to
do threading.
When I try to start a thread like this:
pthread_create(&thread, &attr, MGPMrUpgrade, property );
where property is a structure of many variables it doesn't get passed
to the function. If I do this:
pthread_
On Monday 14 March 2005 08:57 pm, Daniel Eischen wrote:
> On Mon, 14 Mar 2005, Michael C. Shultz wrote:
> > Hi, I've just reached a point in a program I'm writing where I'd
> > like to do threading.
> >
> > When I try to start a thread like this:
> >
On Monday 14 March 2005 08:57 pm, Daniel Eischen wrote:
> On Mon, 14 Mar 2005, Michael C. Shultz wrote:
> > Hi, I've just reached a point in a program I'm writing where I'd
> > like to do threading.
> >
> > When I try to start a thread like this:
> >
On Tuesday 15 March 2005 10:19 am, Daniel Eischen wrote:
> On Tue, 15 Mar 2005, Michael C. Shultz wrote:
> > Daniel, sorry to bother you again but I ran into something that is
> > either a bug or I am missing a vital piece of information
> > somewhere. Here is the situatio
On Tuesday 15 March 2005 12:02 pm, you wrote:
> On Tue, 15 Mar 2005, Michael C. Shultz wrote:
> [cut]
>
> > The answer is probably something like what you just said, scope
> > being lost when making the call to a shared library. Why is it ok
> > going to a static libr
On Wednesday 16 March 2005 01:40 pm, you wrote:
> >this works perfectly because I moved MGPMrUpgrade into
> >the same .c file so it would be a static function:
> >
> >structProperty* property;
> >pthread_t threads[NTHREADS];
> >pthread_create( &threads[0], NULL, zzMGPMrUpgrade, proper
On Wednesday 30 March 2005 10:17 am, zean zean wrote:
> Hi Hackers:
>
> Excuse for my badly English. which is the best form to wait the
> finish of execution of a child.
>
> My idea is:
>
> pid_t chilpid;
>
> while(childpid != wait(&status))
> ;
>
> Any aid to obtain the best way is very welcome.
On Sunday 09 October 2005 07:53, Michael Lednev wrote:
> Hello, freebsd-questions.
>
> anyone tried to run portmanager from crontab? as for me it just
> coredumps, what am i doing wrong? its simply 0 0 * * * portmanager -s
I'm not sure how to fix it but I've found where portmanager crashes
nager.c to a library function then see what gdb
says.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Michael C. Shultz
> Sent: 10/12/2005 1:43 PM
> To: Michael Lednev; freebsd-questions@freebsd.org; [EMAIL PROTECTED]
> Subject:
fieldUpgradePortDir = 0x28051176 "\211�205�\032\203}�, fieldUpgradePortName
= 0x280a6c1c "tsd_lock", strikesDb = 0x9a6322b,
cacheDb = 0x2806aa50, commandLineDb = 0xbfbfecdc, configDb = 0x0,
dependencyPortsDb = 0xbfbfece0, ignoreDb = 0x0,
installedPortsDb = 0x2805106e, outOfD
On Thursday 13 October 2005 04:37, you wrote:
> Michael C. Shultz wrote:
> > if ( getenv("TERM") )
> > {
> > . . .
> > }
>
> Anyway you should use code like that for the cases:
> char *term;
> term = getenv("TERM");
>
> And check
20 matches
Mail list logo