From owner-freebsd-questions Sat Aug 8 03:13:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA26430 for freebsd-questions-outgoing; Sat, 8 Aug 1998 03:13:16 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA26369 for ; Sat, 8 Aug 1998 03:12:39 -0700 (PDT) (envelope-from nbm@rucus.ru.ac.za) Received: (qmail 26033 invoked by uid 1003); 8 Aug 1998 09:47:18 -0000 Message-ID: <19980808114717.C21934@rucus.ru.ac.za> Date: Sat, 8 Aug 1998 11:47:17 +0200 From: Neil Blakey-Milner To: Oliver Thuns , "freebsd-questions@freebsd.org" Subject: Re: cursor keys, console and telnet References: <199808080854.BAA19471@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199808080854.BAA19471@hub.freebsd.org>; from Oliver Thuns on Sat, Aug 08, 1998 at 10:51:40AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I cannot use the cursor keys on the shell (csh), doesn't matter if I'm > working on the console or using telnet (Win95 Telnet.exe). With Linux > (bash) I had no problems to get previous shell command with the up key, > etc... I'm assuming you're not doing any of this as root, since root really should use /bin/csh or /bin/sh. If you are, create a user that you're going to use when not installing programs and changing system stuff. Then play around with the stuff below if things still don't work. Try, on console: setenv TERM cons25 (if you have a standard 25 line console) OR setenv TERM pc (just something that seems to work) Should start working. To change your shell to tcsh: chsh -s /usr/local/bin/tcsh (assuming you've installed tcsh) (if not, cd /usr/ports/shell/tcsh && make install, and then chsh) Put these in your ~/.tcshrc bindkey -k up history-search-backward bindkey -k down history-search-forward To change your shell to bash: chsh -s /usr/local/bin/bash (assuming you've installed bash) (if not, cd /usr/ports/shell/bash && make install, and then chsh) If you're using win95 telnet, try: setenv TERM vt100 Hope this helps, Neil -- Neil Blakey-Milner nbm@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message