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: 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>': 0.20; '>': 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> <56516403-5a1a-4b3e-9b99-8a687535a09a@googlegroups.com> Date: Mon, 11 Feb 2013 15:53:45 -0800 Subject: Re: Python3 curses behavior From: Dan Stromberg To: Vlasov Vitaly 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 --001636c92dd49764c504d57b9e52 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Sent from my android phone. On Feb 10, 2013 2:09 PM, "Vlasov Vitaly" wrote: > > =D3=D5=C2=C2=CF=D4=C1, 9 =C6=C5=D7=D2=C1=CC=D1 2013 =C7., 23:22:47 UTC+4 = =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D8 Terry Reedy =CE=C1=D0=C9=D3=C1=CC: > > 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. --001636c92dd49764c504d57b9e52 Content-Type: text/html; charset=KOI8-R Content-Transfer-Encoding: quoted-printable

Sent from my android phone.
On Feb 10, 2013 2:09 PM, "Vlasov Vitaly" <vnigtha@gmail.com> wrote:
>
> =D3=D5=C2=C2=CF=D4=C1, 9 =C6=C5=D7=D2=C1=CC=D1 2013=9A=C7., 23:22:47 U= TC+4 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D8 Terry Reedy =CE=C1=D0=C9=D3=C1=CC= :
> > 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 termin= al types curses supports could not fill the lower right-most character cell= without causing an undesired scroll of the screen by one line.=9A So porta= ble curses programs avoid filling that spot with anything.

--001636c92dd49764c504d57b9e52--