0

Is this question on topic on unix.se.com:

what's the application/use of unifying the two API[console API and file API] and providing such a feature[copy file from one terminal to another]?

  • 1
    This seems like the last sentence of a paragraph; without the rest of it I don't really know what you're talking about – Michael Mrozek Oct 13 '13 at 19:56
  • @MichaelMrozek if you check the previous comment to the link provided the context would be clear. of course I would be more elaborate if it is on topic here. – Bleeding Fingers Oct 13 '13 at 20:05
  • Oh, thanks; I didn't notice the link the first time – Michael Mrozek Oct 13 '13 at 20:33
2

I think it's fine, although I would definitely explain the whole context in the question. Something like:

It was explained in this Stack Overflow thread that each logical terminal has a "pseudo-terminal", and that writing to one:

$ cat some-file.txt > /dev/ttys002

will cause the data to appear in that terminal window. What's the reason for providing a file-like API to terminal windows? Is there any use case where this is helpful?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .