delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2010/03/06/21:15:53

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: RayeR <glaux AT centrum DOT cz>
Newsgroups: comp.os.msdos.djgpp
Subject: djgpp/libreadline bug? (cannot use backspace)
Date: Sat, 6 Mar 2010 17:54:24 -0800 (PST)
Organization: http://groups.google.com
Lines: 14
Message-ID: <013d25d6-f34d-4686-9c68-0de775d5bf59@t20g2000yqe.googlegroups.com>
NNTP-Posting-Host: 213.220.252.124
Mime-Version: 1.0
X-Trace: posting.google.com 1267926864 25327 127.0.0.1 (7 Mar 2010 01:54:24 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Sun, 7 Mar 2010 01:54:24 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: t20g2000yqe.googlegroups.com; posting-host=213.220.252.124;
posting-account=Q0wMHAoAAADjYrghh94FTf6YnbpTqZgp
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23)
Gecko/20090825 SeaMonkey/1.1.18,gzip(gfe),gzip(gfe)
Bytes: 1810
X-Original-Bytes: 1767
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello,
I'd like to use readline features in my program but it seems to not
work as expected.
I use djgpp 2.04, readline 5.1 and pdcurses 3.4 for djgpp 2.04
Fisrt I tried to compile a small example:
gcc -Wall -O2 -o RLTEST.EXE RLTEST.C -lreadline -lpdcurses
It compiled OK but when I run it I cannot use backspace to edit my
input instead cursor jumps forward. Also key up/down works other than
I expected, instead listing history and replace current line it
appends.
I tried under pure DOS and windows - same.
When I compiled it under mingw32 with some older version of readline
(file dated 2002) it works fine under windows.
Is there some newer working port of readline for DJGPP?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019