Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2019 02:14:42 +0000 (UTC)
From:      Bruce Evans <bde@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r344331 - head/sys/teken
Message-ID:  <201902200214.x1K2EgNF064162@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bde
Date: Wed Feb 20 02:14:41 2019
New Revision: 344331
URL: https://svnweb.freebsd.org/changeset/base/344331

Log:
  Attempt to complete fixing programmable function keys for syscons.
  
  The flag for the driver capability of supporting the fix is independent
  of the flag for cons25 mode so that it can be managed independently, but
  I forget to preserve it when resetting the terminal.

Modified:
  head/sys/teken/teken_subr.h

Modified: head/sys/teken/teken_subr.h
==============================================================================
--- head/sys/teken/teken_subr.h	Wed Feb 20 01:12:59 2019	(r344330)
+++ head/sys/teken/teken_subr.h	Wed Feb 20 02:14:41 2019	(r344331)
@@ -1000,7 +1000,7 @@ teken_subr_do_reset(teken_t *t)
 	t->t_scrollreg.ts_begin = 0;
 	t->t_scrollreg.ts_end = t->t_winsize.tp_row;
 	t->t_originreg = t->t_scrollreg;
-	t->t_stateflags &= TS_8BIT|TS_CONS25;
+	t->t_stateflags &= TS_8BIT | TS_CONS25 | TS_CONS25KEYS;
 	t->t_stateflags |= TS_AUTOWRAP;
 
 	t->t_scs[0] = teken_scs_us_ascii;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902200214.x1K2EgNF064162>