From owner-freebsd-questions@FreeBSD.ORG Wed Aug 1 15:59:15 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6186516A417 for ; Wed, 1 Aug 2007 15:59:15 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from diri.bris.ac.uk (diri.bris.ac.uk [137.222.10.112]) by mx1.freebsd.org (Postfix) with ESMTP id 25F8013C4A7 for ; Wed, 1 Aug 2007 15:59:15 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from seis.bris.ac.uk ([137.222.10.93]) by diri.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1IGGKw-0002y4-GU for freebsd-questions@freebsd.org; Wed, 01 Aug 2007 16:42:11 +0100 Received: from mech-aslap33.men.bris.ac.uk ([137.222.184.33]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1IGGKV-0007RW-IW for freebsd-questions@freebsd.org; Wed, 01 Aug 2007 16:41:44 +0100 Received: from mech-aslap33.men.bris.ac.uk (localhost [127.0.0.1]) by mech-aslap33.men.bris.ac.uk (8.13.8/8.13.8) with ESMTP id l71Fh8dM083403 for ; Wed, 1 Aug 2007 16:43:08 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-aslap33.men.bris.ac.uk (8.13.8/8.13.8/Submit) id l71Fh8X7083402 for freebsd-questions@freebsd.org; Wed, 1 Aug 2007 16:43:08 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-aslap33.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 1 Aug 2007 16:43:08 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20070801154307.GA80704@mech-aslap33.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Spam-Score: -1.4 X-Spam-Level: - Subject: localise only one tty? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 15:59:15 -0000 Is it possible to localise only some (one) virtual terminal? For example I'd like to have russian only on ttyv0, but leave all other terminals with default screen map, so that programs which use extended ascii set, e.g. sysinstall (typically for arrows and frame elements) are displayed as intended. Following recommendations of Chapter 22 Localisation I have the following lines in my /etc/rc.conf: keymap="ru.koi8-r" scrnmap="koi8-r2cp866" font8x16="cp866b-8x16" font8x14="cp866-8x14" font8x8="cp866-8x8" I enable cons25r only on ttyv0: %cat /etc/ttys [...] ttyv0 "/usr/libexec/getty Pc" cons25r on secure # Virtual terminals ttyv1 "/usr/libexec/getty Pc" cons25 on secure ttyv2 "/usr/libexec/getty Pc" cons25 on secure ttyv3 "/usr/libexec/getty Pc" cons25 on secure ttyv4 "/usr/libexec/getty Pc" cons25 on secure ttyv5 "/usr/libexec/getty Pc" cons25 on secure ttyv6 "/usr/libexec/getty Pc" cons25 on secure ttyv7 "/usr/libexec/getty Pc" cons25 on secure ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure [...] but I now have russian characters for extended ascii set on all virutal terminals (except X). What is the point of changing the terminal type to cons25r if cons25 already shows russian characters? thanks a lot anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423