More headers cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21706 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2007-07-26 15:22:21 +00:00
parent b10dd441dd
commit 17dfb8b1cb
3 changed files with 56 additions and 55 deletions
+54 -6
View File
@@ -30,6 +30,14 @@
* *
*/ */
#include "Shell.h"
#include "TermConst.h"
#include "TermParse.h"
#include <OS.h>
#include <dirent.h> #include <dirent.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
@@ -46,13 +54,53 @@
#include <time.h> #include <time.h>
#include <unistd.h> #include <unistd.h>
#include <OS.h> #define MAXPTTYS 16 * 4
#include "TermConst.h" #ifndef CEOF
#include "TermParse.h" #define CEOF ('D'&037)
#include "TermView.h" #endif
#include "Shell.h" #ifndef CSUSP
#include "PrefHandler.h" #define CSUSP ('@'&037)
#endif
#ifndef CQUIT
#define CQUIT ('\\'&037)
#endif
#ifndef CEOL
#define CEOL 0
#endif
#ifndef CSTOP
#define CSTOP ('Q'&037)
#endif
#ifndef CSTART
#define CSTART ('S'&037)
#endif
#ifndef CSWTCH
#define CSWTCH 0
#endif
/*
* ANSI emulation.
*/
#define INQ 0x05
#define FF 0x0C /* C0, C1 control names */
#define LS1 0x0E
#define LS0 0x0F
#define CAN 0x18
#define SUB 0x1A
#define ESC 0x1B
#define US 0x1F
#define DEL 0x7F
#define HTS ('H'+0x40)
#define SS2 0x8E
#define SS3 0x8F
#define DCS 0x90
#define OLDID 0x9A /* ESC Z */
#define CSI 0x9B
#define ST 0x9C
#define OSC 0x9D
#define PM 0x9E
#define APC 0x9F
#define RDEL 0xFF
/* default shell command and options. */ /* default shell command and options. */
#define SHELL_COMMAND "/bin/sh -login" #define SHELL_COMMAND "/bin/sh -login"
+2 -48
View File
@@ -1,4 +1,5 @@
/* /*
* Copyright 2007 Haiku, Inc.
* Copyright (c) 2003-4 Kian Duffy <[email protected]> * Copyright (c) 2003-4 Kian Duffy <[email protected]>
* Copyright (c) 2004 Daniel Furrer <[email protected]> * Copyright (c) 2004 Daniel Furrer <[email protected]>
* Parts Copyright (C) 1998,99 Kazuho Okui and Takashi Murai. * Parts Copyright (C) 1998,99 Kazuho Okui and Takashi Murai.
@@ -32,54 +33,7 @@
#ifndef _SHELL_H #ifndef _SHELL_H
#define _SHELL_H #define _SHELL_H
#define MAXPTTYS 16 * 4 #include <SupportDefs.h>
#ifndef CEOF
#define CEOF ('D'&037)
#endif
#ifndef CSUSP
#define CSUSP ('@'&037)
#endif
#ifndef CQUIT
#define CQUIT ('\\'&037)
#endif
#ifndef CEOL
#define CEOL 0
#endif
#ifndef CSTOP
#define CSTOP ('Q'&037)
#endif
#ifndef CSTART
#define CSTART ('S'&037)
#endif
#ifndef CSWTCH
#define CSWTCH 0
#endif
/*
* ANSI emulation.
*/
#define INQ 0x05
#define FF 0x0C /* C0, C1 control names */
#define LS1 0x0E
#define LS0 0x0F
#define CAN 0x18
#define SUB 0x1A
#define ESC 0x1B
#define US 0x1F
#define DEL 0x7F
#define HTS ('H'+0x40)
#define SS2 0x8E
#define SS3 0x8F
#define DCS 0x90
#define OLDID 0x9A /* ESC Z */
#define CSI 0x9B
#define ST 0x9C
#define OSC 0x9D
#define PM 0x9E
#define APC 0x9F
#define RDEL 0xFF
// TODO: Maybe merge TermParse and Shell classes ? // TODO: Maybe merge TermParse and Shell classes ?
class TermParse; class TermParse;
-1
View File
@@ -19,7 +19,6 @@
#include "Shell.h" #include "Shell.h"
#include "TermBuffer.h" #include "TermBuffer.h"
#include "TermConst.h" #include "TermConst.h"
#include "TermParse.h"
#include "VTkeymap.h" #include "VTkeymap.h"
#include <Application.h> #include <Application.h>