bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] Collected string is echoed after CR


From: Chet Ramey
Subject: Re: [Bug-readline] Collected string is echoed after CR
Date: Fri, 07 Oct 2011 10:06:19 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

On 10/7/11 9:37 AM, BERTRAND Joël wrote:
>     Hello,
> 
>     I'm trying to compile an application that uses readline. This
> application comes from Unix world and my target is eComStation 2.x (OS/2).
> 
>     I have successfully built readline 6.2 without any special options.
> You'll find config.h in attachement.
> 
>     Readline works fine with only one exception : it rewrites input string
> on a new line :
> 
> [U:\usr\rpl\bin]rpl -i
> +++RPL/2 (R) version 4.1.4 (Wednesday 10/05/11, 20:33:22 CES)
> +++Copyright (C) 1989 to 2010, 2011 BERTRAND Joel
> +++Warning : Operating system does not support alternate stack
> 
> +++This is a free software with absolutely no warranty.
> +++For details, type 'warranty'.
> 
> RPL/2> "aizueyiuy"
> "aizueyiuy"      <------ on Unix system, this line is not printed. I have
> checked, it is written by readline() call.
> 
>     Any idea ?

Do you have the ability to use a debugger to step through the program
enough to find out which readline function causes the output?

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]