www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10464] New: Please add forkpty() to std.process

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10464

           Summary: Please add forkpty() to std.process
           Product: D
           Version: D2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: kevin.lamonte gmail.com


--- Comment #0 from Kevin L <kevin.lamonte gmail.com> 2013-06-24 12:21:48 PDT
---
None of the shell primitives in std.process allocate a TTY, making it sometimes
difficult to automate some applications or to implement a terminal emulator.

Potential API solutions:

1.  Add Redirect.TTY: when set, use forkpty() instead of fork() in the existing
pipeProcess()/pipeShell().
2.  Add pipeTTY().

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 24 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10464


Lars T. Kyllingstad <bugzilla kyllingen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla kyllingen.net


--- Comment #1 from Lars T. Kyllingstad <bugzilla kyllingen.net> 2013-07-28
07:19:42 PDT ---
forkpty() is a BSD function, not a standard POSIX function, so I don't see how
this can be done in a cross-platform manner.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 28 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10464


Lars T. Kyllingstad <bugzilla kyllingen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|nobody puremagic.com        |bugzilla kyllingen.net


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 28 2013