Git Product home page Git Product logo

getty's Introduction

Minix getty

Very simple C implementation of a UNIX getty, originally from Minix. Initialize and serve a login-terminal for INIT. Also, select the correct speed.

Usage:

getty [-h] [speed]

It is expected that the init that spawns getty has first opened up the TTY and set up STDIN, OUT and ERR.

Origin & References

The original version of this getty stems back to the early 1990's. It was written by Fred van Kempen. It later found its way to Minix, which adopted version 3.4, 02/17/90, and started stripping it down to much of what is its current form. The software was open sourced along with the rest of Minix under the 3-clause BSD license in April, 2000.

This version has been extended and in critical parts rewritten to suit any UNIX system.

ChangeLog

  • All the good stuff removed to get a minimal getty, because many modems don't like all that fancy speed detection stuff. 03/03/91 Kees J. Bot mailto:[email protected]

  • Uname(), termios. More nonsense removed. (The result has only 10% of the original functionality, but a 10x chance of working.) 12/12/92 Kees J. Bot mailto:[email protected]

  • Customizable login banner. 11/13/95 Kees J. Bot mailto:[email protected]

  • Suspend/resume signals removed. 2001-04-04 Kees J. Bot mailto:[email protected]

  • Removed unused custom banner and returned speed option functionality (by simply calling stty). 2012-09-24 T. Veerman

  • Refactored banner code to read std /etc/issue instead. Refactored speed handling to use direct termios instead of stty. 2016-07-27 J. Nilsson mailto:[email protected]

  • Add support for Ctrl-U on login: prompt, fix build warnings, use std err.h functions for error handling. And more. 2017-09-05 J. Nilsson mailto:[email protected]

getty's People

Contributors

troglobit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.