ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: naruse@airemix.jp
To: ruby-core@ruby-lang.org
Subject: [ruby-core:91699] [Ruby trunk Bug#15607] RuntimeError (can't get Master/Slave device) using PTY.open
Date: Wed, 06 Mar 2019 09:50:36 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-76965.20190306095036.438dce1c139589a5@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-15607.20190215120715@ruby-lang.org

Issue #15607 has been updated by naruse (Yui NARUSE).

Backport changed from 2.4: REQUIRED, 2.5: REQUIRED, 2.6: REQUIRED to 2.4: REQUIRED, 2.5: REQUIRED, 2.6: DONE

ruby_2_6 r67184 merged revision(s) 67183.

----------------------------------------
Bug #15607: RuntimeError (can't get Master/Slave device) using PTY.open
https://bugs.ruby-lang.org/issues/15607#change-76965

* Author: milo974 (Wesley Mouedine Assaby)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-openbsd]
* Backport: 2.4: REQUIRED, 2.5: REQUIRED, 2.6: DONE
----------------------------------------
Hi

I use OpenBSD 6.4 (amd64) with ruby 2.5.3p105

All code that use PTY module doesn't work, i get RuntimeError(can't get Master/Slave device).

In a console IRB :
>> require 'pty'
    ==>true
>> master, slave = PTY.open
Traceback (most recent call last):
        3: from /usr/local/bin/irb:11:in `<main>'
        2: from (irb):2
        1: from (irb):2:in `open'
RuntimeError (can't get Master/Slave device)

I can provide you ssh access to OpenBSD if you need.

Thank you very much.


---Files--------------------------------
0001-Fix-PTY.open-on-OpenBSD.patch (948 Bytes)


-- 
https://bugs.ruby-lang.org/

  parent reply	other threads:[~2019-03-06  9:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-15607.20190215120715@ruby-lang.org>
2019-02-15 12:07 ` [ruby-core:91569] [Ruby trunk Bug#15607] RuntimeError (can't get Master/Slave device) using PTY.open milo974
2019-02-20  1:27 ` [ruby-core:91597] " merch-redmine
2019-03-06  9:50 ` naruse [this message]
2019-03-06 11:32 ` [ruby-core:91702] " nagachika00

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-76965.20190306095036.438dce1c139589a5@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).