Imported from conserver-7.1.3.tar.gz

This commit is contained in:
Bryan Stansell 2001-10-16 21:33:13 -07:00
parent d8b3cd4fb9
commit d113cab186
9 changed files with 68 additions and 54 deletions

View File

@ -1,6 +1,13 @@
CHANGES CHANGES
======= =======
version 7.1.3 (Oct 16, 2001):
- NetBSD 1.5 termios bug/compatibility - patch by Andreas Wrede
<aew.conserver@planix.com>
- Missing quotes broke ^ecl1 code - reported by William Charles
<william.charles@db.com>
- Alternate break code didn't exist for local ports
version 7.1.2 (Oct 15, 2001): version 7.1.2 (Oct 15, 2001):
- fixed line-based timestamp code - reported by Benn Oshrin - fixed line-based timestamp code - reported by Benn Oshrin
<benno@columbia.edu> <benno@columbia.edu>
@ -240,5 +247,5 @@ before version 6.05:
and enhancements of various types were applied. and enhancements of various types were applied.
# #
# $Id: CHANGES,v 1.48 2001-10-15 22:37:08-07 bryan Exp $ # $Id: CHANGES,v 1.50 2001-10-16 21:32:33-07 bryan Exp $
# #

View File

@ -61,6 +61,7 @@ Detailed Instructions
--with-maxmemb=MAXMEMB Specify maximum consoles per process [16] --with-maxmemb=MAXMEMB Specify maximum consoles per process [16]
--with-maxgrp=MAXGRP Specify maximum number of processes [32] --with-maxgrp=MAXGRP Specify maximum number of processes [32]
--with-timeout=TIMEOUT Specify connect() timeout in seconds [10] --with-timeout=TIMEOUT Specify connect() timeout in seconds [10]
--with-libwrap[=PATH] Compile in libwrap (tcp_wrappers) support
Not surprisingly, some match the old conserver/cons.h items...here Not surprisingly, some match the old conserver/cons.h items...here
they are for reference: they are for reference:
@ -119,5 +120,5 @@ Detailed Instructions
- That's it! Just start up the console server and enjoy! - That's it! Just start up the console server and enjoy!
# #
# $Id: INSTALL,v 1.18 2001-08-04 21:11:09-07 bryan Exp $ # $Id: INSTALL,v 1.19 2001-10-15 23:22:03-07 bryan Exp $
# #

3
TODO
View File

@ -53,6 +53,7 @@ Bryan Stansell
- alternate break (^ecl2) sends 'CR-~-^B' sequence (solaris 8 default) - alternate break (^ecl2) sends 'CR-~-^B' sequence (solaris 8 default)
- probably should be able to redefine it like the escape sequence - probably should be able to redefine it like the escape sequence
- to support older alt-break code it would need .5 second delays - to support older alt-break code it would need .5 second delays
- ^ecl1 should really just "do the right thing" based on config file
- aliases for console entries - aliases for console entries
@ -112,5 +113,5 @@ Bryan Stansell
things) once instead of leaving it down. things) once instead of leaving it down.
# #
# $Id: TODO,v 1.15 2001-10-15 17:19:17-07 bryan Exp $ # $Id: TODO,v 1.16 2001-10-16 00:13:27-07 bryan Exp $
# #

View File

@ -167,10 +167,10 @@ contrast for yourself.
<P> <P>
The current version, released on RELEASE_DATE, is <A The current version, released on RELEASE_DATE, is <A
HREF="http://www.conserver.com/7.1.2.tar.gz"> HREF="http://www.conserver.com/7.1.3.tar.gz">
7.1.2.tar.gz</A>. You can get it via <A 7.1.3.tar.gz</A>. You can get it via <A
HREF="ftp://ftp.conserver.com/conserver/7.1.2.tar.gz">FTP</A> HREF="ftp://ftp.conserver.com/conserver/7.1.3.tar.gz">FTP</A>
or <A HREF="http://www.conserver.com/7.1.2.tar.gz">HTTP</A>. or <A HREF="http://www.conserver.com/7.1.3.tar.gz">HTTP</A>.
See the <A HREF="http://www.conserver.com/CHANGES">CHANGES</A> file for See the <A HREF="http://www.conserver.com/CHANGES">CHANGES</A> file for
information on the latest updates. information on the latest updates.
</P> </P>

View File

