JRuby (please use github issues at http://bugs.jruby.org)
  1. JRuby (please use github issues at http://bugs.jruby.org)
  2. JRUBY-6567

characters to the console aren't echoed after a background then foreground of jruby irb session

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: JRuby 1.7.0.pre1
    • Component/s: None
    • Labels:
      None
    • Environment:
      jruby 1.6.7 (ruby-1.8.7-p357) (2012-02-22 3e82bc8) (OpenJDK Client VM 1.6.0_23) [linux-i386-java]
    • Testcase included:
      yes
    • Number of attachments :
      0

      Description

      Possibly fixed by now, but if I do this:

      $ jruby -S irb
      >> a = 3
      => 3
      <now hit ctrl+z>

      1. hack in bash
        $ fg # in bash

      then type in anything, it no longer appears in the console. Hitting enter shows that it is entered, just not echoed to the screen for some reason.
      Cheers!
      roger

        Activity

        Hide
        Charles Oliver Nutter added a comment -

        This has been a problem with jline over the years; suspending a terminal and restarting it does not restart the readline session properly.

        We should probably look at moving to jline2, which has many more updates.

        Show
        Charles Oliver Nutter added a comment - This has been a problem with jline over the years; suspending a terminal and restarting it does not restart the readline session properly. We should probably look at moving to jline2, which has many more updates.
        Hide
        Charles Oliver Nutter added a comment -

        I updated JRuby master to jline2, and it doesn't seem to have this problem. There's some odd echoing artifacts on resume of the process, but otherwise it works fine.

        commit a00e2780893646b88dad049f2bb44f09a2119d2c
        Author: Charles Oliver Nutter <headius@headius.com>
        Date:   Wed Apr 4 15:45:13 2012 -0500
        
            Update to jline2.
        
        commit 8646cbc31cb24c6a1035e69478a8f86e0aced142
        Author: Charles Oliver Nutter <headius@headius.com>
        Date:   Wed Apr 4 16:31:32 2012 -0500
        
            Add readline, remove some unnecessary excludes from spec runs.
        
        Show
        Charles Oliver Nutter added a comment - I updated JRuby master to jline2, and it doesn't seem to have this problem. There's some odd echoing artifacts on resume of the process, but otherwise it works fine. commit a00e2780893646b88dad049f2bb44f09a2119d2c Author: Charles Oliver Nutter <headius@headius.com> Date: Wed Apr 4 15:45:13 2012 -0500 Update to jline2. commit 8646cbc31cb24c6a1035e69478a8f86e0aced142 Author: Charles Oliver Nutter <headius@headius.com> Date: Wed Apr 4 16:31:32 2012 -0500 Add readline, remove some unnecessary excludes from spec runs.

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Roger Pack
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: