🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87764

Yank of large string into shell loops

#87764
From: Jeff Greif
Date: Tue, 30 Aug 1994 19:05
37 lines
2064 bytes
Using emacs 19.25.1 on Solaris 2.3 for Sun Sparc:

emacs -q
M-x shell
;; Now run cat, and yank in the text below (killed from another file):
> cat
(define-class application (bc:core)
    "The parent object for an Art*Enterprise application"
    (app:containing-application-group)
    (gtk:ui)
    (gtk:default-file-selection-context)
    (app:before-deployment-instance-method)
    (app:after-deployment-instance-method)
    (app:before-restart-instance-method)
    (app:after-restart-instance-method)
    (app:before-outer-deployment-instance-method)
    (app:after-outer-deployment-instance-method)
    (app:before-outer-restart-instance-method)
    (app:after-outer-restart-instance-method)
    (app::di-connections-to-restore)
    (app::dlls-to-reconnect)
    (app:run-rules? nil)
    (app::running? nil)
    (app::paused? nil)
    ;; (app::streams-to-reopen)
    ;; The gtk:presentation will record some other restart info
    ) ;;;; End of yanked text

Typing return at the closing parentheses above pins the CPU and loops infinitely.  
C-c C-c does not interrupt the shell.
C-g will interrupt the shell and then C-c C-c will interrupt cat, but
leaves the prompt *before* the pasted text.

If the text is shorter by about 1/3, there is no problem.

Jeff
Technical Details
Message-ID: <9408301901.AA17376@rhiannon.inference.com>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!MathWorks.Com!news.duke.edu!news-feed-1.peachnet.edu!gatech!swrinde!howland.reston.ans.net!math.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!inference.COM!jmg

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,7e85f0f51c2164b7,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-08-30 12:22:40 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!MathWorks.Com!news.duke.edu!news-feed-1.peachnet.edu!gatech!swrinde!howland.reston.ans.net!math.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!inference.COM!jmg
From: jmg@inference.COM (Jeff Greif)
Newsgroups: gnu.emacs.bug
Subject: Yank of large string into shell loops
Date: 30 Aug 1994 15:05:40 -0400
Organization: Inference Corporation
Lines: 39
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9408301901.AA17376@rhiannon.inference.com>