Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.unix.programmer > #1207

Re: How to automatically flush stdout when a read from stdin occurs.

From Nobody <nobody@nowhere.com>
Subject Re: How to automatically flush stdout when a read from stdin occurs.
Date 2011-09-03 13:05 +0100
Message-Id <pan.2011.09.03.12.05.24.68000@nowhere.com>
Newsgroups comp.unix.programmer
References <500542b0-0d1d-4f96-9c17-2d77aacfd1b9@k29g2000yqf.googlegroups.com> <87obz3rtut.fsf@sapphire.mobileactivedefense.com> <203bf7d1-cf75-4cd0-a75d-2c88d690a05c@fd21g2000vbb.googlegroups.com>
Organization Zen Internet

Show all headers | View raw


On Sat, 03 Sep 2011 02:10:08 -0700, tm wrote:

> Can ptys be used on all Unix-like operating systems
> the same way?

Creating them varies a bit (BSD vs Unix98 vs SysV/STREAMS), but they work
the same way once they've been created.

> What should be used under Windows instead of ptys?

Pipes. Windows doesn't have anything similar to pseudo-terminals.

Back to comp.unix.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to automatically flush stdout when a read from stdin occurs. tm <thomas.mertes@gmx.at> - 2011-09-02 02:20 -0700
  Re: How to automatically flush stdout when a read from stdin occurs. Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-09-02 13:50 +0100
    Re: How to automatically flush stdout when a read from stdin occurs. tm <thomas.mertes@gmx.at> - 2011-09-03 02:10 -0700
      Re: How to automatically flush stdout when a read from stdin occurs. Nobody <nobody@nowhere.com> - 2011-09-03 13:05 +0100
  Re: How to automatically flush stdout when a read from stdin occurs. Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-09-02 20:43 -0400
  Re: How to automatically flush stdout when a read from stdin occurs. gordonb.j3p91@burditt.org (Gordon Burditt) - 2011-09-02 23:56 -0500
    Re: How to automatically flush stdout when a read from stdin occurs. Nobody <nobody@nowhere.com> - 2011-09-03 09:08 +0100

csiph-web