08-17-2006
Unix Telnet session
Hi
Is there any way whilst in a telnet session you can view your client machine name that you are using to connect to the Unix box ?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am new to unix. Currently using solaris 6.8 (i think).
I need to telnet into a remote server, and print out a report to a printer near me, that DOES NOT have a printcap set-up for the printer on the remote server. I was hoping to do this via tcp/ip since the printer does have a static ip... (1 Reply)
Discussion started by: gishfarm
1 Replies
2. UNIX for Dummies Questions & Answers
hi, we can set something such that if the user has been idle for a while, it will auto disconnect. where to do so? thanks (6 Replies)
Discussion started by: yls177
6 Replies
3. Shell Programming and Scripting
Dear friends..
Our project has a module that runs on handheld devices. Through the handheld we telnet to solaris where the application actually runs. I noticed that after starting a session through the handheld, if i go out of range or if i remove and replace the battery in the handheld, the... (1 Reply)
Discussion started by: deepsteptom
1 Replies
4. Shell Programming and Scripting
{
sleep 2
echo "$user"
sleep 2
echo "$password"
sleep 2
echo " ls"
sleep 10
echo "exit"
}| telnet $server
I have a machine x and i have executed the above script on machine 'x'.
i entered the... (6 Replies)
Discussion started by: pathanjalireddy
6 Replies
5. UNIX for Dummies Questions & Answers
In either case using ksh or tcl, how can I check that I have a successfule telnet session and am being prompted with a tacacs login prompt ?
:confused:
DOIT () {
sleep 2
echo "<tacacs name >"
sleep 1
echo "<password>"
echo "en"
sleep 1
echo "<enable password>"
echo "term length 512"... (0 Replies)
Discussion started by: sumguy
0 Replies
6. Shell Programming and Scripting
Hi there.
How do I make the DB connection see the parameter variables passed to the unix script ? The code snippet below isn't working properly.
sqlplus << EOF
user1@db1/pass1
BEGIN
PACKAGE1.perform_updates($1,$2,$3);
END;
EOF
Thanks in advance,
Abrahao. (2 Replies)
Discussion started by: 435 Gavea
2 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I have AIX 5.3 at home connected to netgear router. Port Forwarding has been enabled on the router. Problem is that if I want to telnet, I have to try 2 or 3 times before I can get a logon prompt. It times out for first or second time (Connection to session <IP_Address> failed: Connection... (1 Reply)
Discussion started by: bluebee
1 Replies
8. UNIX for Dummies Questions & Answers
How can I disconnect an existing telnet session? The host is a serial port server with multiple ports. The users login using the host's name and a port, i.e. telnet host01 1235.
Thanks. (14 Replies)
Discussion started by: cooldude
14 Replies
9. HP-UX
Our network administrators implemented some sort of check to kill idle sessions and now burden is on us to run some sort of keep alive. Client based keep alive doesn't do a very good job. I have same issue with ssh. Does solution 2 provided above apply for ssh sessions also? (1 Reply)
Discussion started by: yoda9691
1 Replies
TN3270(1) General Commands Manual TN3270(1)
NAME
tn3270 - full-screen remote login to IBM VM/CMS
SYNOPSIS
tn3270 sysname
DESCRIPTION
Tn3270 permits a full-screen, full-duplex connection from a VAX UNIX machine to an IBM machine running VM/CMS giving the appearance of
being logged in directly to the remote machine on an IBM 3270 terminal. Of course you must have an account on the machine to which you
wish to connect in order to log in. Tn3270 looks to the user in many respects like the Yale ASCII Terminal Communication System II.
Tn3270 is actually a modification of the Arpanet TELNET user interface (see telnet(1)) that interprets and generates raw 3270 control
streams.
Emulation of the 3270 terminal is done in the Unix process. This emulation involves mapping 3270-style commands from the host into appro-
priate sequences to control the user's terminal screen. Tn3270 uses curses(3x) and the /etc/termcap file to do this. The emulation also
involves simulating the special 3270 keyboard keys (program function keys, etc.) by mapping sequences of keystrokes from the ASCII key-
board into appropriate 3270 control strings. This mapping is terminal dependent and is specified in a description file,
/usr/share/misc/map3270, (see map3270(5)) or in an environment variable MAP3270 (see mset(1)). Any special function keys on the ASCII key-
board are used whenever possible. If an entry for the user's terminal is not found, tn3270 looks for an entry for the terminal type
unknown. If this is not found, tn3270 uses a default keyboard mapping (see map3270(5)).
The first character of each special keyboard mapping sequence is either an ASCII escape (ESC), a control character, or an ASCII delete
(DEL). If the user types an unrecognized function key sequence, tn3270 sends an ASCII bell (BEL), or a visual bell if defined in the
user's termcap entry, to the user's terminal and nothing is sent to the IBM host.
If tn3270 is invoked without specifying a remote host system name, it enters local command mode, indicated by the prompt ``tn3270>''. In
this mode, tn3270 accepts and executes the following commands:
open connect to a remote host
close close the current connection
quit exit tn3270
z suspend tn3270
status print connection status
? print help information
Other common telnet commands are not available in tn3270. Tn3270 command mode may also be entered, after connecting to a host, by typing a
special escape character (typically control-C).
While in command mode, any host login session is still alive but temporarily suspended. The host login session may be resumed by entering
an empty line (press the RETURN key) in response to the command prompt. A session may be terminated by logging off the foreign host, or by
typing ``quit'' or ``close'' while in local command mode.
FILES
/etc/termcap
/usr/share/misc/map3270
AUTHOR
Greg Minshall
SEE ALSO
mset(1), telnet(1), termcap(3x), termcap(5), map3270(5), Yale ASCII Terminal Communication System II Program Description/Operator's Manual
(IBM SB30-1911)
BUGS
Performance is slow and uses system resources prodigiously.
Not all 3270 functions are supported, nor all Yale enhancements.
4.3 Berkeley Distribution November 27, 1996 TN3270(1)