Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 1996 11:09:41 +0400 (MSD)
From:      laskavy@rudy.aha.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/1480: terminal "cons25" resize problem
Message-ID:  <199608090709.LAA02838@cray.aha.ru>
Resent-Message-ID: <199608090710.AAA18200@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         1480
>Category:       kern
>Synopsis:       terminal "cons25" resize problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug  9 00:10:01 PDT 1996
>Last-Modified:
>Originator:     Sergei S. Laskavy
>Organization:
Zenon N.S.P
>Release:        FreeBSD 2.1-STABLE i386
>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:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608090709.LAA02838>