public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/3928] New: Pty.cxx frysk::sys::Pty::setUpPtyForConsole uses system()  calls to set tty properties
@ 2007-01-26 19:03 pmuldoon at redhat dot com
  2007-01-26 19:42 ` [Bug general/3928] " cmoller at redhat dot com
  2007-02-19 21:38 ` cagney at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: pmuldoon at redhat dot com @ 2007-01-26 19:03 UTC (permalink / raw)
  To: frysk-bugzilla

This might call problems with SIGCHLD and Frysk. Code snippet below.

        char prefix[30] = "stty -F ";
        char *pts_name = ptsname(master);
        char cmd[60];
         
        if (pts_name != NULL)
        {
                strcat(prefix, pts_name);
                strcpy(cmd, prefix);
                strcat(cmd, " -icanon min 1");
                system(cmd);
    
                strcpy(cmd, prefix);
                strcat(cmd, " -echo");
                system(cmd);
        }

-- 
           Summary: Pty.cxx frysk::sys::Pty::setUpPtyForConsole uses
                    system()  calls to set tty properties
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: pmuldoon at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=3928

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-19 21:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-26 19:03 [Bug general/3928] New: Pty.cxx frysk::sys::Pty::setUpPtyForConsole uses system() calls to set tty properties pmuldoon at redhat dot com
2007-01-26 19:42 ` [Bug general/3928] " cmoller at redhat dot com
2007-02-19 21:38 ` cagney at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).