changeset 774:e8b2ca448928

Document escape chars
author Matt Johnston <matt@ucc.asn.au>
date Sun, 14 Apr 2013 23:08:57 +0800
parents a9f2a6ae4eb5
children 2f1c199b6e4b
files dbclient.1
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dbclient.1	Sun Apr 14 22:49:19 2013 +0800
+++ b/dbclient.1	Sun Apr 14 23:08:57 2013 +0800
@@ -61,10 +61,10 @@
 on the remote host.
 .TP
 .B \-t
-Allocate a pty.
+Allocate a PTY.
 .TP
 .B \-T
-Don't allocate a pty.
+Don't allocate a PTY.
 .TP
 .B \-N
 Don't request a remote shell or run any commands. Any command arguments are ignored.
@@ -137,6 +137,11 @@
 in the example above, the same way as other -L TCP forwarded hosts are. Host keys are 
 checked locally based on the given hostname.
 
+.SH ESCAPE CHARACTERS
+Typing a newline followed by the  key sequence \fI~.\fR (tilde, dot) will terminate a connection.
+The sequence \fI~^Z\fR (tilde, ctrl-z) will background the connection. This behaviour only
+applies when a PTY is used.
+
 .SH ENVIRONMENT
 .TP
 .B DROPBEAR_PASSWORD