EmilyDirsh / hotwire-shell

Automatically exported from code.google.com/p/hotwire-shell
Other
0 stars 0 forks source link

no user feedback if term returns immediately #158

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. type "man non-existent-cmd"

What is the expected output? What do you see instead?

The expected output (from bash) is:

No manual entry for non-existent-cmd

In hotwire, the terminal pops up in a new tab and immediately disappears
again, so the user does not know what the problem is.

What version of the product are you using? On what operating system?
0.711 on ubuntu 7.10

Please provide any additional information below.

Some ideas about how to address this -

* have a minimum time for displaying a terminal - say 5 seconds.
* capture the return value somehow and don't immediately close the terminal
if non-zero
* capture stderr somehow

Original issue reported on code.google.com by dmi...@gmail.com on 29 Feb 2008 at 6:07

GoogleCodeExporter commented 9 years ago
We changed how we spawn terminals in SVN r1098; it is now very consistent - we 
create
them in a new window, and don't exit unless you press return.

It does solve this issue, though at the cost of requiring an extra keypress 
after you
exit things like "vi" and "less".  I'm a bit torn between handling these apps
specially and keeping everything behaving consistently.

Original comment by cgwalt...@gmail.com on 29 Feb 2008 at 9:18

GoogleCodeExporter commented 9 years ago
Having used it a little, I've found it quite simple and natural, so I'd be 
happy to
stick with the consistent behaviour we have now.

Original comment by dmi...@gmail.com on 10 Apr 2008 at 7:09

GoogleCodeExporter commented 9 years ago
Hmm, I confess to slowly getting used to it, but the extra Return still seems a 
waste
to me.

How about an option to "term" to skip the Return, which could be used for 
aliases
like man, top, etc
that don't need it but keep Return by default?

Original comment by juhpeter...@gmail.com on 31 Jul 2008 at 5:18