Skip to content

Updated jruby-readline alters terminal settings, breaking interactive prompts #5387

@headius

Description

@headius

Something that jirb boots on a Linux or OS X system appears to be altering the tty settings.

[] ~/projects/jruby $ stty
speed 9600 baud;
lflags: echoe echoke echoctl pendin
iflags: iutf8
oflags: -oxtabs
cflags: cs8 -parenb

[] ~/projects/jruby $ jirb
irb(main):001:0> exit

[] ~/projects/jruby $ stty
speed 9600 baud;
lflags: -icanon echoe echoke echoctl
iflags: -icrnl -ixon iutf8
oflags: -oxtabs
cflags: cs8 -parenb
dsusp   lnext   
<undef> <undef>

Note that after running jirb, several tty settings change including -icrnl, which breaks most interactive prompts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions