Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after quitting 'top', screen not cleared #270

Closed
pd5rm opened this issue May 11, 2012 · 2 comments
Closed

after quitting 'top', screen not cleared #270

pd5rm opened this issue May 11, 2012 · 2 comments
Labels

Comments

@pd5rm
Copy link

pd5rm commented May 11, 2012

I run mosh v1.2 on both Linux and OSX. When I remote to a machine from Linux to OSX, and type 'top' I see the usual stats. When I quit using 'q', I see leftover top output on the screen. When used with SSH, the screen gets cleared. I've tried with both xterm and gnome-terminal.

Here's the dtruss output from the OSX while running top (not sure whether this helps)

write_nocancel(0x1, "\033[1;23H3\033[1;44H09\033[1;58H61\033[133G40\033[2;40H2.79\033[2;52H4.18\033[63G93.2% idle
...
write_nocancel(0x1, "\033[61;1H\033[?1049l\r\033[?1l\033>\0", 0x17) = 23 0

@pd5rm
Copy link
Author

pd5rm commented May 11, 2012

BTW, this last of clear/refresh behavior not limited to 'top', but vim also doesn't clear the screen when quit.

@kmcallister
Copy link
Contributor

Mosh currently doesn't support the alternate screen (smcup/rmcup control codes). We're hoping to fix this for Mosh 1.3. You can follow our progress on #2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants