On 2008-09-05 20:13 +0200, [EMAIL PROTECTED] wrote:

> On your Linux console tty1 (not inside X Windows), do
> $ emacs -Q -f shell
> and then inside it
> $ aptitude search aptitude
> You'll see it is 1 character too wide and wraps ugly.
> Same with the show command.

For the record, this is not connected to special tty's, it is
reproducible on terminals (or Emacs frames) that are 80 characters wide.
This is due to an Emacs oddity, it wraps the line even if it is short
enough to just fit on screen, because Emacs needs room for positioning
the cursor behind the last character or the line.

Another problem is that the output of "aptitude search/show" is always
truncated after line 80 in Emacs shell buffers, even if the window is
much wider.  That's because aptitude doesn't use the COLUMNS environment
variable to initialize the screen width, but unconditionally sets it to
80, and changing it later doesn't work on a dumb terminal.

Sven



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to