<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Fixing my terminal to 80 characters only seems like taken
straight from the Windows world. I hope Erlang can do better ;) Is
there any way of telling the Erlang terminal how wide is my
terminal, e.g. an environment variable?<br>
</p>
<br>
<div class="moz-cite-prefix">On 13/05/2016 09:19, Lukas Larsson
wrote:<br>
</div>
<blockquote
cite="mid:CAP3zBqNrazNj4o13VST+Mac6U7poTE0GtUFG8u0tV9VjMwc9oA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>I don't think there is any way to turn of only the brace
matching feature. You can always use the oldshell, i.e. "erl
-oldshell", but you loose a lot of other feature that you
may want in the shell.<br>
<br>
</div>
The problem you are experiencing normally happens when the
erlang shell has a different idea of how wide your terminal is
then what it actually is. I've found that this can normally be
fixed by making sure that you have a 80 characters wide
terminal window that erlang is running in, as 80 is the
default if erlang can't find out from ncurses what the
terminal size is.<br>
<br>
</div>
Lukas<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, May 12, 2016 at 9:55 PM,
Grzegorz Junka <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:list1@gjunka.com" target="_blank">list1@gjunka.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">This has
been bothering me for quit a while. I am using FreeBSD for
Erlang development and it happens that in the Erlang shell,
when I am writing a long command, and say I am closing a
bracket, the shell automatically jumps the cursor to the
opening bracket to show me which bracket has been closed.
That would be a great feature if it worked fine. On longer
lines the cursor jumps back to some random place and then
jumps back to some other random place and then the whole
shell is messed up. I have to copy the command to a text
editor, delete all characters from the current command line
in the shell, edit the command in the editor, then copy it
back to the shell. When copying the command to the shell it
doesn't try to jump the cursor and doesn't mess my shell. I
also saw this behaviour on other systems, e.g. Red Hat. Is
there any way of disabling this "jumping" feature?<br>
<br>
Grzegorz<br>
<br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a moz-do-not-send="true"
href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a moz-do-not-send="true"
href="http://erlang.org/mailman/listinfo/erlang-questions"
rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>