Libptytty

Description

Libptytty is a small library that offers pseudo-TTY management in an OS-independent way. It was created out of frustration over the many differences of PTY/TTY handling in different operating systems for use inside "rxvt-unicode". It also offers session database support (utmp and optional wtmp/lastlog updates for login shells) and supports forking after startup and dropping privileges in the calling process. It offers C++ and C-only APIs. SYNOPSIS: cc ... -lptytty #include // C++ ptytty *pty = ptytty::create (); if (!pty->get ()) // error allocating pty if (we want utmp) pty->login (process_pid, 0, "remote.host"); else if (we want utmp AND wtmp/lastlog) pty->login (process_pid, 1, "remote.host"); // we are done with it delete pty; // C PTYTTY pty = ptytty_create (); if (!ptytty_get (pty)) // error allocating pty if (we want utmp) ptytty_login (pty, process_pid, 0, "remote.host"); else if (we want utmp AND wtmp/lastlog) ptytty_login (pty, process_pid, 1, "remote.host"); // we are done with it ptytty_delete (pty); Whats New in This Release: · This release fixes libptytty on systems that dont support TIOCSCTTY (such as Cygwin and Solaris). · It works around a bug in some openpty implementations by using ttyname again. · A small memory leak when _getpty is being used was fixed..

Os - We Want - Small Library - Pty - Offers - Process - Small - Utmp - Login - Libptytty - Libraries - Programming

Published By:Emanuele Giaquinta & Marc A. Lehmann

License Type:Freeware

Date Added:22 October, 2010

Version:1.2

Price:Free

Downloads:85

Size:204.8 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

Arj project is an open source version of the arj archiver. This version has been created with the intent to preserve maximum compatibility and retain the feature set of original ARJ archiver as provided by ARJ Software, Inc.

DateSep 13, 2010

AuthorARJ Software Russia

Size430.1 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Utilities

Basilisk II is a free, portable, Open Source 68k Mac emulator. It requires a copy of a 512K or 1MB Mac ROM and a copy of MacOS 7.x or 8.x to run..

DateAug 25, 2010

AuthorChristian Bauer

Size665.6 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Utilities

Lutz provides a fast and small port scanner with stealth scanning and OS detection. Lutz is a fast and small stealth port scanner, similar to nmap. It has the most popular scanning options (SYN, FIN, XMAS Scan, PROTO Scan, etc.

DateAug 29, 2010

AuthorChristian Eichelmann

Size102.4 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

Perl OS is a program written in the Perl programming language combined with the Perl module Tk. Perl OS was created to make an easy interface to run Perl/Tk programs.

DateOct 12, 2010

AuthorDaniil Kulchenko

Size143.4 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Utilities

JAlbum is a gallery software that makes web albums of your digital images. JAlbum aims to be the easiest to use and most powerful tool in this category - and free!

DateSep 16, 2010

AuthorDavid Ekholm

Size13.6 MB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet