This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Cygwin X server 'reset' command
- From: "Mansoorali Kudsi" <mansoorali dot kudsi at gmail dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 21 Aug 2007 09:53:03 +0530
- Subject: Re: Cygwin X server 'reset' command
- References: <1187641207.21684.29.camel@mercury.sprymusic>
- Reply-to: cygwin-xfree at cygwin dot com
Why don't you try this on the command line:
printf "\ec"
If this works, then you can probably insert this line in your
.bashrc/.bash_profile
alias cls=`printf "\ec"`
and use cls henceforth.
Regards,
Mansoorali.
On 8/21/07, Jean-Claude Gervais <jc.gervais@videotron.ca> wrote:
> Hello,
>
> I am using the Xterm that ships with Cygwin.
>
> When I connect by ssh to a host running Linux, I can run the 'reset'
> command on that host to clear my xterm and erase its backscroll history.
>
> However, when I am not logged onto a host and execute the 'reset'
> command locally, it seems to have no effect.
>
> In a console-mode bash prompt (cygwin.bat), same behaviour, but I have
> noticed executing the command 'cmd /c cls' works in this case but not in
> the graphical xterm.
>
> Although it is not a big problem, I am curious; is there a way to clear
> the backscroll buffer? The 'clear' command does clear the current screen
> but not the entire history.
>
> Thank you
> J
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://x.cygwin.com/docs/
> FAQ: http://x.cygwin.com/docs/faq/
>
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/