Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
0e76a4a6
Commit
0e76a4a6
authored
Jan 08, 2003
by
ram@mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for readline building
parent
c1842a98
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
readline/tcap.h
readline/tcap.h
+1
-1
readline/terminal.c
readline/terminal.c
+5
-5
No files found.
readline/tcap.h
View file @
0e76a4a6
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
#endif
#endif
extern
char
PC
;
extern
char
PC
;
extern
c
onst
char
*
UPc
,
*
BCc
;
extern
c
har
*
UP
,
*
BC
;
extern
short
ospeed
;
extern
short
ospeed
;
...
...
readline/terminal.c
View file @
0e76a4a6
...
@@ -85,7 +85,7 @@ static int tcap_initialized;
...
@@ -85,7 +85,7 @@ static int tcap_initialized;
extern
extern
# endif
/* __EMX__ || NEED_EXTERN_PC */
# endif
/* __EMX__ || NEED_EXTERN_PC */
char
PC
;
char
PC
;
c
onst
char
*
BCc
,
*
UPc
;
c
har
*
BC
,
*
UP
;
#endif
/* __linux__ */
#endif
/* __linux__ */
/* Some strings to control terminal actions. These are output by tputs (). */
/* Some strings to control terminal actions. These are output by tputs (). */
...
@@ -434,8 +434,8 @@ _rl_init_terminal_io (terminal_name)
...
@@ -434,8 +434,8 @@ _rl_init_terminal_io (terminal_name)
tgoto if _rl_term_IC or _rl_term_DC is defined, but just in case we
tgoto if _rl_term_IC or _rl_term_DC is defined, but just in case we
change that later... */
change that later... */
PC
=
'\0'
;
PC
=
'\0'
;
BC
c
=
(
char
*
)(
_rl_term_backspace
=
"
\b
"
);
BC
=
(
char
*
)(
_rl_term_backspace
=
"
\b
"
);
UP
c
=
(
char
*
)
_rl_term_up
;
UP
=
(
char
*
)
_rl_term_up
;
return
0
;
return
0
;
}
}
...
@@ -445,8 +445,8 @@ _rl_init_terminal_io (terminal_name)
...
@@ -445,8 +445,8 @@ _rl_init_terminal_io (terminal_name)
/* Set up the variables that the termcap library expects the application
/* Set up the variables that the termcap library expects the application
to provide. */
to provide. */
PC
=
_rl_term_pc
?
*
_rl_term_pc
:
0
;
PC
=
_rl_term_pc
?
*
_rl_term_pc
:
0
;
BC
c
=
(
char
*
)
_rl_term_backspace
;
BC
=
(
char
*
)
_rl_term_backspace
;
UP
c
=
(
char
*
)
_rl_term_up
;
UP
=
(
char
*
)
_rl_term_up
;
if
(
!
_rl_term_cr
)
if
(
!
_rl_term_cr
)
_rl_term_cr
=
"
\r
"
;
_rl_term_cr
=
"
\r
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment