From: nagachika00@... Date: 2019-03-06T11:32:07+00:00 Subject: [ruby-core:91702] [Ruby trunk Bug#15607] RuntimeError (can't get Master/Slave device) using PTY.open Issue #15607 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 2.4: REQUIRED, 2.5: REQUIRED, 2.6: DONE to 2.4: REQUIRED, 2.5: DONE, 2.6: DONE ruby_2_5 r67186 merged revision(s) 67183. ---------------------------------------- Bug #15607: RuntimeError (can't get Master/Slave device) using PTY.open https://bugs.ruby-lang.org/issues/15607#change-76969 * 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: DONE, 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 `
' 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/ Unsubscribe: