slackware problem with aterm and vi
when i try to use vi and aterm i get all sorts of broken output. the document never opens correctly, only the first lines are displayed and it's halfway down the screen. i've been researching trying to see if anyone else has had this problem, and it seems not. any ideas on where to start? vi works fine in xterm and rxvterm.
|
what about vim?
|
yes vim works perfectly! now i just need to figure out how to get my syntax highlighting back. thanks!
|
this might work as a template:
http://mail.linux.ie/pipermail/cork/...il/000961.html otherwise, there are plenty of sites on google about it. :) |
here is my ~/.vimrc file that works under Slackware 9.1 with vim/aterm, hope it helps..
Code:
|
I have had the same problem. I set all my aterm properties in ~/.Xdefaults (with settings from ikaro's fluxmod site). One line sets the geometry of the window:
aterm*geometry: 80x35 ie. the aterm is meant to open 80 columns wide by 35 lines deep. However when using fluxbox 9.6, if I changed the size of the aterm window and then set it to remember the window size, I would get the broken output in vi that you mentioned. The window was opening at whatever dimensions I had set it to remember to open at, yet aterm still thought it was meant to run at 80x35, so the output was garbled. The solution in my case was to delete the remembered settings for the aterm window, and let aterm start with whatever dimensions were set in .Xdefaults. |
thanks for the help! i was going to have a look at 'info vi' again but ya saved me the trip :)
my current problem is figuring out why 'Ctrl-l' no longer clears my aterm screen. 'Ctrl-l' works fine on all my other terminals :( |
All times are GMT -5. The time now is 10:34 PM. |