* completion problem of tcsh-6.11.00-2
@ 2001-12-23 11:55 Kenji Yamashita
2001-12-25 11:48 ` Corinna Vinschen
0 siblings, 1 reply; 2+ messages in thread
From: Kenji Yamashita @ 2001-12-23 11:55 UTC (permalink / raw)
To: cygwin
Hello,
I have a problem with tcsh version 6.11.00-2. This version of tcsh
includes the following files.
/etc/csh.cshrc, /etc/csh.login,
/etc/profile.d/bindkey.tcsh, /etc/profile.d/complete.tcsh
"complete.tcsh" has entries of a completion variable whose length is
larger than 259. But MAXPATHLEN is (260 - 1) in sys/param.h. So in
the case of these variables completion fails. For example,
% gcc <TAB>
Missing separator '/' after completion "(caller-saves cse-follow-jumps delayed-branch
elide-constructors expensive-optimizations
float-store force-addr force-mem inline
inline-functions keep-inline-functions
memoize-lookups no-default-inline
no-defer-pop no-function-cse omit-frame-pointer
rerun-cse-after-loop schedule-insns
schedule-insns2 strength-reduce
thread-jumps unroll-all-loops
unroll-loops syntax-only all-virtual
cond-mismatch dollars-in-identifiers
enum-int-equiv no-asm no-builtin
no-strict-prototype signed-bitfields
signed-char this-is-variable unsigned-bitfields
unsigned-char writable-strings call-saved-reg
call-used-reg fixed-reg no-common
no-gnu-binutils nonnull-objects
pcc-struct-return pic PIC shared-data
short-enums short-double volatile)/".
%
So I make the following ad-hoc patch. Please revise it.
Regards,
Kenji Yamashita
yamashita_kenji1972@yahoo.co.jp
*** sh.h.orig Mon Dec 24 01:56:23 2001
--- sh.h Mon Dec 24 02:26:30 2001
***************
*** 1017,1022 ****
--- 1017,1026 ----
#define MAXVARLEN 30 /* Maximum number of char in a variable name */
+ #ifdef __CYGWIN__
+ # undef MAXPATHLEN
+ #endif /* __CYGWIN__ */
+
#ifndef MAXPATHLEN
# define MAXPATHLEN 2048
#endif /* MAXPATHLEN */
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: completion problem of tcsh-6.11.00-2
2001-12-23 11:55 completion problem of tcsh-6.11.00-2 Kenji Yamashita
@ 2001-12-25 11:48 ` Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2001-12-25 11:48 UTC (permalink / raw)
To: cygwin
On Mon, Dec 24, 2001 at 04:10:28AM +0900, Kenji Yamashita wrote:
> Hello,
>
> I have a problem with tcsh version 6.11.00-2. This version of tcsh
Thanks for the patch. I've uploaded a new version.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-25 17:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-23 11:55 completion problem of tcsh-6.11.00-2 Kenji Yamashita
2001-12-25 11:48 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).