rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* Minor patch for READLINE users
@ 1992-03-05 20:53 Tom Culliton x2278
  0 siblings, 0 replies; only message in thread
From: Tom Culliton x2278 @ 1992-03-05 20:53 UTC (permalink / raw)
  To: rc

*** var.bak	Thu Mar  5 15:49:08 1992
--- var.c	Thu Mar  5 15:49:36 1992
***************
*** 19,25 ****
  	new->def = newdef;
  	new->extdef = NULL;
  #ifdef READLINE /* need to reset readline() every time TERM or TERMCAP changes */
! 	if (interactive && streq(name, "TERM") || streq(name, "TERMCAP")) {
  		extern void rl_reset_terminal(char *);
  		rl_reset_terminal(NULL);
  	}
--- 19,25 ----
  	new->def = newdef;
  	new->extdef = NULL;
  #ifdef READLINE /* need to reset readline() every time TERM or TERMCAP changes */
! 	if (interactive && (streq(name, "TERM") || streq(name, "TERMCAP"))) {
  		extern void rl_reset_terminal(char *);
  		rl_reset_terminal(NULL);
  	}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1992-03-06  5:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1992-03-05 20:53 Minor patch for READLINE users Tom Culliton x2278

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).