Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2018 02:01:25 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r331475 - in head/stand: efi/libefi i386/libi386
Message-ID:  <201803240201.w2O21P1d090791@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Sat Mar 24 02:01:25 2018
New Revision: 331475
URL: https://svnweb.freebsd.org/changeset/base/331475

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

Modified:
  head/stand/efi/libefi/efi_console.c
  head/stand/i386/libi386/vidconsole.c

Modified: head/stand/efi/libefi/efi_console.c
==============================================================================
--- head/stand/efi/libefi/efi_console.c	Sat Mar 24 01:53:43 2018	(r331474)
+++ head/stand/efi/libefi/efi_console.c	Sat Mar 24 02:01:25 2018	(r331475)
@@ -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: head/stand/i386/libi386/vidconsole.c
==============================================================================
--- head/stand/i386/libi386/vidconsole.c	Sat Mar 24 01:53:43 2018	(r331474)
+++ head/stand/i386/libi386/vidconsole.c	Sat Mar 24 02:01:25 2018	(r331475)
@@ -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?201803240201.w2O21P1d090791>