A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-January/059557.html below:

[Python-Dev] test_curses

[Python-Dev] test_curses [Python-Dev] test_cursesMichael Hudson mwh at python.net
Mon Jan 9 10:19:46 CET 2006
Georg Brandl <g.brandl-nospam at gmx.net> writes:

> The call to curses.setupterm() leaves my terminal in a bad state.

Hmm.

> The reset program outputs:
> Erase set to delete.
> Kill set to control-U (^U).
> Interrupt set to control-C (^C).

It always says that :) (unless you've messed with stty, I guess)

> Doesn't the setupterm() have to be paired with something like shutdownterm()?

Not as far as my memory of curses goes.  From the man page:

       The setupterm routine reads in the terminfo database,
       initializing the terminfo structures, but does not set up the
       output virtualization structures used by curses.

What platform are you on?

Cheers,
mwh

-- 
  #ifndef P_tmpdir
  printf( "Go buy a better computer" );
  exit( ETHESKYISFALLINGANDIWANTMYMAMA );
                         -- Dimitri Maziuk on writing secure code, asr
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4