Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #38711

Re: Python3 curses behavior

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <drsalists@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'newline': 0.07; 'python': 0.09; 'cc:addr:googlegroups.com': 0.09; 'cursor': 0.09; 'historically': 0.09; 'option:': 0.09; 'portable': 0.09; 'subject:Python3': 0.09; 'terry': 0.09; 'cc:addr:python-list': 0.10; 'curses': 0.16; 'reedy': 0.16; 'try/except': 0.16; 'wrote:': 0.17; 'char': 0.17; 'script.': 0.17; 'jan': 0.18; 'feb': 0.19; 'causing': 0.20; 'email addr:gmail.com&gt;': 0.20; '&gt;': 0.23; 'cc:2**1': 0.24; 'tried': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message- id:@mail.gmail.com': 0.27; 'character': 0.29; 'could': 0.32; 'doubt': 0.33; 'scroll': 0.33; 'received:google.com': 0.34; 'screen': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'cc:no real name:2**1': 0.36; 'test': 0.36; 'thank': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'supports': 0.38; 'some': 0.38; 'header:Received:5': 0.40; 'you.': 0.61; 'lower': 0.61; 'filling': 0.75; '2013': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=oa94atJhuFtRUUfX2Sms4V0VkVWQUtKQq3febKfDCWk=; b=ZaxnkGL9SACLAG9XmA88ySf8wUXsT4DqArLv78+xqLQxzPUMJ8w8t+VQg1sauN8LIz iogidTq0GEYxDo2+CYRf6RgN+6VPld91uNYJ7pvzGa+d8/ChS5AamigkDa1NSDqKW/wd AGk1o0y9q1erbdSRt0/u/fqACfAwOY9icsVBYbOAby6OgSVS+i+yo0Zo+vYh2XHktbyR W/Js0tDHfD1/iBUnvKK8mk1etR6oJLgVzh16hdcXNKNoz4dtuEUrUyLX9p6MbXGVKwvu Fn5MspgnsmqTnm7SULHyn24JoB2Vytl6NlGwfnamuGHMuof8TCX4sWfGaV7coewN/Gzi HP2Q==
MIME-Version 1.0
X-Received by 10.229.201.216 with SMTP id fb24mr1494622qcb.89.1360626825257; Mon, 11 Feb 2013 15:53:45 -0800 (PST)
In-Reply-To <56516403-5a1a-4b3e-9b99-8a687535a09a@googlegroups.com>
References <3adc871c-9a35-42ea-9687-52413d72a918@googlegroups.com> <mailman.1560.1360437812.2939.python-list@python.org> <56516403-5a1a-4b3e-9b99-8a687535a09a@googlegroups.com>
Date Mon, 11 Feb 2013 15:53:45 -0800
Subject Re: Python3 curses behavior
From Dan Stromberg <drsalists@gmail.com>
To Vlasov Vitaly <vnigtha@gmail.com>
Content-Type multipart/alternative; boundary=001636c92dd49764c504d57b9e52
Cc python-list@python.org, comp.lang.python@googlegroups.com
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1673.1360627136.2939.python-list@python.org> (permalink)
Lines 66
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1360627136 news.xs4all.nl 6888 [2001:888:2000:d::a6]:34513
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38711

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Sent from my android phone.
On Feb 10, 2013 2:09 PM, "Vlasov Vitaly" <vnigtha@gmail.com> wrote:
>
> суббота, 9 февраля 2013 г., 23:22:47 UTC+4 пользователь Terry Reedy
написал:
> > On 2/9/2013 6:23 AM, Vlasov Vitaly wrote:
>
> > --
> >
> > Terry Jan Reedy
>
> Thank you.
>
> I tried everything in my test script.
> win.leaveok() - no effect
> curses.cur_vis() - no effect
> win.scrollok() - start newline and place cursor on it
>
> It's only one last option:
> on last line last char try/except with pass.

I doubt this is a Python 2 or Python 3 problem; historically some terminal
types curses supports could not fill the lower right-most character cell
without causing an undesired scroll of the screen by one line.  So portable
curses programs avoid filling that spot with anything.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python3 curses behavior Vlasov Vitaly <vnigtha@gmail.com> - 2013-02-09 03:23 -0800
  Re: Python3 curses behavior Chris Angelico <rosuav@gmail.com> - 2013-02-09 22:28 +1100
    Re: Python3 curses behavior Vlasov Vitaly <vnigtha@gmail.com> - 2013-02-09 04:38 -0800
    Re: Python3 curses behavior Vlasov Vitaly <vnigtha@gmail.com> - 2013-02-09 04:38 -0800
  Re: Python3 curses behavior Terry Reedy <tjreedy@udel.edu> - 2013-02-09 14:22 -0500
    Re: Python3 curses behavior Vlasov Vitaly <vnigtha@gmail.com> - 2013-02-10 14:06 -0800
      Re: Python3 curses behavior Dan Stromberg <drsalists@gmail.com> - 2013-02-11 15:53 -0800
    Re: Python3 curses behavior Vlasov Vitaly <vnigtha@gmail.com> - 2013-02-10 14:06 -0800

csiph-web