lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev Lynx 2-8-1 patch


From: George Lindholm
Subject: lynx-dev Lynx 2-8-1 patch
Date: Wed, 03 Feb 1999 13:47:24 -0800

Hi,
   I needed to be able to tell lynx to use my special telnet program

  George

-- 
address@hidden       ITServices, UBC

phone:    604.822.4375       For information about Ballroom dance music:
fax:      604.822.5116       http://www.interchange.ubc.ca/lindholm
*** configure.in        1998/11/07 00:09:17     1.1
--- configure.in        1998/12/21 23:13:34
***************
*** 129,134 ****
--- 129,137 ----
  CF_PATH_PROG(UUDECODE,        uudecode)
  CF_PATH_PROG(ZCAT,    zcat)
  CF_PATH_PROG(ZIP,     zip)
+ CF_PATH_PROG(TELNET,  telnet)
+ CF_PATH_PROG(TN3270,  tn3270)
+ CF_PATH_PROG(RLOGIN,  rlogin)
  
  dnl 'INSTALL' is a special case, since the configure script has to find a
  dnl BSD-compatible one so the build/install works properly.
*** config.hin  1998/12/21 22:32:37     1.1
--- config.hin  1998/12/21 23:04:46
***************
*** 92,105 ****
--- 92,108 ----
  #undef OK_UUDECODE            /* CF_ARG_DISABLE(dired-uudecode) */
  #undef OK_ZIP                 /* CF_ARG_DISABLE(dired-zip) */
  #undef RM_PATH                        /* CF_PATH_PROG(rm) */
+ #undef RLOGIN_PATH            /* CF_PATH_PROG(rlogin) */
  #undef SOCKS                  /* CF_SOCKS, CF_SOCKS5 */
  #undef STDC_HEADERS
  #undef SYSLOG_REQUESTED_URLS  /* CF_ARG_ENABLE(syslog) */
  #undef SYSTEM_MAIL            /* CF_DEFINE_PROG */
  #undef SYSTEM_MAIL_FLAGS      /* defined by CF_SYSTEM_MAIL_FLAGS */
  #undef TAR_PATH                       /* CF_PATH_PROG(tar) */
+ #undef TELNET_PATH            /* CF_PATH_PROG(telnet) */
  #undef TERMIO_AND_CURSES      /* CF_TERMIO_AND_CURSES workaround */
  #undef TERMIO_AND_TERMIOS     /* CF_TERMIO_AND_TERMIOS workaround */
+ #undef TN3270_PATH            /* CF_PATH_PROG(tn3270) */
  #undef TOUCH_PATH             /* CF_PATH_PROG(touch) */
  #undef ULTRIX                 /* config.sub */
  #undef UNCOMPRESS_PATH                /* CF_PATH_PROG(gunzip) */
*** userdefs.h  1998/11/07 00:09:17     1.1
--- userdefs.h  1998/11/07 00:13:22
***************
*** 293,313 ****
  #define PERSONAL_MAILCAP ".mailcap"
  
  /**************************
-  * the full path and name of the telnet command
-  */
- #define TELNET_COMMAND "telnet"
- 
- /**************************
-  * the full path and name of the tn3270 command
-  */
- #define TN3270_COMMAND "tn3270"
- 
- /**************************
-  * the full path and name of the rlogin command
-  */
- #define RLOGIN_COMMAND "rlogin"
- 
- /**************************
   * XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c for
   * viewing image content types when the DISPLAY environment variable
   * is set.  Make it the full path and name of the xli (also known as
--- 293,298 ----
*** WWW/Library/Implementation/HTTelnet.c       1999/02/03 21:40:59     1.1
--- WWW/Library/Implementation/HTTelnet.c       1999/02/03 21:40:07
***************
*** 30,36 ****
  #include <HTAccess.h>
  #include <HTAlert.h>
  
! #include <userdefs.h>  /* for TELNET_COMMAND and RLOGIN_COMMAND */
  
  #include <LYStrings.h>
  #include <LYLeaks.h>
--- 30,36 ----
  #include <HTAccess.h>
  #include <HTAlert.h>
  
! #include <userdefs.h>  /* for TELNET_PATH and RLOGIN_PATH */
  
  #include <LYStrings.h>
  #include <LYLeaks.h>
***************
*** 135,141 ****
   *            You may need to define this yourself.
   */
  #if   defined(NeXT) && defined(NeXTSTEP) && NeXTSTEP<=20100
!       sprintf(command, "%s%s%s %s %s", TELNET_COMMAND,
                user ? " -l " : "",
                user ? user : "",
                hostname,
--- 135,141 ----
   *            You may need to define this yourself.
   */
  #if   defined(NeXT) && defined(NeXTSTEP) && NeXTSTEP<=20100
!       sprintf(command, "%s%s%s %s %s", TELNET_PATH,
                user ? " -l " : "",
                user ? user : "",
                hostname,
***************
*** 151,168 ****
  #if defined(unix) || defined(DOSPATH)
  #ifndef TELNET_DONE
        if (login_protocol == rlogin) {
!           sprintf(command, "%s %s%s%s", RLOGIN_COMMAND,
                hostname,
                user ? " -l " : "",
                user ? user : "");
  
        } else if (login_protocol == tn3270) {
!           sprintf(command, "%s %s %s", TN3270_COMMAND,
                hostname,
                port ? port : "");
  
        } else {  /* TELNET */
!           sprintf(command, "%s %s %s", TELNET_COMMAND,
                hostname,
                port ? port : "");
        }
--- 151,168 ----
  #if defined(unix) || defined(DOSPATH)
  #ifndef TELNET_DONE
        if (login_protocol == rlogin) {
!           sprintf(command, "%s %s%s%s", RLOGIN_PATH,
                hostname,
                user ? " -l " : "",
                user ? user : "");
  
        } else if (login_protocol == tn3270) {
!           sprintf(command, "%s %s %s", TN3270_PATH,
                hostname,
                port ? port : "");
  
        } else {  /* TELNET */
!           sprintf(command, "%s %s %s", TELNET_PATH,
                hostname,
                port ? port : "");
        }

reply via email to

[Prev in Thread] Current Thread [Next in Thread]