[Konsole-devel] [Bug 240758] Indicate waiting for user input

Christopher Yeleighton giecrilj at stegny.2a.pl
Mon Jun 7 18:27:34 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=240758





--- Comment #2 from Christopher Yeleighton <giecrilj stegny 2a pl>  2010-06-07 20:27:33 ---
(In reply to comment #1)
> > Also, add an option to post a desktop
> > notification; it would be useful when waiting for a lengthy task to complete.
> 
> Konsole has a similar existing feature - it can monitor the terminal
> application for 'silence' (a period of inactivity) and show a notification when
> that happens.
> 
> > It would be nice if Konsole changed something in its chrome
> > when is the front process is waiting for input. 
> 
> Detecting in a sufficiently robust and reliable way whether a process is
> waiting for input might be an interesting exercise.  Suggestions welcome -
> bearing in mind that the shell might be remote (via ssh) and the style of
> prompt will vary depending on the application that is producing it.

You can query the frontmost process associated with the pseudoterminal and test
whether S of $(ps -l) is 'S'.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list