Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2003 17:32:49 +0100 (CET)
From:      "Cordula's Web" <cpghost@cordula.ws>
To:        falaki@ce.sharif.ac.ir
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Terminal setting
Message-ID:  <200312101632.hBAGWno7068467@fw.farid-hajji.net>
In-Reply-To: <Pine.LNX.4.44.0312101946020.21529-100000@ce.sharif.ac.ir> (message from Hossein on Wed, 10 Dec 2003 19:53:51 -0500 (EST))
References:  <Pine.LNX.4.44.0312101946020.21529-100000@ce.sharif.ac.ir>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312101632.hBAGWno7068467>