Debian Admin shows you how to change the Default text editor in Debian Etch
By Default Debian Etch Provides the nano editor you need to follow this procedure. In this example i want to use vi editor as my default editor.This is Veryuseful if you want to change Default editor to your own choice.Howto Change Default text editor in Debian Etch