AshokEmrys / conque

code.google.com/p/conque
0 stars 0 forks source link

Incomplete output when non ascii letters are present #64

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In rare circumstances the output produced by an application running on the 
Conque Term is not completely shown. This only happens when the output contains 
non ascii letters and sometimes we can get the correct output by repeating 
interactively the command ["summary(plvs)" in the example below].

What steps will reproduce the problem?
1. Install R (Debian package: r-base).
2. Install the Vim-R-plugin (Vim script #2628).
3. Edit the attached file (conque_bug.R) in Vim.
4. Start R (\rf) and send the lines one by one to Conque Shell (\d).

What is the expected output?
> x <- c("Ação", "ßaαπ", "dltijlßlåqoどэs")
> plvs <- factor(sample(x, 1000, replace = TRUE))
> summary(plvs)
          Ação dltijlßlåqoどэs           ßaαπ 
           363            323            314 

What do you see instead?
> x <- c("Ação", "ßaαπ", "dltijlßlåqoどэs")
> plvs <- factor(sample(x, 1000, replace = TRUE))
> summary(plvs)
          Ação

What version of the product are you using? On what operating system?
Conque Shell 2.10
VIM - Vi IMproved 7.3.293 (2010 Aug 15, compiled Sep  4 2011 22:47:40)
Ubuntu Linux x86_64 11.04

-- 
Jakson Aquino

Original issue reported on code.google.com by JAlve...@gmail.com on 6 Sep 2011 at 1:14

Attachments:

GoogleCodeExporter commented 8 years ago
The Vim-R-plugin was adding ^U^K at beginning of each line. These control 
characters make R to delete any text to the left and to the right of the 
cursor. I removed these special characters and the situation improved. Now, 
only rarely the output is incomplete.

Original comment by JAlve...@gmail.com on 20 Oct 2011 at 9:25