aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2014-01-07 10:48:45 +0100
committerLukas Larsson <[email protected]>2014-02-24 15:16:03 +0100
commitd6ead9a129fbe5a2df335a00e029a88a1f1849a2 (patch)
treec3feeaf12c0c14d57d79db83bfe8c41f5bdaf7fe
parentcd69c2a54201b4e0c4ba86d4248937120e1957e7 (diff)
downloadotp-d6ead9a129fbe5a2df335a00e029a88a1f1849a2.tar.gz
otp-d6ead9a129fbe5a2df335a00e029a88a1f1849a2.tar.bz2
otp-d6ead9a129fbe5a2df335a00e029a88a1f1849a2.zip
to_erl: Fix handshake ^R -> ^L code comments
-rw-r--r--erts/etc/unix/to_erl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/etc/unix/to_erl.c b/erts/etc/unix/to_erl.c
index b9e397cbf2..d7e1127057 100644
--- a/erts/etc/unix/to_erl.c
+++ b/erts/etc/unix/to_erl.c
@@ -345,7 +345,7 @@ int main(int argc, char **argv)
show_terminal_settings(&tty_smode);
#endif
/*
- * "Write a ^R to the FIFO which causes the other end to redisplay
+ * "Write a ^L to the FIFO which causes the other end to redisplay
* the input line."
* This does not seem to work as was intended in old comment above.
* However, this control character is now (R12B-3) used by run_erl
@@ -354,7 +354,7 @@ int main(int argc, char **argv)
*/
if (write(wfd, "\014", 1) < 0) {
- fprintf(stderr, "Error in writing ^R to FIFO.\n");
+ fprintf(stderr, "Error in writing ^L to FIFO.\n");
}
/*
@@ -526,7 +526,7 @@ static int window_size_seq(char* buf, size_t bufsz)
/* to_erl run_erl
* | |
- * |---------- '\022' -------->| (session start)
+ * |---------- '\014' -------->| (session start)
* | |
* |<---- "[run_erl v1-0]" ----| (version interval)
* | |