x
[heimdal.git] / appl / kx / rxtelnet.1
blobbbc68d31a665ae307f5caf3dc40c388ae34b7968
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
40 start a telnet and forward X-connections.
41 .Sh SYNOPSIS
42 .Nm rxtelnet
43 .Op Fl l Ar username
44 .Op Fl k
45 .Op Fl t Ar telnet_args
46 .Op Fl x Ar xterm_args
47 .Op Fl K Ar kx_args
48 .Op Fl w Ar term_emulator
49 .Op Fl b Ar telnet_program
50 .Op Fl n
51 .Op Fl v
52 .Ar host
53 .Op Ar port
54 .Sh DESCRIPTION
55 The
56 .Nm
57 program starts an
58 .Nm xterm
59 window with a telnet to host
60 .Ar host .
61 From this window you will also be able to run X clients that will be
62 able to connect securely to your X server. If
63 .Ar port
64 is given, that port will be used instead of the default.
65 .Pp
66 If setting up the X forwarding failes,
67 .Nm
68 will still telnet in to the remote host, but without X forwarding.
69 .Pp
70 The supported options are:
71 .Bl -tag -width Ds
72 .It Fl l
73 Log in on the remote host as user
74 .Ar username .
75 .It Fl k
76 Disables keep-alives.
77 .It Fl t
78 Send
79 .Ar telnet_args
80 as arguments to
81 .Nm telnet .
82 .It Fl x
83 Send
84 .Ar xterm_args
85 as arguments to
86 .Nm xterm .
87 .It Fl X
88 Send
89 .Ar kx_args
90 as arguments to
91 .Nm kx .
92 .It Fl w
93 Use
94 .Ar term_emulator
95 instead of xterm.
96 .It Fl b
97 Use
98 .Ar telnet_program
99 instead of telnet.
100 .It Fl n
101 Do not start any terminal emulator.
102 .It Fl v
103 Be verbose.
105 .Sh EXAMPLE
106 To login from host
107 .Va foo
108 (where your display is)
109 to host
110 .Va bar ,
111 you might do the following.
112 .Bl -enum
114 On foo:
116 .Va bar
118 You will get a new window with a
119 .Nm telnet
121 .Va bar .
122 In this window you will be able to start X clients.
124 .Sh SEE ALSO
125 .Xr kx 1 ,
126 .Xr rxterm 1 ,
127 .Xr telnet 1 ,
128 .Xr tenletxr 1 ,
129 .Xr kxd 8