After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 773791 - Support terminal flow control status
Support terminal flow control status
Status: RESOLVED DUPLICATE of bug 755371
Product: vte
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-01 20:48 UTC by Jan Alexander Steffens (heftig)
Modified: 2016-11-02 08:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jan Alexander Steffens (heftig) 2016-11-01 20:48:59 UTC
Provide a property for indicating (and manipulating?) terminal flow control status, i.e. XON/XOFF. This could be used by gnome-terminal to display a notification while the output has been suspended.

One possibility seems to be putting the pty into packet mode (see TIOCPKT in tty_ioctl(4)), which signals when the output is suspended or resumed.
Comment 1 Egmont Koblinger 2016-11-01 22:47:35 UTC
This is half done. Packet mode is already enabled.

There's a proof of concept patch that changes the cursor's shape when output is suspended. It is yet to be cleaned up / finished, or maybe changed to a notification so that gnome-terminal (or any vte-based app) can display a symbol anywhere it wants to rather than vte changing the cursor shape.

*** This bug has been marked as a duplicate of bug 755371 ***
Comment 2 Jan Alexander Steffens (heftig) 2016-11-01 23:08:16 UTC
FTR, I was thinking more of an app-notification like the widget factory has on its second page.
Comment 3 Egmont Koblinger 2016-11-02 08:08:51 UTC
"like the widget factory has on its second page" -- sorry, I totally don't understand what you mean here.
Comment 4 Jan Alexander Steffens (heftig) 2016-11-02 08:13:31 UTC
Open gtk3-widget-factory, go to page 2, then use the spin buttons on the top left to set the value to "51". A notification will appear.
Comment 5 Egmont Koblinger 2016-11-02 08:16:44 UTC
Got it :)