You are not logged in.

#1 2009-08-01 10:36:45

figue
Member
Registered: 2007-12-16
Posts: 59

Screen too large for internal buffer

Hi,

2 days ago I have an issue when I execute "crontab -e" with my terminal maximized. The error say "Screen too large for internal buffer" and the term crash. But when the term isn't maximized the command works fine. I tried with teminal (XFCE), Konsole, rxvt... My screen resolution is 1680x1050. With visudo command I have the same issue.

¿Anybody have this problem too?


Many thanks

Last edited by figue (2009-08-01 10:38:09)

Offline

#2 2009-08-02 14:49:55

Rorschach
Member
From: Ankh-Morpork
Registered: 2008-11-07
Posts: 143

Re: Screen too large for internal buffer

This problem is related to vi and is internal buffer size being fixed while compilation time and so there's just a certain number of rows vi can handle at the same time before going crazy... I would suggest installing vim which handles this better.

Offline

#3 2009-08-02 17:09:06

figue
Member
Registered: 2007-12-16
Posts: 59

Re: Screen too large for internal buffer

Thank you Rorschach, I have vim installed, but is possible visudo and crontab use vi. I'll find how to change it this night.

Offline

#4 2009-08-02 17:57:22

Rorschach
Member
From: Ankh-Morpork
Registered: 2008-11-07
Posts: 143

Re: Screen too large for internal buffer

I believe both use the environmental variable EDITOR. You should set it to vim. Like

export EDITOR=vim

within your .bashrc.

Offline

#5 2009-08-02 22:10:09

figue
Member
Registered: 2007-12-16
Posts: 59

Re: Screen too large for internal buffer

It's VISUAL variable... I had EDITOR set to vim some time ago.

export VISUAL=vim

Thank you again

Offline

#6 2009-08-04 12:03:38

insanemal
Member
From: Brisbane/Australia
Registered: 2009-05-05
Posts: 140

Re: Screen too large for internal buffer

Could you have also used Screen to reduce the area they had to work in?

Offline

Board footer

Powered by FluxBB