Article View: gnu.emacs.help
Article #189641Re: Long lines to shell under emacs
From: L Murphy
Date: Thu, 20 Dec 1990 17:40
Date: Thu, 20 Dec 1990 17:40
33 lines
2035 bytes
2035 bytes
In article <9012131418.AP02422@unido.informatik.uni-dortmund.de> muewi@oz.informatik.uni-bremen.de (Wilhelm Mueller) writes:
This is *NOT* a problem of emacs--I use SunOS 4.0.3 on a 3/80 and the
shell stops working when a command line exceeds 255 characters, no
matter if I use an emacs shell, a command tool, a shell tool or a
plain terminal. So it might be difficult to correct that in emacs...
- Wilhelm
I disagree. The shell interface in EMACS has some responsibility to
do something reasonable with long lines.
If the shell that emacs starts up has a limit of X characters per
input line, then emacs might detect when the user wants to submit a
line longer than X characters and try to insert a continuation
character ('\' for csh) and end-of-line in an appropriate place
automatically.
At the very LEAST, emacs should print a useful error message when I
try to submit a line longer than X characters to the shell, rather
than blindly handing it over to the shell.
If emacs could somehow hint to me that I need to break my lines up
into several lines and add \ to the end of each line except the last
one, it would be a great help.
--
--lam
Internet: murphy@dccs.upenn.edu
Technical Details
Message-ID:
<MURPHY.90Dec20124036@lam.dccs.upenn.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!usc!rutgers!netnews.upenn.edu!scotty.dccs.upenn.edu!murphyReferences:
<9012131418.AP02422@unido.informatik.uni-dortmund.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,3b1a99979e397868 X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1990-12-20 09:40:36 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!usc!rutgers!netnews.upenn.edu!scotty.dccs.upenn.edu!murphy From: murphy@scotty.dccs.upenn.edu (L Murphy) Newsgroups: gnu.emacs.help Subject: Re: Long lines to shell under emacs Message-ID: <MURPHY.90Dec20124036@lam.dccs.upenn.edu> Date: 20 Dec 90 17:40:36 GMT References: <9012131418.AP02422@unido.informatik.uni-dortmund.de> Sender: news@netnews.upenn.edu Reply-To: murphy@dccs.upenn.edu Followup-To: gnu.emacs.help Organization: DCCS, University of Pennsylvania Lines: 33 In-reply-to: muewi@oz.informatik.uni-bremen.de's message of 13 Dec 90 13:28:44 GMT