Name : perl-Terminal-Identify
| |
Version : 0.14
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.1
| Date : 2022-10-24 07:39:56
|
Group : Unspecified
| Source RPM : perl-Terminal-Identify-0.14-1.1.src.rpm
|
Size : 0.04 MB
| |
Packager : (none)
| |
Summary : Perl extension for identifying the terminal emulator
|
Description :
The main objective of this package is to provide a method which is capable of identifying the terminal emulator a logged-in user is actual using.
In addition to the terminal emulator, the system console and a remote console are also recognised.
The logged-in user is related to a valid login shell directly. The login shell of the logged-in user as well as the logged-in user is determined. Next the terminal path to the pseudo terminal slave (pts) is identified.
Based on the previously informations the related process of the logged-in user, the login shell and the terminal path is determined. The evaluation of the PID of the process of the current running Perl script results in the PPID. The command related to this PPID is the name of the terminal emulator in use.
The package works together with different terminal emulators. When terminal emulators are spawned from an initial invoked terminal emulator, each terminal emulator is correctly recognised.
If the logged-in user changes during the session, this is recognised. Also using the sudo command does not affect the recognition of the terminal emulator.
The terminal emulator in use by the logged-in user can be identified by the main command \'whichterminalami()\' or the other defined aliases.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/openSUSE_Tumbleweed/noarch |