Walter Landry <wlan...@caltech.edu> writes:

> When running emacs in X, if I run M-x term, then the COLUMNS
> environment variable is not set correctly.  I think that this is
> because there is a half-width space on the left and right sides of the
> window.  There may also be a scrollbar.  So COLUMNS will be too big by
> one or two.
>
> When I run emacs in a terminal, COLUMNS is set correctly, since it
> does not have to worry about the half-width spaces or scrollbar.
>
> This causes problems if you want to run applications like aptitude,
> because aptitude writes characters all the way to the right side of
> the screen.  It also causes problems if I ssh into a remote machine
> and run emacs there.

Can you describe a way to reproduce this?  I tried running M-x term in
an X emacs with a scrollbar, and COLUMNS was set to 80, and there were
in fact 80 columns.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to