RE: Readline (was Re: state of ghc6 on sparc)

2003-06-22 Thread Mike Thomas
Of Malcolm | Wallace | Sent: Friday, June 20, 2003 2:39 AM | To: [EMAIL PROTECTED] | Cc: [EMAIL PROTECTED] | Subject: Readline (was Re: state of ghc6 on sparc) | | | Alastair Reid <[EMAIL PROTECTED]> writes: | | > It would be nice to have those bindings but just having backspace and | >

RE: Readline (was Re: state of ghc6 on sparc)

2003-06-20 Thread Simon Marlow
> Alastair Reid <[EMAIL PROTECTED]> writes: > > > It would be nice to have those bindings but just having > backspace and > > left-right cursors work would already be a huge improvement > over nothing. > > OK, here is my contribution. The attached module SimpleLineEditor > is API-compatible

Re: state of ghc6 on sparc

2003-06-19 Thread John Meacham
'editline' is a (BSD style) free readline clone. it works quite well. of course a haskell clone might be more convienient. a google search will turn up various references to it. John On Thu, Jun 19, 2003 at 11:46:43AM +0100, Alastair Reid wrote: > On Thursday 19 June 2003 11:06 am, Malcolm

Readline (was Re: state of ghc6 on sparc)

2003-06-19 Thread Malcolm Wallace
Alastair Reid <[EMAIL PROTECTED]> writes: > It would be nice to have those bindings but just having backspace and > left-right cursors work would already be a huge improvement over nothing. OK, here is my contribution. The attached module SimpleLineEditor is API-compatible with readline, and is

Re: state of ghc6 on sparc

2003-06-19 Thread Peter Strand
On Wed, Jun 18, 2003 at 06:09:14PM +0200, Josef Svenningsson wrote: > The only thing that I don't like is that the dist isn't compiled with > readline. It makes working in ghci a nightmare (I need to use backspace > often...). A nice workaround for programs not supporting readline is to use a line

Re: state of ghc6 on sparc

2003-06-19 Thread Alastair Reid
On Thursday 19 June 2003 11:06 am, Malcolm Wallace wrote: > As I see it, the main problem is reproducing all the keybindings. > I'm certain that every user of readline has their own habitual set > of emacs keystrokes that differs slightly from everyone elses, so > inevitably the full complement wil

Re: state of ghc6 on sparc

2003-06-19 Thread Malcolm Wallace
"Simon Marlow" <[EMAIL PROTECTED]> writes: > > | Making a working readline isn't that simple - you need to know something > > | about the terminal properties for one, which means being able to use > > | termcap or terminfo. I expect that one can avoid termcap/terminfo by sticking to ANSI terminal

RE: state of ghc6 on sparc

2003-06-19 Thread Simon Marlow
> | > often...). The problem around this is in my opinion to make a > | > Haskell98 > | > compliant trimmed down readline library which doesn't > depend on the c > | > library. It shouldn't be too difficult. I don't expect > that people are > | > using the full power of readline anyway. > | >

RE: state of ghc6 on sparc

2003-06-19 Thread Simon Peyton-Jones
| > often...). The problem around this is in my opinion to make a | > Haskell98 | > compliant trimmed down readline library which doesn't depend on the c | > library. It shouldn't be too difficult. I don't expect that people are | > using the full power of readline anyway. | | Making a working rea

RE: state of ghc6 on sparc

2003-06-18 Thread Simon Marlow
> On Wed, 18 Jun 2003, Isaac Jones wrote: > > Can anyone enlighten me as to the state of the ghc6 sparc > > distribution? The file on Hal's web page mentioned some > time back is > > not the same file as on the GHC web page (I note that the filenames > > are different also). > > > > Are any of

Re: state of ghc6 on sparc

2003-06-18 Thread Josef Svenningsson
On Wed, 18 Jun 2003, Isaac Jones wrote: > Hello :) > > Can anyone enlighten me as to the state of the ghc6 sparc > distribution? The file on Hal's web page mentioned some time back is > not the same file as on the GHC web page (I note that the filenames > are different also). > > Are any of them