RE: Clearing the COMPLETE screen.

2006-02-27 Thread Williams, Gerald S \(Jerry\)
Igor Peshansky wrote: > Yes, but "printf '\ec'" works ju-ust fine in bash... :-) Even better. That works unchanged in both bash and zsh. > Do you set your TERM to "rxvt" or "xterm"? The control sequence in > the terminfo database may be wrong if you don't use the native "rxvt" > terminal setting

RE: Clearing the COMPLETE screen.

2006-02-27 Thread Igor Peshansky
On Mon, 27 Feb 2006, Williams, Gerald S (Jerry) wrote: > Igor Peshansky wrote: > > YA typo. The above should read: > > > > alias cs='echo -ne "\ec"' > > Yes, this is what you need to do under BASH. I thought I had verified it > there, but I guess I wasn't getting what I thought I was getting. (I

RE: Clearing the COMPLETE screen.

2006-02-27 Thread Williams, Gerald S \(Jerry\)
Igor Peshansky wrote: > YA typo. The above should read: > > alias cs='echo -ne "\ec"' Yes, this is what you need to do under BASH. I thought I had verified it there, but I guess I wasn't getting what I thought I was getting. (I mostly use ZSH--at least I knew better than to write "print -n $'\ec

Re: Clearing the COMPLETE screen.

2006-02-24 Thread Igor Peshansky
Ugh, ... Reformatted. On Fri, 24 Feb 2006, Richard Quadling wrote: > On 24/02/06, Williams, Gerald S (Jerry) lovespamcom> wrote: , domain name notwithstanding. > > For me, that has to read 'cmd /c cls' or it doesn't

RE: Clearing the COMPLETE screen.

2006-02-24 Thread Dave Korn
On 24 February 2006 15:05, Williams, Gerald S (Jerry) wrote: > Dave Korn wrote: >> I generally use a line like this: >> alias cls='cmd -c cls' > > For me, that has to read 'cmd /c cls' or it doesn't work. :-P Heh, for me too. > This was mildly annoying me for a while as well. I finally > b

Re: Clearing the COMPLETE screen.

2006-02-24 Thread Richard Quadling
With that alias, I get ... [EMAIL PROTECTED] ~ $ alias cs='echo -n "\ec"' [EMAIL PROTECTED] ~ $ cs \ec [EMAIL PROTECTED] ~ $ I'm using the standard bash shell. The shortcut icon is the Cygwin logo. On 24/02/06, Williams, Gerald S (Jerry) <[EMAIL PROTECTED]> wrote: > For me, that has to read '

RE: Clearing the COMPLETE screen.

2006-02-24 Thread Williams, Gerald S \(Jerry\)
Dave Korn wrote: > I generally use a line like this: > alias cls='cmd -c cls' For me, that has to read 'cmd /c cls' or it doesn't work. :-P This was mildly annoying me for a while as well. I finally broke down and took a look into it. It looks like the ESC c (reset terminal) control works und

Re: Clearing the COMPLETE screen.

2006-02-24 Thread Richard Quadling
Ah I see. When I clicked reply, I had ... On 24/02/06, Dave Korn <[EMAIL PROTECTED]> wrote: > On 24 February 2006 12:42, Richard Quadling wrote: > > > Aha! I'll be deleteing these manuall in future. Thanks for the heads up on that. And now off to read the manual. Thanks again. Richard.

RE: Clearing the COMPLETE screen.

2006-02-24 Thread Dave Korn
On 24 February 2006 12:42, Richard Quadling wrote: > Aha! > > You meant cmd /c cls, not cmd -c cls. > > Ta da! > > Working now! > Heh, yeh, of course I did. Gets a bit confusing switching back and forth between win and posix conventions all the time! Secondly - please read http://cygwi

Re: Clearing the COMPLETE screen.

2006-02-24 Thread Richard Quadling
Aha! You meant cmd /c cls, not cmd -c cls. Ta da! Working now! On 24/02/06, Dave Korn <[EMAIL PROTECTED]> wrote: > On 24 February 2006 12:11, Richard Quadling wrote: > > > Hi. > > > > I'm using Cygwin and have the clear package installed (1.0-2 according > > the cygcheck.out file). > > > > Whe

Re: Clearing the COMPLETE screen.

2006-02-24 Thread Richard Quadling
Hi. Thanks for the reply. 2 comments. 1 - If I add alias cls='cmd -c cls' to my .bashrc file (logout/login/cls), I get ... [EMAIL PROTECTED] ~ $ cls Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. <24/02/2006 12:34:32 D:\cygwin\home\RichardQ> I then have to typ

RE: Clearing the COMPLETE screen.

2006-02-24 Thread Dave Korn
On 24 February 2006 12:11, Richard Quadling wrote: > Hi. > > I'm using Cygwin and have the clear package installed (1.0-2 according > the cygcheck.out file). > > When I run clear, my screen clears! Keep reading > > I run Cygwin in a window on Windows XP. The window is BIG (I like big > wind

Clearing the COMPLETE screen.

2006-02-24 Thread Richard Quadling
Hi. I'm using Cygwin and have the clear package installed (1.0-2 according the cygcheck.out file). When I run clear, my screen clears! Keep reading I run Cygwin in a window on Windows XP. The window is BIG (I like big windows). There is also a nice long scrollbar on the side so I can scroll