From owner-freebsd-questions@FreeBSD.ORG Wed Dec 10 08:34:09 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A15E16A4CE for ; Wed, 10 Dec 2003 08:34:09 -0800 (PST) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80B8C43D21 for ; Wed, 10 Dec 2003 08:34:06 -0800 (PST) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (localhost [127.0.0.1]) by fw.farid-hajji.net (8.12.10/8.12.10) with ESMTP id hBAGWno7068467; Wed, 10 Dec 2003 17:32:50 +0100 (CET) (envelope-from cpghost@cordula.ws) Date: Wed, 10 Dec 2003 17:32:49 +0100 (CET) Message-Id: <200312101632.hBAGWno7068467@fw.farid-hajji.net> From: "Cordula's Web" To: falaki@ce.sharif.ac.ir In-reply-to: (message from Hossein on Wed, 10 Dec 2003 19:53:51 -0500 (EST)) X-Mailer: Emacs-21.3.1/FreeBSD-4.9-STABLE References: cc: freebsd-questions@freebsd.org Subject: Re: Terminal setting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cpghost@cordula.ws List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2003 16:34:09 -0000 > Hello; > My FreeBSD box is going to serve some young shell users who have > begun with Linux. In order to atract them it mustbe as good looking as a > Linux system but I am having serious peroblem with my terminal settings. > Some vary important keys such as Back Space, home, end and ... don't work > in editors such as vim. For example in Emacs the Alt key does not work. Also > editors such as vim and Emacs do not show syntax highlighting and so on. If you're using X, make sure that TERM is set to 'xterm' Without X, TERM should be set to 'cons25' For Emacs syntax highlighting, you need to add (global-font-lock-mode t) to ~/.emacs For backspace to work in Emacs, set (global-set-key "\C-h" 'delete-backward-char) If you like a colored 'ls', alias ls to 'ls -G': alias ls='/bin/ls -G' > Can anybody help me with this problem. -- Cordula's Web. http://www.cordula.ws/