Re: default application and xterm -e

Ranousse <[email protected]> Tue, 16 Aug 2011 00:47:19 +0200
Newsgroups gmane.comp.web.opera.linux
Message-ID <20110815224718.GA2876@pierre>
Thank you for the the answer.

> Random guess: if the application was cat instead of vi, the -hold would
> be absolutely necessary, right?  Maybe that was one of the test cases
> the author was using.

> Is there a way to tell whether termination of an application should
> close the window or not?

Yes you're right. And besides I don't know very well how to handle this
case without creating a pause script
#!/bin/sh
"$@"
echo "Press return"
read nothing

and having a Desktop file containing

pause cat %f
as application
However there's a solution while with opera current behaviour we can't
remove the -hold it seems.

> That being said, I think I tend to agree with you.  -hold is probably by
> far the less common case.  And if other applications generally do not
> add -hold, then we should probably do the same.
> 
> Please file a bug report (http://bugs.opera.com/wizard/).

I'll do it.
--
Opera-Linux: https://list.opera.com/mailman/listinfo/opera-linux
More lists: https://list.opera.com/mailman/listinfo/
Unsubscribe: mailto:[email protected]?subject=unsubscribe