From owner-freebsd-questions Mon Oct 18 16:12:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from timingpdc.timing.com (timingpdc.timing.com [206.168.13.194]) by hub.freebsd.org (Postfix) with ESMTP id 7DC6A151E7 for ; Mon, 18 Oct 1999 16:12:39 -0700 (PDT) (envelope-from jhein@timing.com) Received: from Daffy.timing.com ([206.168.13.218]) by timingpdc.timing.com (Post.Office MTA v3.1.2 release (PO205-101c) ID# 103-49575U100L2S100) with ESMTP id AAA79; Mon, 18 Oct 1999 17:13:25 -0600 Received: (from jhein@localhost) by Daffy.timing.com (8.9.3/8.9.3) id RAA68973; Mon, 18 Oct 1999 17:12:37 -0600 (MDT) (envelope-from jhein@Daffy.timing.com) X-Authentication-Warning: Daffy.timing.com: jhein set sender to jhein@Daffy.timing.com using -f MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14347.43365.371437.356213@Daffy.timing.com> Date: Mon, 18 Oct 1999 17:12:37 -0600 (MDT) From: "John E. Hein" To: "Leland V. Lammert" Cc: freebsd-questions@FreeBSD.ORG Subject: Shell Keyboard Mapping for PC Keyboard? In-Reply-To: <4.2.0.58.19991018164324.0097bca0@mail.inlink.com> References: <4.2.0.58.19991018164324.0097bca0@mail.inlink.com> X-Mailer: VM 6.75 under Emacs 20.3.1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Leland V. Lammert wrote at 22:45 -0500 on Oct 18: > We are looking at standardizing on FreeBSD for our ISP servers, .. but in > testing ran across some weird problems. > > FreeBSD seems to not support any of the PC keyboard mapping that CSH does > on Linux - Home/End/UP-DN Arrow (history buffer), Delete (current char), > Backspace (char left), Insert, .. to C. Linux uses tcsh as its C shell: linux% ls -alF /bin/*csh lrwxrwxrwx 1 root root 4 Mar 6 1999 /bin/csh -> tcsh* -rwxr-xr-x 1 root root 262184 Mar 21 1999 /bin/tcsh* So you've been using tcsh instead of the standard ol' C shell all these years. You just didn't know it. Install the tcsh port under FreeBSD to use tcsh instead: freebsd% cd /usr/ports/shells/tcsh freebsd% su freebsd# make install Then leave the shell in your password entry as /bin/csh and do something like: freebsd% cd ~ freebsd% mv .cshrc .tcshrc freebsd% cat > .cshrc if ( -x /usr/local/bin/tcsh ) then exec /usr/local/bin/tcsh else source ~/.tcshrc endif Then in your .tcshrc file, use the following to set tcsh-only features: if ( $?tcsh ) then # set tcsh specific variables here... endif > Can anyone point me to a keyboard map/termsettings that will provide > standard PC keyboard functions?? Neither the us.iso nor us.unix map > anything except backspace, .. and it does not look like there are any more > US english options. tcsh will give you the up/down/M-b/C-d/etc. keymappings by default (man tcsh for more options). John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message