|
From: | Antonio Diaz Diaz |
Subject: | Re: [Bug-ed] ed EOF behavior |
Date: | Sat, 05 Jan 2013 21:23:18 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Hello, Andrea Monaco wrote:
Right now I'm working on readline support in ed, though one thing is not clear to me: the get_tty_line function breaks the current line when given two eofs in sequence, while ignoring single occurrences. Is there a particular reason for this behavior?
I don't know. It may be some workaround for some type of input.I have no objection to making get_tty_line return at the first EOF if it does not break anything.
Regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |