File: workbone.h

package info (click to toggle)
workman 1.3.4-9
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,164 kB
  • ctags: 1,170
  • sloc: ansic: 14,491; makefile: 142; sh: 44
file content (77 lines) | stat: -rw-r--r-- 2,434 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*   WorkBone CD Rom Player Software

     Copyright (c) 1994  Thomas McWilliams 
     Changes (c) 1996 Dirk F"orsterling aka milliByte
    
     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, 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., 675 Mass Ave, Cambridge, MA 02139, USA.

*/


#ifdef WBLAZY
#define WBS_DELAY 2
#define WBU_DELAY 0
#endif

#ifndef WBS_DELAY
#define WBS_DELAY 1
#endif

#ifndef WBU_DELAY
#define WBU_DELAY 0
#endif

#define UPCUR "\033[1A"
#define REVON "\033[7m"
#define REVOF "\033[27m"

/* kernel 1.0 uses different escape sequence for pc character set */
#define OGON "\033(U"
#define OGOF "\033(B"
#define GON "\033[11m"
#define GOF "\033[10m"

#define MTAB "        "
#define MTAB3 MTAB MTAB MTAB 
#define ROW0 MTAB3 "\263                      \263\n"
#define ROW1 MTAB3 "\263    \376\376    ||    |\020    \263\n"
#define ROW2 MTAB3 "\263    |\021    \036\036    \020|    \263\n"
#define ROW3 MTAB3 "\263    \021\021    ..    \020\020    \263\n"
#define ROW4 MTAB3 "\263   " REVON "   quit   " REVOF "   " REVON " ? " REVOF "   \263\n"
#define HLIN1 "\304\304\304\304\304\304\304\304\304\304\304"
#define HLIN2 "\304\304\304\304"
#define HDR "\264 number pad \303"
#define ROWT MTAB3 "\332" HLIN2 HDR HLIN2 "\277\n" 
#define ROWB MTAB3 "\300" HLIN1 HLIN1 "\331\n" "%s\n" UPCUR "\r"

#define AROW0 MTAB3 "|                      |\n"
#define AROW1 MTAB3 "|    []    ||    =>    |\n"
#define AROW2 MTAB3 "|    <     ^^     >    |\n"
#define AROW3 MTAB3 "|    <<    ..    >>    |\n"
#define AROW4 MTAB3 "|    quit         ?    |\n"
#define AHLIN1 "-----------"
#define AHLIN2 "----"
#define AHDR "| number pad |"
#define AROWT MTAB3 "+" AHLIN2 AHDR AHLIN2 "+\n" 
#define AROWB MTAB3 "+" AHLIN1 AHLIN1 "+\n" "\n" UPCUR "\r"

#ifndef TRUE
#define TRUE 1
#define FALSE 0
#endif

void show_terms( const char **p );

extern char *cd_device;