You are not logged in.

#1 2009-09-13 18:00:52

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Terminal goes crazy... [solved]

I use lxde with its default terminal emulator lxterminal, often when I write a long line it goes crazy:

1- all is fine

[ezzetabi@nakoruru ~]$

2- I start writing the command

[ezzetabi@nakoruru ~]$ rm -rf ~/

3- I use tab a couple of times to autocomplete... and the text goes crazy

tember-2009-Vollversion.exe f ~/Downloads/WinFuture_WinXPsp2_UpdatePack_2.43_Sept

Instead I expected:

[ezzetabi@nakoruru ~]$ rm -rf ~/Downloads/WinFuture_WinXPsp2_UpdatePack_2.43_September-2009-Vollversion.exe

The problem seems disappearing if I use export TERM=xterm, but it seems somewhat wrong...

Any idea?

Last edited by ezzetabi (2009-09-14 09:10:20)

Offline

#2 2009-09-14 07:53:08

alterecco
Member
Registered: 2009-07-13
Posts: 152

Re: Terminal goes crazy... [solved]

As far as i recall this happens when bash does not have the right idea about the size of the window it is running in. Try adding the following to your bashrc.

shopt -s checkwinsize

If you have changed your PROMPT that may also be causing some problems.

.]

Last edited by alterecco (2009-09-14 07:54:02)

Offline

#3 2009-09-14 09:10:00

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: Terminal goes crazy... [solved]

Seems working, good job. Thanks a lot!

Offline

Board footer

Powered by FluxBB