Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-22

Add support for signals (especially window-change)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.1.0, 0.3.0
    • None

    Description

      It would be nice to be able to access window-change events. To my knowledge, window-change will cause 1) the COLUMNS and LINES environment variables to be updated/set and 2) a SIGWINCH will be sent to the shell.

      I've played with a implementation using a Environment interface, which replaces the Map<String,String> in Shell.start. This interface provides access to the original environment map and adds the ability to register SignalListeners which will be called for all signals or a selected signal. The patch will be attached in a moment.

      Attachments

        1. 20090507-sshd-core.patch
          10 kB
          Francois Fernandes
        2. 20090821-sshd-core.patch
          10 kB
          Francois Fernandes

        Activity

          People

            gnodet Guillaume Nodet
            crashedworld Francois Fernandes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: