[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37401] Multi-line command recall is weird in
From: |
Arun Giridhar |
Subject: |
[Octave-bug-tracker] [bug #37401] Multi-line command recall is weird in GUI editor; non-GUI is OK. |
Date: |
Wed, 19 Sep 2012 21:12:37 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0.1 |
URL:
<http://savannah.gnu.org/bugs/?37401>
Summary: Multi-line command recall is weird in GUI editor;
non-GUI is OK.
Project: GNU Octave
Submitted by: arungiridhar
Submitted on: Wed 19 Sep 2012 05:12:37 PM EDT
Category: GUI
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Inaccurate Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
Data: Ubuntu 12.04 32bit, running on Intel Core i5.
Steps to reproduce:
1. Start "octave --no-gui" and type a long multi-line command such as this
one:
clear all; clc; tic; n = 8; arr = textread("/usr/share/dict/words", "%s");
toc, arr = char(arr); whos, toc, arr = arr(arr(:,n)~=' ' & arr(:,n+1)=='
',1:n); whos, toc
You should get some output about the number of words and 8-letter words.
2. Now type "cl" at the prompt and press up arrow. It should recall the long
command just typed, and it will be formatted as before. Hitting return will
execute it normally.
3. Quit Octave and restart it with the GUI. Type "cl" and press up arrow. I
see very weird formatting on screen, where the cursor has gone to the previous
line and only the tail end of the command is visible. Hitting return executes
the command properly however.
This is reproducible for me with any long multi-line command, so if you have
something in your Octave history please try it out.
For further information, searching the history with Ctrl-R works in the
non-GUI mode but not in GUI; I suppose that the GNU readline library was
consciously suppressed in the GUI?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37401>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #37401] Multi-line command recall is weird in GUI editor; non-GUI is OK.,
Arun Giridhar <=