Terminal setting

Cordula's Web cpghost at cordula.ws
Wed Dec 10 08:34:09 PST 2003


> 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/



More information about the freebsd-questions mailing list