-
Notifications
You must be signed in to change notification settings - Fork 9
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
Terminating ceylon help
with less
pager leaves terminal in dirty state
#53
Comments
I'm guessing |
I tried simulating that behaviour by doing |
If you |
If you |
You have any good ideas for this @FroMage ? I've even been looking at preventing |
Perhaps we could |
I don't understand why |
@FroMage Well, what I'm guessing from what I've found googling for problems with Java and |
@lucaswerkmeister but that would affect all Ceylon applications in all circumstances, that doesn't seem like something we would want. |
@quintesse @lucaswerkmeister this issue is assigned to 1.2. Please do something to it. |
What? @FroMage made this and we have to clean up his mess? ;) |
Bah, if we can't fix it, let's just close it. |
Dunno, people won't get it in general, but when they do it's pretty nasty, it basically means you need to restart your terminal. |
|
What? Close it to forget about it, is this somehow the new rage? What happened to just assigning it to the next release to see if we can come up with something in the mean time? And I doubt many people know about |
Fine, move it ;) I've known about |
In the same place where I keep my "export TERM=ansi" information, tucked deep away in the hope one day I'll forget about all that ;) |
On Linux, with default pager settings, run
ceylon help
, then terminate the process withCtrl+C
. This will leave the terminal in a weird state where:less
is terminated, but its output still visibleless
prompt ‘:
’)Esc
andEnter
have the same effect, whileCtrl+C
will re-print the prompt)less
was startedreset
and hitEnter
to fix thisI have no idea what’s going on here; I tried to investigate it, but didn’t arrive at any conclusions. Notes:
less
is supposed to stay open when its input is closed, and ignoreCtrl+C
itself. This is useful, for instance, when runninggit log -Ssearch
(or another expensive Git operation) – you’ll terminategit
after the first few results are there, then look through those results withless
still up.git
actually continues running after terminated – not sure what’s happening here.piping
ceylon help
intoless
manually works without problems.this only happens for
less
,CEYLON_PAGER=more ceylon help
works without problems.it happens no matter how much you hide
less
:CC ceylon/ceylon-compiler#1506.
The text was updated successfully, but these errors were encountered: