-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null Pointer Exception with infocmp
warning
#550
Comments
previously in this area: #533 |
Ah, the |
Thanks @gnodet, after renaming rxvt files:
Removing If we change the line
with
then we do not need to edit caps file. |
It looks like a good solution to me. |
I see little of interest (either positive or negative) at https://github.com/jline/jline3/blob/master/changelog.md so it's probably safe. and 2.13.3 seems stable, so now's a good time for an optional upgrade. there is an rxvt fix, jline/jline3#550, which is a nice-to-have.
The terminal I use is
rxvt-unicode-256color
and starting the Scala interpreter in it immediately gives a null pointer exception, see https://pastebin.com/WMbSRTgk. The readline I get then fails to interpret control keys such asHome
,End
,Delete
andBackspace
, giving back control sequences like[~7
and so.However, running
infocmp -C rxvt-unicode-256color
works just fine in my terminal. I asked on a Scala chatroom about this and have been told that this may be a JLine bug, so I’m reporting this here in case he’s right.So far, exporting another terminal, as in
export TERM=xterm-256color
will mitigate the problem: The null pointer exception disappears and the readline I get only fails withHome
andEnd
, other control keys work fine.The text was updated successfully, but these errors were encountered: