Put Nd argument after Nd macro.
[heimdal.git] / appl / kx / rxtelnet.1
blob63478a201f82042ac0f5b8df4ce11cd89209507b
1 .\" Copyright (c) 1996 - 1998, 2001 - 2002 Kungliga Tekniska Högskolan
2 .\" (Royal Institute of Technology, Stockholm, Sweden). 
3 .\" All rights reserved. 
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without 
6 .\" modification, are permitted provided that the following conditions 
7 .\" are met: 
8 .\"
9 .\" 1. Redistributions of source code must retain the above copyright 
10 .\"    notice, this list of conditions and the following disclaimer. 
11 .\"
12 .\" 2. Redistributions in binary form must reproduce the above copyright 
13 .\"    notice, this list of conditions and the following disclaimer in the 
14 .\"    documentation and/or other materials provided with the distribution. 
15 .\"
16 .\" 3. Neither the name of the Institute nor the names of its contributors 
17 .\"    may be used to endorse or promote products derived from this software 
18 .\"    without specific prior written permission. 
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND 
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 
30 .\" SUCH DAMAGE. 
31 .\" 
32 .\" $Id$
33 .\"
34 .Dd March  7, 2004
35 .Dt RXTELNET 1
36 .Os KTH_KRB
37 .Sh NAME
38 .Nm rxtelnet
39 .Nd start a telnet and forward X-connections.
40 .Sh SYNOPSIS
41 .Nm rxtelnet
42 .Op Fl l Ar username
43 .Op Fl k
44 .Op Fl t Ar telnet_args
45 .Op Fl x Ar xterm_args
46 .Op Fl K Ar kx_args
47 .Op Fl w Ar term_emulator
48 .Op Fl b Ar telnet_program
49 .Op Fl n
50 .Op Fl v
51 .Ar host
52 .Op Ar port
53 .Sh DESCRIPTION
54 The
55 .Nm
56 program starts an
57 .Nm xterm
58 window with a telnet to host
59 .Ar host .
60 From this window you will also be able to run X clients that will be
61 able to connect securely to your X server. If
62 .Ar port
63 is given, that port will be used instead of the default.
64 .Pp
65 If setting up the X forwarding failes,
66 .Nm
67 will still telnet in to the remote host, but without X forwarding.
68 .Pp
69 The supported options are:
70 .Bl -tag -width Ds
71 .It Fl l
72 Log in on the remote host as user
73 .Ar username .
74 .It Fl k
75 Disables keep-alives.
76 .It Fl t
77 Send
78 .Ar telnet_args
79 as arguments to
80 .Nm telnet .
81 .It Fl x
82 Send
83 .Ar xterm_args
84 as arguments to
85 .Nm xterm .
86 .It Fl X
87 Send
88 .Ar kx_args
89 as arguments to
90 .Nm kx .
91 .It Fl w
92 Use
93 .Ar term_emulator
94 instead of xterm.
95 .It Fl b
96 Use
97 .Ar telnet_program
98 instead of telnet.
99 .It Fl n
100 Do not start any terminal emulator.
101 .It Fl v
102 Be verbose.
104 .Sh EXAMPLE
105 To login from host
106 .Va foo
107 (where your display is)
108 to host
109 .Va bar ,
110 you might do the following.
111 .Bl -enum
113 On foo:
115 .Va bar
117 You will get a new window with a
118 .Nm telnet
120 .Va bar .
121 In this window you will be able to start X clients.
123 .Sh SEE ALSO
124 .Xr kx 1 ,
125 .Xr rxterm 1 ,
126 .Xr telnet 1 ,
127 .Xr tenletxr 1 ,
128 .Xr kxd 8