From ache@nagual.pp.ru  Tue Dec 15 11:10:39 2009
Return-Path: <ache@nagual.pp.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A077B106568D
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Dec 2009 11:10:39 +0000 (UTC)
	(envelope-from ache@nagual.pp.ru)
Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69])
	by mx1.freebsd.org (Postfix) with ESMTP id 0685D8FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Dec 2009 11:10:38 +0000 (UTC)
Received: from nagual.pp.ru (ache@localhost [127.0.0.1])
	by nagual.pp.ru (8.14.3/8.14.3) with ESMTP id nBFB6EXx001020
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Dec 2009 14:06:14 +0300 (MSK)
	(envelope-from ache@nagual.pp.ru)
Received: (from ache@localhost)
	by nagual.pp.ru (8.14.3/8.14.3/Submit) id nBFB6E9r001019;
	Tue, 15 Dec 2009 14:06:14 +0300 (MSK)
	(envelope-from ache)
Message-Id: <200912151106.nBFB6E9r001019@nagual.pp.ru>
Date: Tue, 15 Dec 2009 14:06:14 +0300 (MSK)
From: Andrey Chernov <ache@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: vidcontrol -T cons25 doesn't work with 'mode' argument
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         141632
>Category:       kern
>Synopsis:       [libteken] vidcontrol -T cons25 doesn't work with 'mode' argument
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    ed
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 15 11:20:00 UTC 2009
>Closed-Date:    
>Last-Modified:  Fri Dec 18 06:49:10 UTC 2009
>Originator:     Andrey Chernov
>Release:        FreeBSD 9.0-CURRENT i386
>Organization:
>Environment:

FreeBSD-current

>Description:

As I see in the sources, vidcontrol does only printf() for -T, so this is
kernel-related bug in the xterm emulator.

-T cons25 can't coexist with 'mode' argument, i.e.

xterm# vidcontrol -T cons25 80x30

really makes xterm 80x30, not cons25 80x30.

xterm# vidcontrol -T cons25

alone works, but there is only single 'allscreens_flags' variable in the
/etc/rc.conf, so I can't switch to 80x30 at once.

The strange thing is that

cons25# vidcontrol -T xterm 80x30

works as supposed.

>How-To-Repeat:

xterm# vidcontrol -T cons25 80x30
check what really happens.

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->ed 
Responsible-Changed-By: ache 
Responsible-Changed-When: Tue Dec 15 11:27:55 UTC 2009 
Responsible-Changed-Why:  
new terminal emulator 

http://www.freebsd.org/cgi/query-pr.cgi?pr=141632 
>Unformatted:
