This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to clear the screen with bash ?


Hello,

#Michael R Cook wrote:
#> How about:
#> $ alias cls='cmd /c cls'

#Yes, it works fine on a winnt station, but not on a win95 one.
#(Even you replace cmd by command.com)

I'm using B19.1 on Win95-OSR2 myself. The COMSPEC variable appears to be set in 
my installation to C:\COMMAND.COM, I didn't
change it so I assume that this was the default.

Anyway, that aside, what is wrong with the 'clear' command? If your TERM 
variable is set correctly, i.e. TERM=linux, the 'clear' command
appears to work. If you haven't already got it, get andyp's ''local'' 
distribution (see the gnu-win32 useful links), as it gives a whole lot of 
really useful tools, in one easily managable chunk.

Hope this helps

Bob Cross.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]