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 772034 - in interpreter Ctrl-c should exit inner shell if stuck
in interpreter Ctrl-c should exit inner shell if stuck
Status: RESOLVED OBSOLETE
Product: gjs
Classification: Bindings
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2016-09-27 08:31 UTC by Mohammed Sadiq
Modified: 2018-01-27 12:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mohammed Sadiq 2016-09-27 08:31:06 UTC
If the interpreter is stuck on some command, Ctrl+c should first exit from that command rather than exiting the interpreter and returning to system shell.

How to reproduce:

sadiq@localhost:~$ gjs
gjs> print (
.... ^C
sadiq@localhost:~$
Comment 1 Philip Chimento 2017-01-23 04:07:22 UTC
Yes, I would certainly accept a patch for this! For me it's fairly low priority right now, otherwise I might get around to it after we are based on the latest version of SpiderMonkey. I was planning to see if there were any improvements that could be pulled in from their interpreter.
Comment 2 GNOME Infrastructure Team 2018-01-27 12:00:55 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gjs/issues/98.