Displayed cursor and text does not match the input sent to the interpreter

Bug #1254723 reported by Eero Aaltonen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jython (Ubuntu)
New
Undecided
Unassigned

Bug Description

Using left arrow and backspace results in problems in java ipython terminal.
The cursor position and the displayed text become different from what the interpreter actually processes

Interpreter started with
$ jython -Dpython.console=org.python.core.JLineConsole ipython.py

Test case A:
1. Input the string
print("hello world")

2. press up-arrow, left-arrow
The displayed position of the cursor does not change

3. Press ! and Enter

In [3]: print("hello world")!)
------------------------------------------------------------
   File "<ipython console>", line 1
     print("hello world"!)
                        ^
SyntaxError: mismatched character ')' expecting '='

Test case B:
1. Press p
2. Press backspace

p is still displayed, cursor does not move.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: libjline-java 1.0-2
ProcVersionSignature: Ubuntu 3.8.0-31.46-generic 3.8.13.8
Uname: Linux 3.8.0-31-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Mon Nov 25 15:27:52 2013
Dependencies:

InstallationDate: Installed on 2013-09-10 (76 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: jline
UpgradeStatus: Upgraded to saucy on 2013-10-23 (32 days ago)

Revision history for this message
Eero Aaltonen (ejn) wrote :
Revision history for this message
Eero Aaltonen (ejn) wrote :

Affects bug #1244247

Revision history for this message
Eero Aaltonen (ejn) wrote :
Eero Aaltonen (ejn)
summary: - Displayed cursor and text does not match what the input to the
+ Displayed cursor and text does not match the input sent to the
interpreter
Revision history for this message
Eero Aaltonen (ejn) wrote :

Changing package to jython because this affects all jython console choices.

affects: jline (Ubuntu) → jython (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.