Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2018 13:59:57 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r331615 - in stable/11/stand: efi/libefi i386/libi386
Message-ID:  <201803271359.w2RDxvxr048026@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Tue Mar 27 13:59:57 2018
New Revision: 331615
URL: https://svnweb.freebsd.org/changeset/base/331615

Log:
  MFC r331475: loader consoles: Implement SGR 24, 25
  
  Mostly for completeness sake- implement 24 (no underline) and 25 (no blink)

Modified:
  stable/11/stand/efi/libefi/efi_console.c
  stable/11/stand/i386/libi386/vidconsole.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/stand/efi/libefi/efi_console.c
==============================================================================
--- stable/11/stand/efi/libefi/efi_console.c	Tue Mar 27 13:09:35 2018	(r331614)
+++ stable/11/stand/efi/libefi/efi_console.c	Tue Mar 27 13:59:57 2018	(r331615)
@@ -386,6 +386,10 @@ efi_term_emu(int c)
 				case 22:	/* normal intensity */
 					fg_c &= ~0x8;
 					break;
+				case 24:	/* not underline */
+				case 25:	/* not blinking */
+					bg_c &= ~0x8;
+					break;
 				case 30: case 31: case 32: case 33:
 				case 34: case 35: case 36: case 37:
 					fg_c = ansi_col[args[i] - 30];

Modified: stable/11/stand/i386/libi386/vidconsole.c
==============================================================================
--- stable/11/stand/i386/libi386/vidconsole.c	Tue Mar 27 13:09:35 2018	(r331614)
+++ stable/11/stand/i386/libi386/vidconsole.c	Tue Mar 27 13:59:57 2018	(r331615)
@@ -452,6 +452,10 @@ vidc_term_emu(int c)
 		case 22:	/* normal intensity */
 		    fg_c &= ~0x8;
 		    break;
+		case 24:	/* not underline */
+		case 25:	/* not blinking */
+		    bg_c &= ~0x8;
+		    break;
 		case 30: case 31: case 32: case 33:
 		case 34: case 35: case 36: case 37:
 		    fg_c = ansi_col[args[i] - 30];



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