git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Reset terminal attributes when terminating git send-email

From
Sean <seanlkml@sympatico.ca>
Date
Aug 17, 2007, 22:35 UTC
Message-ID
<20070817183544.f2897cb3.seanlkml@sympatico.ca>
In-Reply-To
<7vr6m1g5y4.fsf@gitster.siamese.dyndns.org>

On Fri, 17 Aug 2007 15:19:15 -0700 Junio C Hamano <gitster@pobox.com> wrote:

> I wonder if this is something Term::ReadLine when not using
> FakeTerm should and does provide...  Is this the standard
> workaround all the applications that use Term::ReadLine need to
> implement themselves?

Unfortunately Term::ReadLine (at least here with perl 5.8.8) does not properly reset the terminal even when used in a test script without FakeTerm. I don't know anything about perl and couldn't turn up any answers to this problem with Google, but maybe there is still a better solution known. It would sure be much nicer if ReadLine just took care of this detail itself.

Sean
Previous: Junio C Hamano
Message 4 of 4 in “Fix small typo in git send-email man page.”
  1. Fix small typo in git send-email man page.Sean Estabrooks, Aug 17, 2007
  2. Reset terminal attributes when terminating git send-emailSean Estabrooks, Aug 17, 2007
  3. Junio C HamanoAug 17, 2007
  4. SeanAug 17, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.