X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=tack%2Fmodes.c;h=b202fa0e6d8894352861f8527fe6a6b72f38a758;hp=f370ba892cc63f2f9ddbeb419193bc5d762ba8fb;hb=027ae42953e3186daed8f3882da73de48291b606;hpb=0eb88fc5281804773e2a0c7a488a4452463535ce diff --git a/tack/modes.c b/tack/modes.c index f370ba89..b202fa0e 100644 --- a/tack/modes.c +++ b/tack/modes.c @@ -15,13 +15,13 @@ ** ** You should have received a copy of the GNU General Public License ** along with TACK; see the file COPYING. If not, write to -** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -** Boston, MA 02111-1307, USA. +** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +** Boston, MA 02110-1301, USA */ #include -MODULE_ID("$Id: modes.c,v 1.1 1998/01/10 00:29:53 tom Exp $") +MODULE_ID("$Id: modes.c,v 1.3 2006/11/26 00:16:21 tom Exp $") /* * Tests boolean flags and terminal modes. @@ -760,16 +760,16 @@ subtest_mir( i = line_count; put_str("\nXXX\nXXX\nXXX\nXXX"); tc_putp(enter_insert_mode); - s = tparm(cursor_address, i + 1, 0); + s = TPARM_2(cursor_address, i + 1, 0); tputs(s, lines, tc_putch); putchp('X'); - s = tparm(cursor_address, i + 2, 1); + s = TPARM_2(cursor_address, i + 2, 1); tputs(s, lines, tc_putch); putchp('X'); - s = tparm(cursor_address, i + 3, 2); + s = TPARM_2(cursor_address, i + 3, 2); tputs(s, lines, tc_putch); putchp('X'); - s = tparm(cursor_address, i + 4, 3); + s = TPARM_2(cursor_address, i + 4, 3); tputs(s, lines, tc_putch); putchp('X'); tc_putp(exit_insert_mode); @@ -812,7 +812,7 @@ subtest_msgr( (enter_alt_charset_mode && exit_alt_charset_mode))) { put_crlf(); i = line_count + 1; - tputs(tparm(cursor_address, i, 0), lines, tc_putch); + tputs(TPARM_2(cursor_address, i, 0), lines, tc_putch); put_mode(enter_alt_charset_mode); put_crlf(); /* @@ -826,11 +826,11 @@ subtest_msgr( put_mode(exit_alt_charset_mode); put_mode(enter_standout_mode); putchp('X'); - tputs(tparm(cursor_address, i + 2, 1), lines, tc_putch); + tputs(TPARM_2(cursor_address, i + 2, 1), lines, tc_putch); putchp('X'); - tputs(tparm(cursor_address, i + 3, 2), lines, tc_putch); + tputs(TPARM_2(cursor_address, i + 3, 2), lines, tc_putch); putchp('X'); - tputs(tparm(cursor_address, i + 4, 3), lines, tc_putch); + tputs(TPARM_2(cursor_address, i + 4, 3), lines, tc_putch); putchp('X'); put_mode(exit_standout_mode); put_crlf();