Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Re: Terminal left in wrong state when quitting due to game
Home

[Freeciv-Dev] Re: Terminal left in wrong state when quitting due to game

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Terminal left in wrong state when quitting due to gameover (PR#1077)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 26 Nov 2001 19:08:47 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Mon, Nov 26, 2001 at 07:11:56AM -0800, jdorje@xxxxxxxxxxxxxxxxxxxxx wrote:
> Petr Baudis wrote:
> 
> > Hi,
> > 
> >   when the game is over and server exits (at least when it was just an
> > autogame), the terminal is left in noecho state, so one has to type 'stty 
> > sane'
> > everytime. The attached patch restores terminal correctly. There is a 
> > question,
> > how to quit the server. It would be maybe most correct to do it via
> > quit_game(), like in the rest of server code, otherwise we will end up with
> > things like broken terminal. Or add close_connections_and_socket() call
> > minimally, to shutdown readline correctly.
> 
> 
> I do not get this behavior - everything works sanely for me normally.  I 
> wonder why that is?

Probably the same which I suspect for me: no readline support compiled
in.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "I haven't lost my mind - it's backed up on tape somewhere."


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