Web lists-archives.com

Start Vim at logout / login




Hello,
i want to start vim on logout or login.
I always get this error:

Apr 25 11:19:04 vim[8706]: *** err
Apr 25 11:19:04 vim[8706]: checking tty name failed
Apr 25 11:19:04 vim[8706]: *** err
Apr 25 11:19:04 vim[8706]: Oh, oh, it's an error! possibly I die!

How can I set a tty on vim startup?