diff dbclient.1 @ 774:e8b2ca448928

Document escape chars
author Matt Johnston <matt@ucc.asn.au>
date Sun, 14 Apr 2013 23:08:57 +0800
parents 7fc0aeada79c
children 34e69908b3f7
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