| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com> |
| List-Subscribe: | <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin-developers/> |
| List-Post: | <mailto:cygwin-developers AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, |
| <http://sourceware.cygnus.com/ml/#faqs> | |
| Sender: | cygwin-developers-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin-developers AT sourceware DOT cygnus DOT com |
| To: | cygwin-developers AT sourceware DOT cygnus DOT com |
| Subject: | Re: Terminal handling with the 990809 snapshot |
| References: | <19990823230825 DOT A18016 AT cygnus DOT com> |
| Mime-Version: | 1.0 (generated by tm-edit 7.106) |
| From: | Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp> |
| Date: | 27 Aug 1999 10:17:21 +0900 |
| In-Reply-To: | Chris Faylor's message of Mon, 23 Aug 1999 23:08:25 -0400 |
| Message-ID: | <s1s3dx6m38e.fsf@jaist.ac.jp> |
| Lines: | 36 |
| X-Mailer: | Gnus v5.3/Emacs 19.34 |
>>> On Mon, 23 Aug 1999 23:08:25 -0400
>>> Chris Faylor <cgf AT cygnus DOT com> said:
> The easiest way to duplicate this is, while in a shell, scroll up a
> couple of pages using a scroll bar and then hit enter. The cursor will
> not jump back to the bottom of the screen, as it should. Instead,
> you'll get a prompt in the middle of the screen somewhere and future
> scrolling will include stuff you've already seen.
>
> Any ideas for fixing this?
The following small patch can fix this.
ChangeLog:
==========
Tue Aug 24 10:46:24 1999 Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
* fhandler_console.cc (write_normal): Write '\n' corresponding to
DWN if the cursor is out of the window.
--- fhandler_console.cc- Tue Aug 24 10:46:24 1999
+++ fhandler_console.cc Fri Aug 27 09:30:12 1999
@@ -987,7 +987,7 @@ fhandler_console::write_normal (const un
break;
case DWN: /* WriteFile("\n") always adds CR... */
cursor_get (&x, &y);
- if (y == srBottom)
+ if (y >= srBottom)
{
if (y < info.winBottom || scroll_region.Top)
{
____
| AIST Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
| HOKURIKU School of Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |