all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ken Olum <kdo@cosmos.phy.tufts.edu>
To: bug-gnu-emacs@gnu.org
Cc: kdo@cosmos.phy.tufts.edu
Subject: bug#1517: cursor doesn't track shell output for very long lines
Date: Mon, 08 Dec 2008 15:57:19 -0500	[thread overview]
Message-ID: <E1L9nAN-0007Tg-0g@cosmos.phy.tufts.edu> (raw)

In shell mode, with variable comint-scroll-show-maximum-output set to
nil, output with lines longer than the screen can cause the cursor to
be left behind instead of tracking the end of the output.  To reproduce:

Start emacs with emacs -Q
M-x shell
M-x set-variable
comint-scroll-show-maximum-output
nil
(Run csh if that isn't your usual shell)
repeat 10000 echo -n x ; echo

The cursor is now in the middle of the long line instead of on the next
line where it belongs.

                                        Ken Olum

In GNU Emacs 22.1.1 (x86_64-mandrake-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2008-10-27 on titan.mandriva.com, modified by Mandriva
Windowing system distributor `The Cygwin/X Project', version 11.0.60899901
configured using `configure  '--prefix=/usr' '--libexecdir=/usr/lib64' '--sharedstatedir=/var' '--with-gcc' '--with-pop' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-x-toolkit' 'x86_64-mandrake-linux' '--libdir=/usr/lib64' 'build_alias=x86_64-mandrake-linux' 'host_alias=x86_64-mandrake-linux' 'target_alias=x86_64-mandrake-linux' 'CFLAGS=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fexceptions -DNCURSES_OSPEED_T -fno-zero-initialized-in-bss' 'LDFLAGS=-s''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: en_US.UTF-8
  value of $LC_CTYPE: en_US.UTF-8
  value of $LC_MESSAGES: en_US.UTF-8
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Shell

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
M-x s h e l l <return> M-x s e t - v a r <return> c 
o m i n <tab> s c <tab> m a <tab> <backspace> <backspace> 
s h o <tab> <return> n i l <return> <down-mouse-2> 
<mouse-2> <left> <left> <left> <left> <left> <left> 
<right> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<return> M-> <help-echo> M-x r e p o r t - e m a c 
s - b u g <return>

Recent messages:
("emacs" "-Q")
For information about the GNU Project and its goals, type C-h C-p.
Loading shell...done
Loading help-fns...done
Loading easymenu...done
Mark set [2 times]
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done







             reply	other threads:[~2008-12-08 20:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-08 20:57 Ken Olum [this message]
2008-12-09 20:07 ` bug#1517: cursor doesn't track shell output for very long lines Glenn Morris
2008-12-09 20:15   ` Processed: " Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1L9nAN-0007Tg-0g@cosmos.phy.tufts.edu \
    --to=kdo@cosmos.phy.tufts.edu \
    --cc=1517@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.