Skip Menu |
 

Download (untitled) / with headers
text/plain 3.2KiB
From hartmans@MIT.EDU Mon Sep 30 01:11:20 1996
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id BAA23725 for <bugs@RT-11.MIT.EDU>; Mon, 30 Sep 1996 01:11:20 -0400
Received: from STARKILLER.MIT.EDU by MIT.EDU with SMTP
id AA00891; Mon, 30 Sep 96 01:11:19 EDT
Received: by starkiller.MIT.EDU (5.x/4.7) id AA17213; Mon, 30 Sep 1996 01:11:19 -0400
Message-Id: <9609300511.AA17213@starkiller.MIT.EDU>
Date: Mon, 30 Sep 1996 01:11:19 -0400
From: hartmans@MIT.EDU
Reply-To: "Jonathan I. Kamens" <jik@jik.tiac.net>
To: krb5-bugs@MIT.EDU
Subject: krb5b7: Add a support for an "INIT" stanza in .telnetrc
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 44
>Category: telnet
>Synopsis: init stanza in .telnetrc
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: hartmans
>State: open
>Class: change-request
>Submitter-Id: unknown
>Arrival-Date: Mon Sep e 01:12:00 EDT 1996
>Last-Modified:
>Originator: "Jonathan I. Kamens" <jik@jik.tiac.net>
>Organization:
mit
Show quoted text
>Release: 1.0-development
>Environment:

System: SunOS starkiller 5.4 Generic_101945-37 sun4m sparc


Show quoted text
>Description:
Here's another useful telnet feature implemented by Marc Horowitz. It
implements support for an "INIT" stanza in the user's .telnetrc file,
so that the user can set defaults that aren't associated with any
particular host.

Show quoted text
>How-To-Repeat:

Show quoted text
>Fix:

--- telnet/commands.c 1996/09/17 19:54:38 1.2
+++ telnet/commands.c 1996/09/17 19:55:36 1.3
@@ -2805,6 +2805,11 @@
return 0;
}

+void init_cmdrc()
+{
+ cmdrc("INIT", "INITIALIZE");
+}
+
static char *rcname = 0;
static char rcbuf[128];

@@ -2877,7 +2882,7 @@
continue;
}
/*
- * This should never happen...
+ * This can happen in the INIT stanza
*/
if (c->needconnect && !connected) {
printf("?Need to be connected first for %s.\r\n", margv[0]);
--- telnet/externs.h 1996/09/17 20:59:35 1.2.1.1
+++ telnet/externs.h 1996/09/17 20:00:35 1.2
@@ -263,6 +263,7 @@

extern void
command P((int, char *, int)),
+ init_cmdrc P((void)),
Dump P((int, unsigned char *, int)),
init_3270 P((void)),
printoption P((char *, int, int)),
--- telnet/main.c 1996/09/17 21:02:40 1.2.1.1
+++ telnet/main.c 1996/09/17 20:02:26 1.2
@@ -62,6 +62,8 @@
#if defined(TN3270)
init_3270();
#endif
+
+ init_cmdrc();
}

void
@@ -116,13 +118,13 @@
extern int auth_enable_encrypt;
#endif /* ENCRYPTION */

+ TerminalSaveState();
+
tninit(); /* Clear out things */
#if defined(CRAY) && !defined(__STDC__)
_setlist_init(); /* Work around compiler bug */
#endif

- TerminalSaveState();
-
if (prompt = strrchr(argv[0], '/'))
++prompt;
else
@@ -131,7 +133,6 @@
user = NULL;

rlogin = (strncmp(prompt, "rlog", 4) == 0) ? '~' : _POSIX_VDISABLE;
- autologin = -1;

