[Gs-devel] VMS and Mac stdin updates needed
Jacob =JoukJansen
joukj at hrem.stm.tudelft.nl
Sun Sep 23 23:02:48 PDT 2001
From: SMTP%"gsview at ghostgum.com.au" 22-SEP-2001 23:25:45.68
To: gs-devel at ghostscript.com
CC:
Subj: [Gs-devel] VMS and Mac stdin updates needed
In GS 7.02, Raph wrote:
> * Big improvements in stdio, including a new -sstdout= redirect
> switch. In addition, reading from stdin uses nonblocking I/O, so
> the ugly -_ workaround is no longer necessary.
I do not have access to VMS or Mac computers, so the current code for
VMS and Mac are now using single byte blocking read of stdin. If you
use "gs - < file.ps" it will be very slow.
Could you a VMS and Mac developer please look at the code and
provide the updates to read stdin with non-blocking I/O?
If you can use fcntl() and select() non-blocking I/O, then simply
replace gp_stdin.c (blocking) with gp_stdia.c (non-blocking)
in the platform makefile.
Otherwise you may need to provide some code like gp_read_stdin in
dwmainc.c which reads one byte at a time if isatty(), peeks the
number of bytes from a pipe, or blocks when reading a file.
Russell Lang gsview at ghostgum.com.au
Ghostgum Software Pty Ltd http://www.ghostgum.com.au/
_______________________________________________
Gs-devel mailing list
Gs-devel at ghostscript.com
http://www.ghostscript.com/mailman/listinfo/gs-devel
================== RFC 822 Headers ==================
Return-Path: gs-devel-admin at ghostscript.com
Received: from adsl-63-196-208-218.dsl.snfc21.pacbell.net (63.196.208.218)
by dutsm1205.stm.tudelft.nl (V5.1-15F, OpenVMS V7.3 Alpha);
Sat, 22 Sep 2001 23:25:38 +0200 (MET DST)
Received: from adsl-63-196-208-219.dsl.snfc21.pacbell.net (localhost [127.0.0.1])
by localhost (8.12.0.Beta19/8.12.0.Beta19/Debian 8.12.0.Beta19) with ESMTP id f8MLLaIJ009178;
Sat, 22 Sep 2001 14:21:36 -0700
Received: from mailin9.bigpond.com (juicer34.bigpond.com [139.134.6.86])
by adsl-63-196-208-219.dsl.snfc21.pacbell.net (8.12.0.Beta19/8.12.0.Beta19/Debian 8.12.0.Beta19) with ESMTP id f8MLFsIJ009111;
Sat, 22 Sep 2001 14:15:56 -0700
Received: from tbird ([144.135.24.81]) by mailin9.bigpond.com
(Netscape Messaging Server 4.15) with SMTP id GK325F00.J2X; Sun,
23 Sep 2001 07:24:51 +1000
Received: from CPE-144-132-15-89.vic.bigpond.net.au ([144.132.15.89]) by bwmam05.mailsvc.email.bigpond.com(MailRouter V2.9j 8335/2007406); 23 Sep 2001 07:24:51
From: "Russell Lang" <gsview at ghostgum.com.au>
To: gs-devel at ghostscript.com
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Reply-to: gsview at ghostgum.com.au
CC: mac-gs at ghostscript.com
Message-ID: <3BAD8CC4.23254.A521257 at localhost>
Priority: normal
X-mailer: Pegasus Mail for Win32 (v3.12c)
Subject: [Gs-devel] VMS and Mac stdin updates needed
Sender: gs-devel-admin at ghostscript.com
Errors-To: gs-devel-admin at ghostscript.com
X-BeenThere: gs-devel at ghostscript.com
X-Mailman-Version: 2.0.6
Precedence: bulk
List-Help: <mailto:gs-devel-request at ghostscript.com?subject=help>
List-Post: <mailto:gs-devel at ghostscript.com>
List-Subscribe: <http://www.ghostscript.com/mailman/listinfo/gs-devel>,
<mailto:gs-devel-request at ghostscript.com?subject=subscribe>
List-Id: Ghostscript development <gs-devel.ghostscript.com>
List-Unsubscribe: <http://www.ghostscript.com/mailman/listinfo/gs-devel>,
<mailto:gs-devel-request at ghostscript.com?subject=unsubscribe>
List-Archive: <http://www.ghostscript.com/pipermail/gs-devel/>
Date: Sun, 23 Sep 2001 07:18:28 +1000
Bush : All votes are equal but some votes are more equal than others.
>------------------------------------------------------------------------------<
Jouk Jansen
joukj at hrem.stm.tudelft.nl
Technische Universiteit Delft tttttttttt uu uu ddddddd
Nationaal centrum voor HREM tttttttttt uu uu dd dd
Rotterdamseweg 137 tt uu uu dd dd
2628 AL Delft tt uu uu dd dd
Nederland tt uu uu dd dd
tel. 31-15-2782272 tt uuuuuuu ddddddd
>------------------------------------------------------------------------------<
More information about the gs-devel
mailing list