From owner-freebsd-bugs Mon Feb 5 1: 0:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C460A37B6A7 for ; Mon, 5 Feb 2001 01:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f15901G59889; Mon, 5 Feb 2001 01:00:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0044A37B6A7 for ; Mon, 5 Feb 2001 00:54:17 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f158sGp59301; Mon, 5 Feb 2001 00:54:16 -0800 (PST) (envelope-from nobody) Message-Id: <200102050854.f158sGp59301@freefall.freebsd.org> Date: Mon, 5 Feb 2001 00:54:16 -0800 (PST) From: Jens.Schweikhardt@marconi.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: conf/24865: WITH FIX: /etc/rc.isdn overwrites $isdn_ttype even when explicitly set in rc.conf Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24865 >Category: conf >Synopsis: WITH FIX: /etc/rc.isdn overwrites $isdn_ttype even when explicitly set in rc.conf >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 05 01:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Jens Schweikhardt >Release: 4.1-R >Organization: Marconi >Environment: >Description: /etc/rc.isdn says: ... # Terminal type for fullscreen mode, default to syscons driver # isdn_ttype=cons25 This overwrites any assignment in rc.conf or rc.conf.local. The result is that your isdnd always thinks it's running on a cons25, no matter what the actual terminal type is (e.g. I use cons30l1. The mismatch in terminal type leads to curses messing up corners drawn by box()). >How-To-Repeat: in /etc/rc.conf say isdn_ttype=cons30l1 isdn_fsdev=/dev/ttyv4 run /etc/rc.isdn ps axlww|grep isdnd -> isdnd ... -t cons25 >Fix: Fix the assignment in /etc/rc.isdn to read isdn_ttype=${isdn_ttype:=cons25} A similar solution should be used for 'isdn_ttype=pcvt25' a few lines below. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message