while ((ch = getopt(argc, argv, "8EKLS:X:acde:fFk:l:n:rt:x")) != EOF) {
switch(ch) {
@@ -140,6 +141,7 @@
break;
case 'E':
rlogin = escape = _POSIX_VDISABLE;
+ autologin = -1;
break;
case 'K':
#ifdef AUTHENTICATION
@@ -258,6 +260,7 @@
break;
case 'r':
rlogin = '~';
+ autologin = -1;
break;
case 't':
#if defined(TN3270) && defined(unix)


Show quoted text
>Audit-Trail:
>Unformatted:
Download (untitled) / with headers
text/plain 3.4KiB
From tlyu@MIT.EDU Thu Oct 10 12:56:14 1996
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id MAA28965 for <bugs@RT-11.MIT.EDU>; Thu, 10 Oct 1996 12:56:13 -0400
Received: from TESLA-COIL.MIT.EDU by MIT.EDU with SMTP
id AA25000; Thu, 10 Oct 96 12:56:12 EDT
Received: by tesla-coil.MIT.EDU (5.x/4.7) id AA12292; Thu, 10 Oct 1996 12:56:11 -0400
Message-Id: <199609172107.RAA25313@jik.tiac.net>
Date: Tue, 17 Sep 1996 17:07:25 -0400
From: "Jonathan I. Kamens" <jik@jik.tiac.net>
To: krb5-bugs@MIT.EDU, kerberos@MIT.EDU
Subject: krb5b7: Add a support for an "INIT" stanza in .telnetrc

Show quoted text
>Number: 95
>Category: telnet
>Synopsis: krb5b7: Add a support for an "INIT" stanza in .telnetrc
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: hartmans
>State: closed
>Class: change-request
>Submitter-Id: unknown
>Arrival-Date: Thu Oct e 12:57:02 EDT 1996
>Last-Modified: Thu Oct e 13:15:40 EDT 1996
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:

Responsible-Changed-From-To: gnats-admin->hartmans
Responsible-Changed-By: tlyu
Responsible-Changed-When: Thu Oct 10 13:02:01 1996
Responsible-Changed-Why:
refiled

State-Changed-From-To: open-closed
State-Changed-By: tlyu
State-Changed-When: Thu Oct 10 13:15:24 1996
State-Changed-Why:
dup of telnet/44 (oops)

Show quoted text
>Unformatted:
Here's another useful telnet feature implemented by Marc Horowitz. It
implements support for an "INIT" stanza in the user's .telnetrc file,
so that the user can set defaults that aren't associated with any
particular host.

--- telnet/commands.c 1996/09/17 19:54:38 1.2
+++ telnet/commands.c 1996/09/17 19:55:36 1.3
@@ -2805,6 +2805,11 @@
return 0;
}

+void init_cmdrc()
+{
+ cmdrc("INIT", "INITIALIZE");
+}
+
static char *rcname = 0;
static char rcbuf[128];

@@ -2877,7 +2882,7 @@
continue;
}
/*
- * This should never happen...
+ * This can happen in the INIT stanza
*/
if (c->needconnect && !connected) {
printf("?Need to be connected first for %s.\r\n", margv[0]);
--- telnet/externs.h 1996/09/17 20:59:35 1.2.1.1
+++ telnet/externs.h 1996/09/17 20:00:35 1.2
@@ -263,6 +263,7 @@

extern void
command P((int, char *, int)),
+ init_cmdrc P((void)),
Dump P((int, unsigned char *, int)),
init_3270 P((void)),
printoption P((char *, int, int)),
--- telnet/main.c 1996/09/17 21:02:40 1.2.1.1
+++ telnet/main.c 1996/09/17 20:02:26 1.2
@@ -62,6 +62,8 @@
#if defined(TN3270)
init_3270();
#endif
+
+ init_cmdrc();
}

void
@@ -116,13 +118,13 @@
extern int auth_enable_encrypt;
#endif /* ENCRYPTION */

+ TerminalSaveState();
+
tninit(); /* Clear out things */
#if defined(CRAY) && !defined(__STDC__)
_setlist_init(); /* Work around compiler bug */
#endif

- TerminalSaveState();
-
if (prompt = strrchr(argv[0], '/'))
++prompt;
else
@@ -131,7 +133,6 @@
user = NULL;

rlogin = (strncmp(prompt, "rlog", 4) == 0) ? '~' : _POSIX_VDISABLE;
- autologin = -1;

while ((ch = getopt(argc, argv, "8EKLS:X:acde:fFk:l:n:rt:x")) != EOF) {
switch(ch) {
@@ -140,6 +141,7 @@
break;
case 'E':
rlogin = escape = _POSIX_VDISABLE;
+ autologin = -1;
break;
case 'K':
#ifdef AUTHENTICATION
@@ -258,6 +260,7 @@
break;
case 'r':
rlogin = '~';
+ autologin = -1;
break;
case 't':
#if defined(TN3270) && defined(unix)