mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Check location of term.h header (updated)
darcs-hash:20060119122207-ac50b-c573f54cbe13a1592a20342ee331159be0306913.gz
This commit is contained in:
parent
3259da8f4a
commit
1e7dd4f928
12 changed files with 51 additions and 3 deletions
|
@ -2317,7 +2317,7 @@ static void make_first( job_t *j )
|
|||
static int builtin_fg( wchar_t **argv )
|
||||
{
|
||||
job_t *j;
|
||||
|
||||
|
||||
if( argv[1] == 0 )
|
||||
{
|
||||
/*
|
||||
|
|
5
common.c
5
common.c
|
@ -45,8 +45,11 @@ parts of fish.
|
|||
#include <termio.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_TERM_H
|
||||
#include <term.h>
|
||||
|
||||
#elif HAVE_NCURSES_TERM_H
|
||||
#include <ncurses/term.h>
|
||||
#endif
|
||||
|
||||
#include "util.h"
|
||||
#include "wutil.h"
|
||||
|
|
5
env.c
5
env.c
|
@ -25,7 +25,12 @@
|
|||
#include <termio.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_TERM_H
|
||||
#include <term.h>
|
||||
#elif HAVE_NCURSES_TERM_H
|
||||
#include <ncurses/term.h>
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include "util.h"
|
||||
|
|
|
@ -11,12 +11,19 @@
|
|||
#include <pwd.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#if HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
#include <curses.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_TERM_H
|
||||
#include <term.h>
|
||||
#elif HAVE_NCURSES_TERM_H
|
||||
#include <ncurses/term.h>
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#include "util.h"
|
||||
|
|
|
@ -27,7 +27,12 @@
|
|||
#include <termio.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_TERM_H
|
||||
#include <term.h>
|
||||
#elif HAVE_NCURSES_TERM_H
|
||||
#include <ncurses/term.h>
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#include "util.h"
|
||||
|
|
5
input.c
5
input.c
|
@ -32,7 +32,12 @@ implementation in fish is as of yet incomplete.
|
|||
#include <termio.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_TERM_H
|
||||
#include <term.h>
|
||||
#elif HAVE_NCURSES_TERM_H
|
||||
#include <ncurses/term.h>
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
#include <dirent.h>
|
||||
#include <wctype.h>
|
||||
|
|
|
@ -12,6 +12,7 @@ Implementation file for the low level input library
|
|||
#include <unistd.h>
|
||||
#include <wchar.h>
|
||||
|
||||
|
||||
#include "util.h"
|
||||
#include "common.h"
|
||||
#include "wutil.h"
|
||||
|
|
4
io.c
4
io.c
|
@ -25,7 +25,11 @@ Utilities for io redirection.
|
|||
#include <termio.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_TERM_H
|
||||
#include <term.h>
|
||||
#elif HAVE_NCURSES_TERM_H
|
||||
#include <ncurses/term.h>
|
||||
#endif
|
||||
|
||||
#include "util.h"
|
||||
#include "wutil.h"
|
||||
|
|
5
output.c
5
output.c
|
@ -26,7 +26,12 @@
|
|||
#include <termio.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_TERM_H
|
||||
#include <term.h>
|
||||
#elif HAVE_NCURSES_TERM_H
|
||||
#include <ncurses/term.h>
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
#include <fcntl.h>
|
||||
#include <dirent.h>
|
||||
|
|
4
proc.c
4
proc.c
|
@ -36,7 +36,11 @@ Some of the code in this file is based on code from the Glibc manual.
|
|||
#include <termio.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_TERM_H
|
||||
#include <term.h>
|
||||
#elif HAVE_NCURSES_TERM_H
|
||||
#include <ncurses/term.h>
|
||||
#endif
|
||||
|
||||
#include "util.h"
|
||||
#include "wutil.h"
|
||||
|
|
5
reader.c
5
reader.c
|
@ -45,7 +45,12 @@ commence.
|
|||
#include <termio.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_TERM_H
|
||||
#include <term.h>
|
||||
#elif HAVE_NCURSES_TERM_H
|
||||
#include <ncurses/term.h>
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
#include <fcntl.h>
|
||||
#include <dirent.h>
|
||||
|
|
|
@ -14,12 +14,16 @@
|
|||
#include <curses.h>
|
||||
#endif
|
||||
|
||||
|
||||
#if HAVE_TERMIO_H
|
||||
#include <termio.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_TERM_H
|
||||
#include <term.h>
|
||||
#elif HAVE_NCURSES_TERM_H
|
||||
#include <ncurses/term.h>
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef HAVE_GETOPT_H
|
||||
|
|
Loading…
Reference in a new issue