VSI submission: redirect terminal input through socket
authorRichard Levitte <levitte@openssl.org>
Wed, 3 Aug 2016 19:16:43 +0000 (21:16 +0200)
committerRichard Levitte <richard@levitte.org>
Thu, 15 Sep 2016 21:28:23 +0000 (23:28 +0200)
commitae6e317e322451c7ecc4aacc75f9fb43fd73f764
treeefc08105e2d88ca7f4b6cc5dd95ae1aa623adfa0
parent03a8bf079c1b727d79230f0ffd2d0ff343c1fc9d
VSI submission: redirect terminal input through socket

This is needed, because on VMS, select() can only be used on sockets.  being
able to use select() on all kinds of file descriptors is unique to Unix.

So, the solution for VMS is to create a layer that translates input from
standard input to socket communication.

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 0d3b65832c6fa94c1d1cfa2f99335f323e3227c1)
apps/s_client.c
apps/s_server.c
apps/vms_term_sock.c [new file with mode: 0644]
apps/vms_term_sock.h [new file with mode: 0644]