Do the input queue and output queue belong to the terminal device, its driver, or line discipline?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












In APUE, where should the input queue and output queue (shown in the first figure) appear in the second figure? For example,



  • in "actual device"

  • in "terminal device driver"

  • in "terminal line discipline"

  • somewhere between two of the above three?

Thanks.




We can think of a terminal device as being controlled by a terminal
driver, usually within the kernel. Each terminal device has an
input queue and an output queue, shown in Figure 18.1.



enter image description here



Most UNIX systems implement all the canonical processing in a module
called the terminal line discipline. We can think of this module
as a box that sits between the kernel’s generic read and write
functions and the actual device driver (see Figure 18.2).



enter image description here











share|improve this question

























    up vote
    0
    down vote

    favorite












    In APUE, where should the input queue and output queue (shown in the first figure) appear in the second figure? For example,



    • in "actual device"

    • in "terminal device driver"

    • in "terminal line discipline"

    • somewhere between two of the above three?

    Thanks.




    We can think of a terminal device as being controlled by a terminal
    driver, usually within the kernel. Each terminal device has an
    input queue and an output queue, shown in Figure 18.1.



    enter image description here



    Most UNIX systems implement all the canonical processing in a module
    called the terminal line discipline. We can think of this module
    as a box that sits between the kernel’s generic read and write
    functions and the actual device driver (see Figure 18.2).



    enter image description here











    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      In APUE, where should the input queue and output queue (shown in the first figure) appear in the second figure? For example,



      • in "actual device"

      • in "terminal device driver"

      • in "terminal line discipline"

      • somewhere between two of the above three?

      Thanks.




      We can think of a terminal device as being controlled by a terminal
      driver, usually within the kernel. Each terminal device has an
      input queue and an output queue, shown in Figure 18.1.



      enter image description here



      Most UNIX systems implement all the canonical processing in a module
      called the terminal line discipline. We can think of this module
      as a box that sits between the kernel’s generic read and write
      functions and the actual device driver (see Figure 18.2).



      enter image description here











      share|improve this question













      In APUE, where should the input queue and output queue (shown in the first figure) appear in the second figure? For example,



      • in "actual device"

      • in "terminal device driver"

      • in "terminal line discipline"

      • somewhere between two of the above three?

      Thanks.




      We can think of a terminal device as being controlled by a terminal
      driver, usually within the kernel. Each terminal device has an
      input queue and an output queue, shown in Figure 18.1.



      enter image description here



      Most UNIX systems implement all the canonical processing in a module
      called the terminal line discipline. We can think of this module
      as a box that sits between the kernel’s generic read and write
      functions and the actual device driver (see Figure 18.2).



      enter image description here








      terminal linux-kernel drivers tty devices






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 25 at 4:23









      Tim

      23.8k67232417




      23.8k67232417

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f471228%2fdo-the-input-queue-and-output-queue-belong-to-the-terminal-device-its-driver-o%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f471228%2fdo-the-input-queue-and-output-queue-belong-to-the-terminal-device-its-driver-o%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          The Forum (Inglewood, California)

          Palaiologos