diff options
author | rafan <rafan@FreeBSD.org> | 2007-01-20 07:32:02 +0000 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-01-20 07:32:02 +0000 |
commit | a35ca3ffa07d253f729abfe49e019438658f9333 (patch) | |
tree | 1351fbc560fb430cd5e493287f4950d583f23af3 /contrib/ncurses/tack/modes.c | |
parent | 61ebc4fdc6ffaff63296473b0fef0ff5e17067f7 (diff) | |
parent | de9cbef68d4c3ea6cd003ce086e2d3487600ace7 (diff) | |
download | FreeBSD-src-a35ca3ffa07d253f729abfe49e019438658f9333.zip FreeBSD-src-a35ca3ffa07d253f729abfe49e019438658f9333.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r166124,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/ncurses/tack/modes.c')
-rw-r--r-- | contrib/ncurses/tack/modes.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/contrib/ncurses/tack/modes.c b/contrib/ncurses/tack/modes.c index f370ba8..b202fa0 100644 --- a/contrib/ncurses/tack/modes.c +++ b/contrib/ncurses/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 <tack.h> -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(); |