This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin X server 'reset' command


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/


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