Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Not just hardware access, most communication between programs also goes through the kernel; that which doesn't typically at least involved the kernel is setting up a more direct channel. However, for purposes of the question, it is also possible and practiced in far simpler cases to condense all the code into a single program. Commented Jul 27, 2018 at 23:58
  • Indeed, your terminal program doesn't even have to be running on the same machine as the program that's writing stuff to it.
    – jamesqf
    Commented Jul 28, 2018 at 5:26
  • Since it may need to be explicitly stated in this question - do note that when we talk about programs "talking to" each other, it's metaphorical. Commented Aug 1, 2018 at 4:20