Bug 160749

Summary: strange konsole behaviour when using sqlplus and rlwrap
Product: [Applications] konsole Reporter: ramif_47
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED REMIND    
Severity: normal    
Priority: NOR    
Version: 1.6.5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description ramif_47 2008-04-12 16:26:32 UTC
Version:           1.6.5 (using 3.5.5, Debian Package 4:3.5.5a.dfsg.1-8etch1 (4.0))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.18-6-486

To see the bug:

[1]  Type "rlwrap sqlplus user_name"
[2]  Enter your password
[3]  Type "host"
[4]  Type "sqlldr load_file.ctl"
[5]  You will then see "control =", press <enter>
[6]  You will be asked to enter a password, instead pres <ctrl> and <D>
[7]  The Konsole will then behave in a strange way, something like this:

SQL*Loader-287: No control file name specified.
SQL:$                             SQL:$
SQL:$ uname -a                    SQL:$ uname -a
Linux matrix 2.6.18-6-486 #1 Sun Feb 10 22:06:33 UTC 2008 i686 GNU/Linux
SQL:$
SQL:$ uname                       SQL:$ uname



A full "screenshot":


~:$ rlwrap sqlplus ramon

SQL*Plus: Release 10.2.0.1.0 - Production on Sat Apr 12 16:26:16 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter password: ********

Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

SQL> host
~:$ cd Databases/SQL/    /** Used tabs here **/
SQL:$ sqlldr load_clients.ctl

control =
Password:
SQL*Loader-287: No control file name specified.
SQL:$
SQL:$
SQL:$                             SQL:$
SQL:$                             SQL:$
SQL:$                             SQL:$
SQL:$                             SQL:$
Comment 1 Robert Knight 2008-04-12 16:48:21 UTC
I cannot reproduce those steps because I do not have access to sqlplus which appears to be an Oracle utility.  If you can reproduce the problem with freely available software or if you can find out what is going on in the terminal then I might be able to help.

> [7]  The Konsole will then behave in a strange way, something like this: 

Strange in what way?  The text "screenshots" included in the report do not really explain the problem.

Does the problem occur with other terminals (eg. xterm, gnome-terminal)?
Comment 2 Robert Knight 2008-04-20 19:52:52 UTC
Closing as 'REMIND' (Need more information)
Comment 3 ramif_47 2008-04-22 14:02:24 UTC
I've tried to perform the same procedure on xterm and it also behaved in a strange way (cursor not working correctly ...etc).  Hence I conclude that this bug related to rlwrap.