@ -1,5 +1,5 @@
/* /*
* $Id: consent.c,v 5.70 2001-08-28 15:23:04-07 bryan Exp $ * $Id: consent.c,v 5.71 2001-10-16 12:02:30-07 bryan Exp $
* *
* Copyright conserver.com, 2000-2001 * Copyright conserver.com, 2000-2001
* *
@ -204,11 +204,11 @@ TtyDev(pCE)
termp.c_cflag |= pCE->pparity->iset; termp.c_cflag |= pCE->pparity->iset;
termp.c_lflag = 0; termp.c_lflag = 0;
/* /*
* Set the VMIN == 128 * Set the VMIN == 1
* Set the VTIME == 1 (0.1 sec) * Set the VTIME == 1 (0.1 sec)
* Don't bother with the control characters as they are not used * Don't bother with the control characters as they are not used
*/ */
termp.c_cc[VMIN] = 128; termp.c_cc[VMIN] = 1;
termp.c_cc[VTIME] = 1; termp.c_cc[VTIME] = 1;
if (-1 == cfsetospeed(&termp, pCE->pbaud->irate)) { if (-1 == cfsetospeed(&termp, pCE->pbaud->irate)) {

View File

@ -1,5 +1,5 @@
/* /*
* $Id: group.c,v 5.138 2001-10-15 17:17:27-07 bryan Exp $ * $Id: group.c,v 5.140 2001-10-16 21:29:01-07 bryan Exp $
* *
* Copyright conserver.com, 2000-2001 * Copyright conserver.com, 2000-2001
* *
@ -1311,59 +1311,64 @@ Kiddie(pGE, sfd)
/* send a break /* send a break
*/ */
if (pCEServing->isNetworkConsole) { if (acIn[i] == '1') {
if (acIn[i] == 1) { Debug("Sending a break to %s",
pCEServing->server);
if (pCEServing->isNetworkConsole) {
char haltseq[2]; char haltseq[2];
haltseq[0] = IAC; haltseq[0] = IAC;
haltseq[1] = BREAK; haltseq[1] = BREAK;
write(pCEServing->fdtty, haltseq, 2); write(pCEServing->fdtty, haltseq, 2);
} else { } else {
char haltseq[3];
/* The default Solaris 8 `alternate' break... */
haltseq[0] = 0x0D; /* CR */
haltseq[1] = 0x7E; /* Tilde */
haltseq[2] = 0x02; /* Ctrl-B */
write(pCEServing->fdtty, haltseq, 3);
}
} else {
#if HAVE_TERMIO_H #if HAVE_TERMIO_H
if (-1 == if (-1 ==
ioctl(pCEServing->fdtty, TCSBRK, ioctl(pCEServing->fdtty, TCSBRK,
(char *)0)) { (char *)0)) {
fileWrite(pCLServing->fd, "failed]\r\n", fileWrite(pCLServing->fd,
-1); "failed]\r\n", -1);
continue; continue;
} }
#else #else
# if HAVE_TCSENDBREAK # if HAVE_TCSENDBREAK
if (-1 == tcsendbreak(pCEServing->fdtty, 0)) { if (-1 ==
fileWrite(pCLServing->fd, "failed]\r\n", tcsendbreak(pCEServing->fdtty, 0)) {
-1); fileWrite(pCLServing->fd,
continue; "failed]\r\n", -1);
} continue;
}
# else # else
# if HAVE_TERMIOS_H # if HAVE_TERMIOS_H
if (-1 == if (-1 ==
ioctl(pCEServing->fdtty, TIOCSBRK, ioctl(pCEServing->fdtty, TIOCSBRK,
(char *)0)) { (char *)0)) {
fileWrite(pCLServing->fd, "failed]\r\n", fileWrite(pCLServing->fd,
-1); "failed]\r\n", -1);
continue; continue;
} }
fileWrite(pCLServing->fd, "- ", -1); fileWrite(pCLServing->fd, "- ", -1);
sleep(1); sleep(1);
if (-1 == if (-1 ==
ioctl(pCEServing->fdtty, TIOCCBRK, ioctl(pCEServing->fdtty, TIOCCBRK,
(char *)0)) { (char *)0)) {
fileWrite(pCLServing->fd, "failed]\r\n", fileWrite(pCLServing->fd,
-1); "failed]\r\n", -1);
continue; continue;
} }
# endif # endif
# endif # endif
#endif #endif
}
} else {
char haltseq[3];
Debug("Sending an alt-break to %s",
pCEServing->server);
/* The default Solaris 8 `alternate' break... */
haltseq[0] = 0x0D; /* CR */
haltseq[1] = 0x7E; /* Tilde */
haltseq[2] = 0x02; /* Ctrl-B */
write(pCEServing->fdtty, haltseq, 3);
} }
fileWrite(pCLServing->fd, "sent]\r\n", -1); fileWrite(pCLServing->fd, "sent]\r\n", -1);
continue; continue;

View File

@ -1,5 +1,5 @@
/* /*
* $Id: version.h,v 1.28 2001-10-15 16:59:50-07 bryan Exp $ * $Id: version.h,v 1.29 2001-10-16 21:08:28-07 bryan Exp $
* *
* Copyright conserver.com, 2000-2001 * Copyright conserver.com, 2000-2001
* *
@ -14,4 +14,4 @@
@(#) Copyright 2000 conserver.com.\n\ @(#) Copyright 2000 conserver.com.\n\
All rights reserved.\n" All rights reserved.\n"
#define THIS_VERSION "conserver.com version 7.1.2" #define THIS_VERSION "conserver.com version 7.1.3"

View File

@ -4,7 +4,7 @@
# #
%define pkg conserver %define pkg conserver
%define ver 7.1.2 %define ver 7.1.3
# define the name of the machine on which the main conserver # define the name of the machine on which the main conserver
# daemon will be running if you don't want to use the default # daemon will be running if you don't want to use the default

View File

@ -1,7 +1,7 @@
PKG="conserver" PKG="conserver"
NAME="Console server and client" NAME="Console server and client"
CATEGORY="system" CATEGORY="system"
VERSION="7.1.2" VERSION="7.1.3"
DESC="Console server and client" DESC="Console server and client"
CLASSES=none CLASSES=none
ARCH=sparc ARCH=sparc