[Bug 1254723] [NEW] Displayed cursor and text does not match what the input to the interpreter

Eero Aaltonen 1254723 at bugs.launchpad.net
Mon Nov 25 13:39:45 UTC 2013


Public bug reported:

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)

** Affects: jline (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug saucy

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to jline in Ubuntu.
https://bugs.launchpad.net/bugs/1254723

Title:
  Displayed cursor and text does not match what the input to the
  interpreter

Status in “jline” package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jline/+bug/1254723/+subscriptions



More information about the foundations-bugs mailing list