GNU Emacs 21.3.1 (i386-msvc-nt5.1.2600) of 2003-03-27 on buffy
GNU bash, version 3.2.51(24)-release (i686-pc-cygwin)
CYGWIN_NT-5.1 1.7.7(0.230/5/3) 2010-08-31 09:58
Microsoft Windows XP Pro - Version 2002, SP3
The 'clear' work's in a Cygwin Bash session,
C106426@USLINY2R86KRP8 ~
$ alias clear
alias clear='cat ~/.cls'
C106426@USLINY2R86KRP8 ~
$ less .cls
ESC[2J
.cls (END)
But doesn't within Emacs:
C-z runs the command shell
which is an interactive compiled Lisp function in `shell'.
(shell&optional BUFFER)
All I get within an Emacs shell session is the following, without clearing the
screen. Is there some envionment variable I need to set here?
bash-3.2$ clear
[2J
bash-3.2$