[comp.emacs] uemacs 3.10 filename completion

leilabd@syma.sussex.ac.uk (Leila Burrell-Davis) (08/02/89)

I have noticed that filename completion in uemacs 3.10 doesn't work
beyond 32 characters, including the path. This occurs in the
distributed ibm pc version and the version I have compiled on our
Sequent Symmetry BSD-like machine. Has anyone else noticed this? Does
anyone have a fix?
-- 
Leila Burrell-Davis, Computing Service, University of Sussex, Brighton, UK
Tel: +44 273 678390   Fax: +44 273 678335  JANET: leilabd@uk.ac.sussex.syma
INTERNET: leilabd%syma.sussex.ac.uk@nsfnet-relay.ac.uk
BITNET: leilabd@syma.sussex.ac.uk      UUCP: leilabd@syma.uucp

richk@pogo.WV.TEK.COM (Richard G. Knowles) (08/04/89)

In article <1207@syma.sussex.ac.uk> pogo!orca!zephyr.ens.tek.com!uunet!mcvax!ukc!icdoc!syma!leilabd leilabd@syma.sussex.ac.uk (Leila Burrell-Davis) writes:
>I have noticed that filename completion in uemacs 3.10 doesn't work
>beyond 32 characters, including the path. This occurs in the
>distributed ibm pc version and the version I have compiled on our
>Sequent Symmetry BSD-like machine. Has anyone else noticed this? Does
>anyone have a fix?

In input.c, routine comp_file, replace the reference to NBUFN with NSTRING
(the buffer is statically declared with size NSTRING).  This will give you
up to 128 characters.

Note: after around 70 characters you will run off the command line and not
see what is completed anyway.

-------- Whatever I say is my fault and no one elses! -----------

Richard G. Knowles                        richk@pogo.WV.TEK.COM
Graphics Printing and Imaging                (503) 685-3860
Tektronix, Inc; D/S 63-356
Wilsonville, Or 97070			or just yell "Hey, Rich!"