Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 2001 00:54:16 -0800 (PST)
From:      Jens.Schweikhardt@marconi.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/24865: WITH FIX: /etc/rc.isdn overwrites $isdn_ttype even when explicitly set in rc.conf
Message-ID:  <200102050854.f158sGp59301@freefall.freebsd.org>

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

>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




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