[erlang-questions] open_port and raw mode (zlogin)

Heinz Nikolaus Gies heinz@REDACTED
Sat Jan 26 15:34:49 CET 2013


> 
> Sadly I'm in a rather constrained environment and don't have the luxury of expect but yea use_pty would be very nice :) - After Patriks suggestion I started experimenting with run_erl as wrapper which generates named pipes for input and output but accessing them didn't work very well for me :/
> 
> On Jan 26, 2013, at 11:53, ok@REDACTED wrote:
> 
>>> Hi everyone,
>>> I am trying to get Erlang to talk to (solarises) zlogin.
>> 
>> Which wants its standard streams to be connected to a tty
>> or pty.  Sadly, while open_port/2 has a 'use_stdio' option,
>> it doesn't have a 'use_pty' option.  Is there any reason
>> that it couldn't?
>> 
>> I wonder if having Erlang run an expect(1) script that
>> then runs zlogin might do the trick?
>> 
>> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130126/fdd76503/attachment.bin>


More information about the erlang-questions mailing list