Main > Programming > Libraries >

Libptytty 1.2

Libptytty 1.2

Sponsored Links

Libptytty 1.2 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.20 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 812
Date added: 2007-08-03

Libptytty 1.2 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);
Enhancements:
- 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.

Libptytty 1.2 Screenshot

Advertisements

Libptytty 1.2 Keywords

Bookmark Libptytty 1.2

Hyperlink code:
Link for forum:

Libptytty 1.2 Copyright

WareSeeker periodically updates pricing and software information of Libptytty 1.2 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Libptytty 1.2 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Version History
Related Software
IO::Pty is a pseudo TTY object class. Free Download
IO::Tty is a Perl module to low-level allocate a pseudo-Tty, import constants. Free Download
libpcg is a small library for procedural content generation. Free Download
libutempter provides a library interface for terminal emulators such as screen and xterm. Free Download
beep is a console bell. Free Download
Bluetrait is a weblog tool. Free Download
THC-Rut is your first knife on foreign network. Free Download
Lua is an extensible extension language. Free Download