From owner-freebsd-questions@freebsd.org Mon Nov 6 01:16:40 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE00AE56D3E for ; Mon, 6 Nov 2017 01:16:40 +0000 (UTC) (envelope-from non.euc.geo.1854@gmail.com) Received: from mail-pg0-x22b.google.com (mail-pg0-x22b.google.com [IPv6:2607:f8b0:400e:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A8270731ED for ; Mon, 6 Nov 2017 01:16:40 +0000 (UTC) (envelope-from non.euc.geo.1854@gmail.com) Received: by mail-pg0-x22b.google.com with SMTP id a192so6934278pge.9 for ; Sun, 05 Nov 2017 17:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:disposition-notification-to :date:user-agent:mime-version:in-reply-to:content-language; bh=6LwVRsVfbinvysOxVzl59iD12Nl2vrOnDXcMQ2q49p4=; b=qnVIZyeryi/C4s6v5Q1mBDg41ncCfbNJF3ntdvF8uZmKICnR1SDbAfJgDYTzPqKA8q VKJsvSC7pJBCy+3mzg9ZyLRBD/iAqaOfxiuPRK9ZjUZW5UtEcjF9sosmZzY8eXul3t0d llatQFG9oRXrVSubQjiFGFuoeKogo1aSOiTDkO7HstUJh79u6ACmGQN3XFjaJwBVg39l AtxEmvN9DU9aEcOLyR5yNunmdCO12yxxOXF0tMTI29KyOx6gBgjEeuk+vo6H5qxPB3rs uaL8ShzmFUEbPiBIfkwkhCFHSz5TdyZILwGNFZCESY+9newvtGhtY2sYRs+LqpI9ycuZ AT9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id :disposition-notification-to:date:user-agent:mime-version :in-reply-to:content-language; bh=6LwVRsVfbinvysOxVzl59iD12Nl2vrOnDXcMQ2q49p4=; b=t9KxfufHfNCoMy/Nx/8Zm+iz170lrVyxSa9nmqj4eUNmoWUGBi2QyMAx/mgkjkebVx goDNFJd1wLVdy+LJS/pHyB0b+cenVyKI+qUQyq6nzxrJTEECgenJy1IYfj6/twmYXwF7 7f38QC9IgtVTfyXcHeRI0S5zIYoYnQNznmSe9S7jvWU666pINcIqcdINeI+r+zMGT0F2 2aUK4oapbKlRw3+1u9x3hqbjYbW9ItPmkIfJKA5wutBv8fzFH84sTuy27URsSqsv81EG AoMneiS/EPdPm4gYtkDgBfxpVeRRTnUc7XWY4pHf+nI8PjndkkT2XZSmJu3zhL2xabuh ci1A== X-Gm-Message-State: AMCzsaWFKNqdPItYFnXSghTZ3TKoDiNHK1xJM+OfUdhZwm0mtvo+zxdS SZ+vAthsHNFv4+FQyGesFJ2siw== X-Google-Smtp-Source: ABhQp+Q4osuClISkl+OWnTOzCg2A2Fcr9aj9X8xsFq24E2r8sbwo4LylE+Mn7YozFN5CtN2BuBJyyg== X-Received: by 10.101.70.15 with SMTP id v15mr11172217pgq.320.1509931000053; Sun, 05 Nov 2017 17:16:40 -0800 (PST) Received: from [192.168.1.7] (47-33-76-3.dhcp.rvsd.ca.charter.com. [47.33.76.3]) by smtp.googlemail.com with ESMTPSA id o10sm16747428pgq.69.2017.11.05.17.16.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Nov 2017 17:16:39 -0800 (PST) Subject: Re: freebsd-questions Digest, Vol 700, Issue 6 To: freebsd-questions@freebsd.org References: From: "J.B." Message-ID: <977cc6e1-219b-8213-4790-1f28cbaebb67@gmail.com> Date: Sun, 5 Nov 2017 17:16:38 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 01:16:41 -0000 > > Message: 4 Date: Fri, 3 Nov 2017 10:44:04 -0700 From: "J.B." > To: freebsd-questions@freebsd.org > Subject: VT_ALT_TO_ESC_HACK for sc (syscons) Message-ID: > <184bbd63-e635-1d52-19a6-3e9c1a414e40@gmail.com> Content-Type: > text/plain; charset=utf-8; format=flowed FreeBSD 11.1-RELEASE is using > vt as the default console driver, and it contains a hack which maps an > ESC sequence to the Alt key on your keyboard. FreeBSD 10.3-RELEASE > uses sc as the default driver, and the Alt keys don't register a > keystroke for most cases. On vt, Alt-b, Alt-f, Alt-Backspace, etc., > behave as they do when logged in over SSH using a bash shell (with its > default emacs bindings): move the cursor backwards one word, forwards > one word, delete word to the right of the cursor, etc. How can that > effect be replicated on sc? I tried a new keymap using kbdcontrol, but > there's no way to map key combinations onto the alt-b, alt-f, alt-bs, > etc., sequences -- the mapfile only allows for single keystrokes. I > know I can set vt as the console driver on 10.3-RELEASE, but the font > in vt is so ugly I want to gouge other peoples' eyes out to save them > from the horrors of seeing it. Adjusting the screen resolution only > helped a tiny bit -- not enough to save peoples' eyes from my angry > fingers. Tried the sample fonts inside /usr/share/vt/fonts/ already. Nobody knows how to implement that hack or replicate its effect on sc? Then what about getting vt's display to look like sc?