getty_ps2.0.7 ... cure for the serial login blues

getty_ps2.0.7 ... cure for the serial login blues

Post by Kris Gleas » Tue, 20 Apr 1993 00:35:27



GETTY_PS 2.0.7
---------------

This is the new version of getty_ps for Linux kernels 0.99.5 and higher.
The code has been changed to allow cooperation with the new callout devices
that come with 0.99.5.  

FEATURES:
    New for 2.0.7:
        o  WAITFOR is back.  It is possible to negotiate all connections
           in software instead of requiring the modem to be set up to
           auto answer.
        o  Shane Alderton's ringback patches are in.  Ringback mode allows
           a phone line to be easily shared between voice and computer
           connections.  To initiate a ringback call, call the line... let
           the phone ring once, then call back and getty will answer;
           otherwise it will not.
    Standard features:
        o  Getty can be scheduled to be active only during specified time
           intervals, and inactive the rest of the time.
        o  Getty no longer assumes control of the serial line, so that
           other devices can use it.
        o  Default terminal type can be specified on the command line
        o  Getty performs modem initialization at startup, so that your
           modem is configured correctly for incoming calls.
        o  Highly configurable interface to allow for different modem
           speeds and configurations, and different /etc/issue type files
           for different lines.
        o  Uugetty reinitializes the modem if another program uses the
           line.

Version 2.0.6b had two major bugs:  job control was not handled correctly
when used with sysvinit, and uugetty caused the DTR line on modems to
flicker.  Both of these problems have been fixed.

I have uploaded a complete set of sources and sample configuration files to
sunsite.unc.edu and tsx-11.mit.edu.  Also included are binaries compiled
with gcc 2.3.3, version 4.3.3 of the c-libraries.

The relevant file is getty_ps2.0.7.tar.z.  It is currently in the Incoming
directories at both sites.  It should be moved into /pub/linux/sources/sbin
at tsx-11.mit.edu, and /pub/Linux/system/Serial at sunsite.unc.edu.  These
files replace all files marked version 2.0.6, 2.0.6a, and 2.0.6b.

Kris Gleason

--

  HARDWARE (noun):  The equipment that makes up a
  computer system, not to be confused with software

 
 
 

getty_ps2.0.7 ... cure for the serial login blues

Post by Kris Gleas » Thu, 22 Apr 1993 14:26:38


[ Moderator's note: this is a correction / replacement for the earlier
  announcement.  Ignore that one, use this one.   --liw ]

I have updated the getty_ps2.0.7 package to getty_ps2.0.7a.
There was a stupid bug in the 2.0.7 source.  Those of you who
already have the source can apply the following diff to bring
your code up to 2.0.7a.

Enclosed File: getty_ps2.0.7a.diff
BEGIN-----------8<---------CUT HERE---------8<---------------
*** main.c.orig Tue Apr 20 00:05:22 1993
--- main.c      Tue Apr 20 00:05:41 1993
***************
*** 368,373 ****
--- 368,374 ----
  /* construct /dev/ names for the lines
  */
        (void) sprintf(devname, "/dev/%s", Device);
+       if(strequal(InitDevice, "unknown")) InitDevice = Device;
        (void) sprintf(initdevname, "/dev/%s", InitDevice);

  #ifdef UUGETTY
***************
*** 499,505 ****
  */

        if((init) || (waitchar)) {
!               while(((fd = open(devname, O_RDWR | O_NDELAY)) < 0) &&
                  (errno == EBUSY)) sleep(30);
                if(fd < 0) {
                        logerr("cannot open init line");
--- 499,505 ----
  */

        if((init) || (waitchar)) {
!               while(((fd = open(initdevname, O_RDWR | O_NDELAY)) < 0) &&
                  (errno == EBUSY)) sleep(30);
                if(fd < 0) {
                        logerr("cannot open init line");
END-------------8<---------CUT HERE---------8<---------------

Kris
--

  HARDWARE (noun):  The equipment that makes up a
  computer system, not to be confused with software

 
 
 

1. getty_ps2.0.7 SCHED Patch

   If you saved the recent patch to getty_ps 2.0.7b which corrected a bug in
either parsing the "SCHED" keyword or in the scheduling code itself, would you
mind forwarding me a copy of it?

   I'm current toggling the system run level between two values to enable and
disable dial-ins but prefer to use the built-in SCHED mechanism.

   Thank you.

--
Andy Piziali                                                    |
                                                  ________------+------________


2. Problem with Ethernet Support

3. getty_ps2.0.7 Still my modem does not accepts dial-ins.

4. g++, slackware 3.0, and X libs...

5. Getty_ps2.0.7 and ringback

6. 386 vs 686 rpms

7. Cure to those Adaptec Blues...

8. Help - Occasional Floating Pt. Exception dumps core??

9. Free CD of ur choice for curing my PPP blues

10. DOC? Cure for wp/linux blues?

11. : Strange login delay under 2.4.0-test9, is there a cure?

12. wmf 0.7 - converting mails to html

13. linux kernel conf 0.7