[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#2148: In shell mode, comint-send-input seems to cut off at 254 chara
bug#2148: In shell mode, comint-send-input seems to cut off at 254 characters
Mon, 09 Feb 2009 14:15:22 +1300
Thunderbird 126.96.36.199 (X11/20070728)
I have more information about what is going on.
Can you see if you can reproduce it?
After opening a new shell buffer, I type:
to get a tcsh shell without running custom start-up stuff.
Then, I type this:
to turn on tcsh's file completion mechanisms (since this is one of the
settings that my start-up stuff does).
And then, when I type this:
I get the strange behaviour I described before.
Alternatively, If I type this:
I can enter that long line without a problem.
So, in /bin/tcsh, one of the things that 'set filec' turns on is to use
control-D to show a list of what matches the prefix of the immediately
It appears that 'send_process(proc, buf, len, object)' in process.c will
determine that it should send a maximum of 254 characters and will send
'\004' at each 254 character interval.
It still seems strange to me that emacs would have this behaviour. Is
that really how it should be done? I wouldn't think that I would be the
only user who would be using /bin/tcsh with 'set filec'.