Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7194961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:28:54+00:00 2026-05-28T20:28:54+00:00

Does D have built in support for pseudo-terminals via the Phobos runtime libraries ?…I’m

  • 0

Does D have built in support for pseudo-terminals via the Phobos runtime libraries ?…I’m assuming there isn’t since ptys are highly platform specific. Are there other third party alternatives ? Ultimately, I’d like to implement an Expect-like library for D if it doesn’t already exist.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T20:28:55+00:00Added an answer on May 28, 2026 at 8:28 pm

    If by “support for pseudo-terminals via the Phobos runtime” you mean some higher level abstraction on top of the pseudo-terminals supported by the underlying operating-system, then I must say I have never seen such a thing. Like C++, D can directly call C functions, so I believe writing an expect-like application in D should not be difficult if you already did something similar in C or C++.

    On Linux people typically call openpty(3), forkpty(3) or login_tty(3) functions. I do not know about other systems.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does C# have built-in support for parsing strings of page numbers? By page numbers,
Does Java have a built-in Antivirus? One of my friends told me there is
Does netty have built-in support for this somehow? If it doesn't have, where should
Does jQuery have built in JSON support or must I use a plugin like
Background: the current text editor i am using does not have built-in support for
Does Prism have built-in support for having groups of views? If so, how is
Does Java have a built-in way to escape arbitrary text so that it can
Does .Net have any built in constants for common numbers like million, billion etc?
Does Python have a built-in, simple way of encoding/decoding strings using a password? Something
Does Actionscript have a built-in function that accepts a number and can return a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.