Re: How to determine the size of an output buffer



On Apr 12, 10:31 pm, "Bill Pursell" <bill.purs...@xxxxxxxxx> wrote:
On Apr 13, 2:43 am, "Chad" <cdal...@xxxxxxxxx> wrote:

Okay, let's say I have an exotic os that limits how much goes to
stdout.

Be clear about what you're asking. Is this hypothetical
limit the result of a limit imposed on the tty to which
your particular program's stdout is attached? Remember,
stdout is *not* your screen and stdin is *not* your
keyboard. Often, shells will invoke a program so
that stdout is associated with the screen and
stdin is associated with the keyboard, but it
is a horrible thing to ruin your mind by conflating
them.

In other words: on this hypothetical platform, do
you expect the same behavior when you redirect your
output to different file types?


In this case I'm not allow to redirect the standard output. Here is
what happens when I try..
% ./out > testfile
standard output may not be redirected

I get the same message when I try to pipe.

.



Relevant Pages

  • Re: last character of the last line is a newline?
    ... Would it be possible to redirect only to a file. ... output to standard output. ... # to stdout and to your_file ... Substitute your_program by the compound command of your original posting: ...
    (comp.unix.shell)
  • Re: Backgrounding a stream, and sendmail?
    ... >> just redirect the output to a file instead of sendmail.) ... > shell command like ... when prog_b has it's stdout redirected nothing ... > is done instead of printing to stdout you could start sendmail from within ...
    (comp.os.linux.development.apps)
  • stdout redirection
    ... I am trying to redirect stdout to a RichEdit control, ... text from the StringBuilder is being copied. ... DLLs are using printf*.* to write to the stdout, ...
    (microsoft.public.dotnet.languages.csharp)
  • stdout redirection
    ... I am trying to redirect stdout to a RichEdit control, ... text from the StringBuilder is being copied. ... DLLs are using printf*.* to write to the stdout, ...
    (microsoft.public.dotnet.languages.vc)
  • Redirecting STDOUT under ActivePerl on Windows XP
    ... I want to redirect STDOUT to a file, and have the redirection apply to ... any programs that I invoke. ... print "outer calling middle\n"; ...
    (comp.lang.perl.misc)