* xcurses.c: Remove.

* Makefile.in: Remove all references to xcurses.c.
This commit is contained in:
Pavel Roskin 2001-08-26 08:56:29 +00:00
parent 2be0ee1d25
commit 511a88a5bf
3 changed files with 7 additions and 60 deletions

View File

@ -1,3 +1,8 @@
2001-08-26 Pavel Roskin <proski@gnu.org>
* xcurses.c: Remove.
* Makefile.in: Remove all references to xcurses.c.
2001-08-24 Pavel Roskin <proski@gnu.org>
* user.h: Include "../edit/edit-widget.h", not

View File

@ -27,7 +27,7 @@ INSTALL_DATA = @INSTALL_DATA@
SRCS = dir.c util.c main.c screen.c dialog.c key.c keyxdef.c menu.c \
file.c win.c color.c help.c find.c profile.c user.c view.c \
ext.c mouse.c setup.c dlg.c option.c info.c \
tree.c widget.c chmod.c mad.c xcurses.c \
tree.c widget.c chmod.c mad.c \
wtools.c cons.handler.c chown.c subshell.c terms.c boxes.c \
hotlist.c achown.c layout.c fsusage.c mountlist.c regex.c \
complete.c slint.c command.c cmd.c panelize.c learn.c \
@ -53,7 +53,7 @@ OBJS = dir.o util.o screen.o dialog.o key.o keyxdef.o menu.o \
ext.o mouse.o setup.o dlg.o option.o tree.o widget.o chmod.o \
mad.o wtools.o info.o cons.handler.o chown.o subshell.o \
terms.o boxes.o hotlist.o achown.o layout.o fsusage.o \
mountlist.o @XCURSES@ regex.o complete.o slint.o command.o \
mountlist.o regex.o complete.o slint.o command.o \
cmd.o main.o panelize.o learn.o listmode.o utilunix.o \
background.o rxvt.o text.o popt.o findme.o poptparse.o \
poptconfig.o popthelp.o filegui.o filenot.o fileopctx.o \

View File

@ -1,58 +0,0 @@
/* Glue code to run with bsd curses.
Copyright (C) 1994 Miguel de Icaza
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <config.h>
#include "tty.h"
int has_colors (void)
{
return 0;
}
int init_pair (int pair, int fore, int back)
{
return 0;
}
int start_color ()
{
return 0;
}
#ifndef USE_SUNOS_CURSES
void hline (int character, int len)
{
int i, x, y;
getyx (stdscr, y, x);
while (len--)
addch (character);
move(y, x);
}
void vline (int character, int len)
{
int i, x, y;
getyx (stdscr, y, x);
while (len--)
mvaddch (y++, x, character);
}
#endif