Closed Bug 584124 Opened 14 years ago Closed 14 years ago

njs terminal annoyances

Categories

(Other Applications Graveyard :: Narcissus, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dherman, Assigned: dherman)

Details

Attachments

(1 file)

Currently ^D makes the njs REPL (bug 583001) go crazy and ^C spews a Python stack trace. Also, multi-line -e arguments confuse the parser. These aren't critical issues, but they're annoying. Dave
Assignee: general → nobody
Component: JavaScript Engine → Narcissus
Product: Core → Other Applications
QA Contact: general → narcissus
Keywords: narcissus
Traps SIGINT in the Python script to suppress stack traces, and the repl() function in jsexec properly handles EOF. Dave
Assignee: nobody → dherman
Attachment #464130 - Flags: review?(shu)
Status: NEW → RESOLVED
Closed: 14 years ago
OS: Mac OS X → Windows 7
Resolution: --- → FIXED
Attachment #464130 - Flags: review?(shu) → review+
I edited the wrong bug! :( Also r=me for the ^C and ^D patch. The ^D behavior is still not the same as that of js, but I don't think we can do better without rewriting readline.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: