gnome-terminal question

Ulf Rompe Ulf.Rompe at
Thu Feb 7 09:45:22 UTC 2008

Am Mittwoch, den 06.02.2008, 22:16 +0000 schrieb Vitorio Okio:
> It stopped forced wrapping on a predefined column, but only if I
> either enlarge the terminal window before executing a command or I
> enlarge the window during the command execution.  That is, it
> refreshes the window and wraps the output according to the new window
> size only when output is in process. If the command is completed the
> output remains wrapped for the initial window size.

That's the way it has to be. The wrapping is done by the shell. The
terminal just tells the size to the shell. You can force the shell to
ask for the current window size after every command by putting this into
your ~/.bashrc :

  shopt -s checkwinsize

See "man bash" for an explanation.

[x] ulf 

STRESSED spelled backwards is DESSERTS.

More information about the ubuntu-users mailing list