man(1) Manual page archive


     TERM(4)                                                   TERM(4)

     Name
          term - Terminal boxes.

     Synopsis
          /b/term

     Description
          The box /b/term is used to contain boxes that represent text
          I/O boxes, also termed terminals. On hosted implementations,
          they represent terminal deviceswhatever that may be for the
          host environment.

          Other implementations may correspond to short text messages
          in GSM, keyboards attached to the network, and other text
          I/O devices.

          The box owner may create new boxes into /b/term on hosted
          environments to allocate new terminal devices.

          The implementation for computer terminals collects charac-
          ters from the device until a newline is typed. A copy from
          such box would return a line at a time. Some characters are
          special: The backspace character erases previous characters,
          the delete key raises an interrupt error to the process
          copying from the terminal, and the control-D key causes an
          end of file (zero bytes copied).

     Announces
          /b/term as /term

     Source
          /src/b/*/termbox.c

     Bugs
          Lines and interrupts should be collected by using inner
          boxes.

          The delete key can be stored and interrupt a later copier on
          certain scenarios.  The fix would require the use of a ker-
          nel process to collect terminal characters asynchronously.