07-08-2011
Terminal Emulation- AIX Server- Best Practices
Greetings. We share one AIX server with about 100 users over 4 hub sites via Procomm Plus. Users dvelop bad habits and exit straight out of the terminal window vice correctly logging out of their application session on the server. Sometimes we have to go into the server and terminate their session manually before they can log in again. What are some best practices I can develop, and also please provide me some technical leverage as I the importance of properly closing out of their session before closing their terminal window. Thanks in advance!
10 More Discussions You Might Find Interesting
1. Programming
Hi , I am working on SCO Unix who needs to know some basics concepts about how to write a program that will capture the input , output of one terminal to another ie whatever is being typed as input or echoed as output to terminal say tty02 shall be automatically be falshed to another terminal say... (1 Reply)
Discussion started by: S.P.Prasad
1 Replies
2. UNIX for Dummies Questions & Answers
Hello all,
Am new to the forum and hope this post meets the requirements.
This post will be rather lengtly but needs to be to explain the problem.
I have two computers running Windows 2000 Pro. I travel for a living and use a terminal emulation program called STEP to connect to our Unix... (2 Replies)
Discussion started by: skids
2 Replies
3. BSD
Hi !
As everyone, i installed my system and started "personalizing" it. One of the adjustments was creating an alias in /etc/profile fo ls, so when I type ls it is running ls -G so i can see a colored output. Everything is ok, but after I configured my system to start in X by default (kdm as... (2 Replies)
Discussion started by: Sergiu-IT
2 Replies
4. SCO
Question from a newbie:
We are running SCO Unix, and are using Century Software Windows Terminal Emulation “Term for Windows” for Win95 v6.3.9b.
It used to work fine when we had Win98 on our machines, but now we are updating them with Win2000/XP.
This WinTerm works fine on some machines, which... (9 Replies)
Discussion started by: fasal
9 Replies
5. UNIX for Dummies Questions & Answers
I entered the command cat 401328 in an attempt to see a file. Now, my screen is displaying machine language. The properties of the file say that it is a postgres application. Is there a command I can enter so everything gets back to normal?
Thanks, (2 Replies)
Discussion started by: Debbie
2 Replies
6. UNIX for Dummies Questions & Answers
HI , I am little confused about differences between Telnet and Terminal Emulation? (1 Reply)
Discussion started by: nixhead
1 Replies
7. Solaris
I am having issues with installation of Sterling-Gentran:Server for UNIX 6.1. The issue within the secadmin setup. I can get into the Security Admin Setup Screens and can navigate within but cannot reply to a popup screen (the software is asking me to confirm "YES" or "NO" and none of the keys on... (6 Replies)
Discussion started by: oakbob817
6 Replies
8. Programming
have the following lines in .bash_profile. "ln-s /dev/ttyp0 /dev/lpw10" and ln -s /dev/ttyp0 /dev/lpc10"
this allows a terminal emulation running on xp to print locally.
I would like to capture the print file and store the output in a directory.
Any ideas as to how to capture the print output?... (2 Replies)
Discussion started by: petercp
2 Replies
9. UNIX for Dummies Questions & Answers
I use a program called TinyTerm to access our AIX machine. It works fine except for when I rlogin into our SCO unix server. Backspace doesn't delete, ctrl-c doesn't work (delete key does same thing), and the most annoying thing is vi acts very wierd. I have to press the down arrow like 3 times to... (11 Replies)
Discussion started by: herot
11 Replies
10. UNIX for Dummies Questions & Answers
I am using Terminal on an OSX system to access and edit crontab files on a 'headless' Solaris 11 server. Crontab -e on OSX invokes vi as the editor, which is fine, but I am getting unexpected characters on keystrokes and have to abort the edit. If this is an emulation issue, would someone please... (1 Reply)
Discussion started by: SmokeyJoe
1 Replies
LEARN ABOUT FREEBSD
tcsetsid
TCSETSID(3) BSD Library Functions Manual TCSETSID(3)
NAME
tcsetsid -- set session ID associated with a controlling terminal
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/types.h>
#include <termios.h>
int
tcsetsid(int fd, pid_t pid);
DESCRIPTION
The tcsetsid() function sets associates a session identified by pid with a controlling terminal specified by fd.
This implementation only allows the controlling terminal to be changed by the session leader itself. This implies that pid always has to be
equal to the process ID.
It is unsupported to associate with a terminal that already has an associated session. Conversely, it is also unsupported to associate to a
terminal when the session is already associated with a different terminal.
ERRORS
If an error occurs, tcsetsid() returns -1 and the global variable errno is set to indicate the error, as follows:
[EBADF] The fd argument is not a valid file descriptor.
[ENOTTY] The file descriptor represented by fd is not a terminal.
[EINVAL] The pid argument is not equal to the session ID of the calling process.
[EPERM] The calling process is not a session leader.
[EPERM] The session already has an associated terminal or the terminal already has an associated session.
SEE ALSO
getsid(2), setsid(2), tcgetpgrp(3), tcgetsid(3)
HISTORY
A tcsetsid() function first appeared in QNX. It does not comply to any standard.
BSD
May 4, 2009 BSD