You are not logged in.
Pages: 1
Everything works fine in my TTY until I use vim, then all further input is unreadable gibberish until next boot. I have tested other commands and applications (pstree, canto, iptraf). None of these cause any problems. Only vim.
This is the output from ":language" in vim:
Current language:
"LC_CTYPE=en_US.UTF-8;
LC_NUMERIC=C;
LC_TIME=en_US.UTF-8;
LC_COLLATE=C;
LC_MONETARY=en_US.UTF-8;
LC_MESSAGES=en_US.UTF-8;
LC_PAPER=en_US.UTF-8;
LC_NAME=en_US.UTF-8;
LC_ADDRESS=en_US.UTF-8;
LC_TELEPHONE=en_US.UTF8;LC_MEASUREMENT=en_US.UTF-8;
LC_IDENTIFICATION=en_US.UTF-8"
locale:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
locale -a
C
POSIX
en_US
en_US.iso88591
en_US.utf8
Last edited by the sad clown (2013-02-04 13:24:21)
I laugh, yet the joke is on me
Offline
I realized I haven't tried Vim in a TTY since upgrading to systemd. Unlike your situation, I don't seem to end up with any gibberish.
Is something in your .vimrc file messing things up?
Offline
I don't have a complex .vimrc:
" All system-wide defaults are set in $VIMRUNTIME/archlinux.vim (usually just
" /usr/share/vim/vimfiles/archlinux.vim) and sourced by the call to :runtime
" you can find below. If you wish to change any of those settings, you should
" do it in this file (/etc/vimrc), since archlinux.vim will be overwritten
" everytime an upgrade of the vim packages is performed. It is recommended to
" make changes after sourcing archlinux.vim since it alters the value of the
" 'compatible' option.
" This line should not be removed as it ensures that various options are
" properly set to work with the Vim-related packages.
runtime! archlinux.vim
" If you prefer the old-style vim functionalty, add 'runtime! vimrc_example.vim'
" Or better yet, read /usr/share/vim/vim73/vimrc_example.vim or the vim manual
" and configure vim to your own liking!
filetype plugin indent on
syntax on
I laugh, yet the joke is on me
Offline
I just deleted .vimrc. Nothing changed.
I laugh, yet the joke is on me
Offline
What is $TERM set to? If it is not "linux" and you do not otherwise disable it, this might be a result of the "Thanks for flying vim" message which includes escape codes to be put in terminal emulator window titles.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
You're right, it's set to rxvt-unicode. How do I correct this?
Edit: nvm, I found the TERM=rxvt-unicode in my .bash_profile. I still am not sure how it got there since I don't recall putting it there. I removed it and everything is fine now. Thanks.
Last edited by the sad clown (2013-02-04 13:22:48)
I laugh, yet the joke is on me
Offline
Pages: 1