Stian Lavik wrote:
>Thanks very much. But this was not the problem. And I have used long
>command lines before, withou getting this problem.
Please provide a complete example that demonstrates the problem, along with
a precise description of how to cause the problem and exactly what it looks
like. A list of the Terminal window settings would also be helpful,
including your terminal emulation options (the TERM env-var).
Since you also have long command lines that don't show the problem, I
suggest providing an example of a long command line that DOESN'T show the
problem, so we have a comparison.
Your email program or the list-server might wrap long lines, so you're
going to have to visually indicate exactly where you actually hit the
RETURN key, and also where the incorrect line-overwriting occurs.
In short, please be specific and detailed.
One other thing to try is dragging your Terminal window wider, and see if
it changes where the problem occurs. Resizing Terminal windows changes the
shell-vars that indicate window size (COLUMNS and LINES), and sends signals
to running apps that want to learn of the change.
After rereading your original description, along with your followups, the
only thing I can think of is that some shell or environment variable has
been incorrectly set to a CR (0x0D) when it should be a LF (0x0A). I
suggest checking your shell-startup config-files, opening them in an editor
that can show all invisible chars.
When an isolated CR is emitted in a Terminal window, it moves the cursor to
the beginning of the line. I'm assuming that's what you mean by "overwrite
the text already on the same line" in your original post, though I can
imagine other line-overwriting behavior that involves backspaces.
You can demonstrate the behavior of CR-only line-terminators by editing a
text file with multiple lines in Xcode or Project Builder, then changing
the file's format to have CR-only line-endings. Then 'cat' the file in
Terminal. All the lines should overwrite on a single line.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden