Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
79390cbb
Commit
79390cbb
authored
20 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
No more "ciowrap".
parent
9244d4dd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/conio/Common.gmake
+3
-3
3 additions, 3 deletions
src/conio/Common.gmake
src/conio/curs_cio.c
+4
-4
4 additions, 4 deletions
src/conio/curs_cio.c
src/conio/curs_cio.h
+1
-1
1 addition, 1 deletion
src/conio/curs_cio.h
src/conio/x_cio.h
+1
-1
1 addition, 1 deletion
src/conio/x_cio.h
with
9 additions
and
9 deletions
src/conio/Common.gmake
+
3
−
3
View file @
79390cbb
# Available Options:
# NEED_CURSES = Set flags suitable for building with the curses lib
# XCURSES = Use XCurses
# NEED_CIOLIB = Set flage suitable for using with cio
wrap
lib
# NO_X = Don't use X version of cio
wrap
# NEED_CIOLIB = Set flage suitable for using with ciolib
# NO_X = Don't use X version of cio
lib
# You really should set this first.
CONIO_SRC ?= $(XPDEV)../conio/
UIFC_SRC ?= $(XPDEV)../uifc/
CIOLIB_CFLAGS += -I$(CONIO_SRC)
# cio
wrap
stuff
# cio
lib
stuff
ifndef NO_X
X_DIR ?= /usr/X11R6/
CIOLIB_CFLAGS += -I${X_DIR}/include
...
...
This diff is collapsed.
Click to expand it.
src/conio/curs_cio.c
+
4
−
4
View file @
79390cbb
...
...
@@ -135,7 +135,7 @@ int curs_gettext(int sx, int sy, int ex, int ey, unsigned char *fill)
thischar
=
attr
&
255
-
'A'
+
1
;
}
else
if
(
attr
&
A_ALTCHARSET
)
{
if
(
!
(
mode
==
CIO
WRAP
_CURSES_IBM_MODE
)){
if
(
!
(
mode
==
CIO
LIB
_CURSES_IBM_MODE
)){
ext_char
=
A_ALTCHARSET
|
(
attr
&
255
);
/* likely ones */
if
(
ext_char
==
ACS_CKBOARD
)
...
...
@@ -428,7 +428,7 @@ int _putch(unsigned char ch, BOOL refresh_now)
int
ret
;
chtype
cha
;
if
(
!
(
mode
==
CIO
WRAP
_CURSES_IBM_MODE
))
if
(
!
(
mode
==
CIO
LIB
_CURSES_IBM_MODE
))
{
switch
(
ch
)
{
...
...
@@ -601,12 +601,12 @@ void curs_gotoxy(int x, int y)
refresh
();
}
int
curs_initcio
wrap
(
long
inmode
)
int
curs_initcio
lib
(
long
inmode
)
{
short
fg
,
bg
,
pair
=
0
;
#ifdef XCURSES
char
*
argv
[
2
]
=
{
"
Syhcnronet
"
,
NULL
};
char
*
argv
[
2
]
=
{
"
ciolib
"
,
NULL
};
Xinitscr
(
1
,
argv
);
#else
...
...
This diff is collapsed.
Click to expand it.
src/conio/curs_cio.h
+
1
−
1
View file @
79390cbb
...
...
@@ -20,7 +20,7 @@ int curs_wherex(void);
int
_putch
(
unsigned
char
ch
,
BOOL
refresh_now
);
int
curs_putch
(
unsigned
char
ch
);
void
curs_gotoxy
(
int
x
,
int
y
);
int
curs_initcio
wrap
(
long
inmode
);
int
curs_initcio
lib
(
long
inmode
);
void
curs_gettextinfo
(
struct
text_info
*
info
);
void
curs_setcursortype
(
int
type
);
int
curs_getch
(
void
);
...
...
This diff is collapsed.
Click to expand it.
src/conio/x_cio.h
+
1
−
1
View file @
79390cbb
...
...
@@ -15,7 +15,7 @@ int x_wherey(void);
int
x_wherex
(
void
);
int
x_putch
(
unsigned
char
ch
);
void
x_gotoxy
(
int
x
,
int
y
);
void
x_initcio
wrap
(
long
inmode
);
void
x_initcio
lib
(
long
inmode
);
void
x_gettextinfo
(
struct
text_info
*
info
);
void
x_setcursortype
(
int
type
);
int
x_getch
(
void
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment