🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99031

client-server bug

#99031
From: Stephen Anderson
Date: Wed, 28 Nov 1990 23:12
29 lines
1825 bytes
Running on Sun OS 4.03 (Berkeley), one or more of (emacsclient -
server - server.el - sun socket implementation) has trouble with long
command lines. For example:

    emacsclient [A-CE-Z]*

produces only three buffers
   /var/tmp/gnu/emacs/etc/APOLLO 
   /var/tmp/gnu/emacs/etc/APPLE 
   /var/tmp/gnu/emacs/etc/CCADIFF 

instead of 29. Investigation of debug buffer *server* reveals that the
list of pathnames is received by server-process-filter on two separate
occasions, in two string sections:

Client: 6 /var/tmp/gnu/emacs/etc/APOLLO /var/tmp/gnu/emacs/etc/APPLE /var/tmp/gnu/emacs/etc/CCADIFF /var/tmp/gnu/emacs/etc/COOK
IES /var/tmp/gnu/emacs/etc/COPYING /var/tmp/gnu/emacs/etc/ChangeLog /var/tmp/gnu/emacs/etc/FTP ...

The first string cuts the filename COOKIES in half with newline, but
the first three pathnames are recognized. (This string is 128
characters long incidentally.) The second string lists the remaining
pathnames, but is not recognized by server-process-filter since it
does not start with "Client: ".

A non-trivial (but not difficult) fix is possible in
server-process-filter, but is this really the right thing to do?

sja.
uunet!mitel!spock!stephena
Technical Details
Message-ID: <9011282312.AA25870@Software.Mitel.COM>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!spock.mitel.com!stephena

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,e2baec6f086cab6b,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-11-28 15:12:16 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!spock.mitel.com!stephena
From: stephena@spock.mitel.com (Stephen Anderson)
Newsgroups: gnu.emacs.bug
Subject: client-server bug
Message-ID: <9011282312.AA25870@Software.Mitel.COM>
Date: 28 Nov 90 23:12:16 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 29
Approved: bug-gnu-emacs@prep.ai.mit.edu
Posted: Thu Nov 29 00:12:16 1990