SCCS-vsn: usr.bin/tn3270/sys_curses/termout.c 3.6
-static char sccsid[] = "@(#)termout.c 3.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)termout.c 3.6 (Berkeley) %G%";
#endif /* not lint */
#if defined(unix)
#endif /* not lint */
#if defined(unix)
int bellwinup = 0; /* Are we up with it or not */
#if defined(unix)
int bellwinup = 0; /* Are we up with it or not */
#if defined(unix)
+static char *myKS, *myKE;
#endif /* defined(unix) */
#endif /* defined(unix) */
* be nice, but it messes us up.
*/
signal(SIGTSTP, SIG_DFL);
* be nice, but it messes us up.
*/
signal(SIGTSTP, SIG_DFL);
- if ((KS = tgetstr("ks", &lotsofspace)) != 0) {
- KS = strsave(KS);
- StringToTerminal(KS);
+ if ((myKS = tgetstr("ks", &lotsofspace)) != 0) {
+ myKS = strsave(myKS);
+ StringToTerminal(myKS);
- if ((KE = tgetstr("ke", &lotsofspace)) != 0) {
- KE = strsave(KE);
+ if ((myKE = tgetstr("ke", &lotsofspace)) != 0) {
+ myKE = strsave(myKE);
}
if (tgetstr("md", &lotsofspace) && tgetstr("me", &lotsofspace)) {
SO = strsave(tgetstr("md", &lotsofspace));
}
if (tgetstr("md", &lotsofspace) && tgetstr("me", &lotsofspace)) {
SO = strsave(tgetstr("md", &lotsofspace));
endwin();
setconnmode();
#if defined(unix)
endwin();
setconnmode();
#if defined(unix)
- if (KE) {
- StringToTerminal(KE);
+ if (myKE) {
+ StringToTerminal(myKE);
}
#endif /* defined(unix) */
if (doNewLine) {
}
#endif /* defined(unix) */
if (doNewLine) {
{
if (screenInitd) {
#if defined(unix)
{
if (screenInitd) {
#if defined(unix)
- if (KS) {
- StringToTerminal(KS);
+ if (myKS) {
+ StringToTerminal(myKS);
}
#endif /* defined(unix) */
RefreshScreen();
}
#endif /* defined(unix) */
RefreshScreen();