axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] [#46 termio vs ptermio] further info


From: anonymous
Subject: [Axiom-developer] [#46 termio vs ptermio] further info
Date: Sat, 22 Jan 2005 03:55:35 -0600

| On Tue, 4 Jan 2005, root wrote:
| 
| | > Is this a known issue?
| |
| | it is now :-)
| |
| | i'll have to check what versions of the compiler i'm using.
| | i'll also check whether ptermio is used.
| 
| Well, I think my brain is now somewhere in the middle of the atlantic
| ocean, so I'm getting  better :-)  I looked into edible.c.

No, not better ;-/

| The code at issue is:
| 
| #ifdef logterm
|     {
|       struct termio ptermio;
|       char pbuff[1024];
|       tcgetattr(contNum, &ptermio);
|       sprintf(pbuff, "child's settings: Lflag = %d, Oflag = %d, Iflag = %d\n",
|               ptermio.c_lflag, ptermio.c_oflag, ptermio.c_iflag);
|       write(logfd, pbuff, strlen(pbuff));
|     }
| #endif
| 
| line 276 is
|       struct termio ptermio;
| 
| so:
|   (1) it looks to me that the error is a mispelling:
|       'struct termios' should 'struct termio'.

That is inverted:  it is 'struct termio' (current code) that should be
'struct termios'. 


--
forwarded from http://page.axiom-developer.org/zope/mathaction/address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]