STDOUT? STDERR?

Atom 'Smasher' atom at suspicious.org
Tue Aug 10 04:17:09 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Mon, 9 Aug 2004, Christian Biere wrote:
> Atom 'Smasher' wrote:

>> but it sends quite a bit of information to the terminal...?
>
> Yes, to the TTY - if the shell is attached to one. See --batch and
> --no-tty to suppress this.
>
>> how is that done?
>
> By using /dev/tty.
==================

i suspected that....


>> why is it done that way?
>
> Because /dev/stdin is already used as the input. The decision shouldn't
> be up to the input data.
=====================

so, how do i capture and/or redirect data being sent directly to /dev/tty?

there are several --*-fd options for dealing with i/o, but none of them 
seem to have any effect over data sent directly to tty.


 	...atom

  _________________________________________
  PGP key - http://atom.smasher.org/pgp.txt
  762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
  -------------------------------------------------

 	To become vegetarian is to step into the stream
 	which leads to nirvana.
 		-- Buddha
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.6 (FreeBSD)
Comment: What is this gibberish?
Comment: http://atom.smasher.org/links/#digital_signatures

iQEcBAEBCAAGBQJBGDAqAAoJEAx/d+cTpVci+bwIAL8qTp+xmssfo04hXRwIokGi
JyoyIAZLumpdls8A96GfGE4CYTEvuU6ijphk0AWJKk+VdtXPAUWeFWglMzLwQKgX
uH7Tp9EbJrkUkI51qjHptHdigjNjgHaCc6Z9z71Zv/3KJNS06oJpu9cxIGTk20lz
FvFS1FCHGEH71cVjX/pUoLNsyzDbikRdSM9nOkDfstdFQc7qM9XIK3adjFhDJJ6p
ZskMYbVMcR1O9bOwiqwLusKkhieVR2zQgW+tYMMyyAG0JUq4uPWg+YhJwVeJqrJz
aBpEfNmTHNSzjNjE1Z0Jq3Gh8D0Z9CYWm6snEYY09b3OOttYuRcef21vmtxoLHI=
=LiBa
-----END PGP SIGNATURE-----



More information about the Gnupg-devel mailing list