From laskavy@cray.aha.ru  Fri Aug  9 00:09:29 1996
Received: from cray.aha.ru (cray.aha.ru [194.135.22.34])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA18130
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 9 Aug 1996 00:09:26 -0700 (PDT)
Received: (from laskavy@localhost) by cray.aha.ru (8.7.5/8.7.3) id LAA02838; Fri, 9 Aug 1996 11:09:41 +0400 (MSD)
Message-Id: <199608090709.LAA02838@cray.aha.ru>
Date: Fri, 9 Aug 1996 11:09:41 +0400 (MSD)
From: laskavy@rudy.aha.ru
Reply-To: laskavy@rudy.aha.ru
To: FreeBSD-gnats-submit@freebsd.org
Subject: terminal "cons25" resize problem
X-Send-Pr-Version: 3.2

>Number:         1480
>Category:       kern
>Synopsis:       terminal "cons25" resize problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sos
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug  9 00:10:01 PDT 1996
>Closed-Date:    Sat Feb 22 03:19:09 PST 1997
>Last-Modified:  Sat Feb 22 03:20:43 PST 1997
>Originator:     Sergei S. Laskavy
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
Zenon N.S.P
>Environment:
	uname -a:
FreeBSD cray.aha.ru 2.1.5-RELEASE FreeBSD 2.1.5-RELEASE #0: Thu Aug  8 03:02:41 MSD 1996     laskavy@rudy.aha.ru:/usr/src/sys/compile/CRAY  i386
	autoconf:
Aug  7 19:32:45 cray /kernel: FreeBSD 2.1.5-RELEASE #0: Thu Aug  8 03:02:41 MSD 1996
Aug  7 19:32:45 cray /kernel:     laskavy@rudy.aha.ru:/usr/src/sys/compile/CRAY
Aug  7 19:32:45 cray /kernel: CPU: i486DX (486-class CPU)
Aug  7 19:32:46 cray /kernel: real memory  = 8388608 (8192K bytes)
Aug  7 19:32:46 cray /kernel: avail memory = 6819840 (6660K bytes)
Aug  7 19:32:46 cray /kernel: Probing for devices on the ISA bus:
Aug  7 19:32:46 cray /kernel: sc0 at 0x60-0x6f irq 1 on motherboard
Aug  7 19:32:46 cray /kernel: sc0: VGA color <16 virtual consoles, flags=0x0>
Aug  7 19:32:46 cray /kernel: ed0 at 0x300-0x31f irq 10 on isa
Aug  7 19:32:46 cray /kernel: ed0: address 00:80:48:81:95:e5, type NE2000 (16 bit) 
Aug  7 19:32:46 cray /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
Aug  7 19:32:46 cray /kernel: sio0: type 16550A
Aug  7 19:32:46 cray /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
Aug  7 19:32:47 cray /kernel: sio1: type 16550A
Aug  7 19:32:47 cray /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Aug  7 19:32:47 cray /kernel: fdc0: NEC 765
Aug  7 19:32:47 cray /kernel: fd0: 1.44MB 3.5in
Aug  7 19:32:47 cray /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa
Aug  7 19:32:47 cray /kernel: wdc0: unit 0 (wd0): <Maxtor 7171 AT>
Aug  7 19:32:47 cray /kernel: wd0: 164MB (337740 sectors), 866 cyls, 15 heads, 26 S/T, 512 B/S
Aug  7 19:32:47 cray /kernel: npx0 on motherboard
Aug  7 19:32:47 cray /kernel: npx0: INT 16 interface

>Description:

If you resize the terminal size with vidcontrol and then log out and
log in again, all applications (like vi, vim, emacs, mc) can't determine
right screen size.

>How-To-Repeat:

1) Log into the system from ttyv? after reboot (cons25 default size is 80x25)
2) Run: vidcontrol VGA_80x30
3) Run: vi (to ensure that screen size is 80x30)
3) Log out from the system
4) Log in agian from the same ttyv?
5) Run: vi, vim, emacs, mc or screen (to ensure that they think that
   terminal size is 80x25)

>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: mpp 
Responsible-Changed-When: Fri Feb 21 14:40:45 PST 1997 
Responsible-Changed-Why:  

Ssycons problem?   

Note: mail to the originator bounces. 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Sat Feb 22 03:19:09 PST 1997 
State-Changed-Why:  
Fixed long ago in syscons, there is too many changes in syscons 
between 2.1.x and 2.2 and up, to make this feasible to change. 
>Unformatted:
