Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 1995 02:15:28 +0400 (MSD)
From:      "Andrey A. Chernov, Black Mage" <ache@astral.msk.su>
To:        "Jordan K. Hubbard" <jkh@freefall.cdrom.com>
Cc:        CVS-commiters@freefall.cdrom.com, cvs-user@freefall.cdrom.com
Subject:   Re: cvs commit: src/release/sysinstall label.c
Message-ID:  <WB0YHllSlA@astral.msk.su>
In-Reply-To: <25354.800899281@freefall.cdrom.com>; from "Jordan K. Hubbard" at Fri, 19 May 1995 09:01:21 -0700
References:  <25354.800899281@freefall.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <25354.800899281@freefall.cdrom.com> Jordan K. Hubbard
    writes:

>Transition to A_BOLD, print a line of text, transition to A_NORMAL
>(after the newline) and then immediately transition to A_REVERSE,
>print a line, transition to A_NORMAL.  The bold line of text will have
>its first world _not_ in bold (even though it makes no sense why) and
>the next line will NOT be in A_REVERSE.

Jordan, I try following program (not from 2.x console but from remote
1.1.5.1 console due to my location) and it show correct results.
So, I have a question: does this example follows your description
properly and what you see running it on 2.x console?

If you see good results too, please correct you description.
If you see bad results, it is syscons bug.

#include <ncurses.h>

main()
{
	initscr();
	attron(A_BOLD);
	addstr("word1 line1\n");
	attrset(A_NORMAL);
	attron(A_REVERSE);
	addstr("word2 line2\n");
	attrset(A_NORMAL);
	refresh();
	endwin();
}

-- 
Andrey A. Chernov        : And I rest so composedly,  /Now, in my bed,
ache@astral.msk.su       : That any beholder  /Might fancy me dead -
FidoNet: 2:5020/230.3    : Might start at beholding me,  /Thinking me dead.
RELCOM Team,FreeBSD Team :         E.A.Poe         From "For Annie" 1849



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