Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.402.269 Times

Libptytty 1.2

  Date Added: March 05, 2010  |  Visits: 526

Libptytty

Report Broken Link
Printer Friendly Version


Product Homepage
Download (72 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Libptytty Libraries Login Offers Os Process Programming Pty Small Small Library Utmp We Want
Users rating: 0/10

License: Freeware Size: 204.8 KB
USER REVIEWS
More Reviews or Write Review


LIBPTYTTY RELATED
Libraries  -  libbsl 0.9.1
libbsl (Basic System Library) is a powerful, easy to use and fully thread safe C++ template class library for frequently recurring (machine/OS oriented) programming problems. All fundamental objects in libbsl are freely copyable and shareable...
1.04 MB  
ActiveX Components  -  Visual Programming Armoury 1.23
Terminal-Complex Ltd offers you Visual Programming Armoury for C++ and Java - a heavy-duty tool of a software developer's trade. TCVPA is dedicated for professionals who employ object-oriented methodology, client-server computing,...
2.8 MB  
Audio Tools  -  impromptu for Mac OS 2.5
An OS X programming environment for composers, sound artists, VJs and graphic artists with an interest in live or interactive programming. Impromptu is a Scheme language environment, a member of the Lisp family of languages. Time plays a major...
10 MB  
Utilities  -  Opened Process Manager 1.0.0.0
Opened Process Manager is a small and very easy to use application that can display opened programs on your selected drive(s) and let you terminate them. Opened Process Manager has a simple and comprehensive interface that will quickly guide you...
 
Utilities  -  Dylan Code Collection 1.7
A collection of useful libraries written in the Dylan programming language. The intent of this project is to provide easily accessible libraries for people developing applications using Functional Developer and/or Gwydion Dylan.
673.63 KB  
Programming  -  kin 0.0.2
kin is a set of libraries and tools supporting meta-programming for engineering and technical computing applications. This JVM version of kin has been superseded by the stand-alone version being developed at http://purl.org/net/kin.
477.44 KB  
Science  -  PyDespike 1.0.0
PyDespike is a cross platform (Windows, Mac, Linux) program written in Python using the PyQt and PyQwt libraries used to graphically process (despike) raman or other spectroscopic data in an efficient manner.
3.21 MB  
Libraries  -  Pypeline 0.1
Pypeline was designed using the Python programming language as a library for processing text, from a variety of markup formats, into HTML. There are a wide variety of plain text-based syntaxes for generating documentation, including HTML....
 
Strategy Games  -  Rogue for OS X 1.0
Command-line (Terminal) version of Rogue for Mac OS X using its default curses library. Archive includes both a UNIX makefile and a Project Builder project file to build the application. Explore dungeons! Collect gold! Fight monsters (and boredom!)
276.13 KB  
Education  -  CCS Libraries 1.01
CCS Libraries makes it quick and easy to access your library on the go! Search your librarys catalog, download items, manage your account, and find suggested reading instantly with your iOS device. Top Features Search the local library...
12.1 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB