Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
23b6eebb
Commit
23b6eebb
authored
Feb 20, 1999
by
Joseph Pranevich
Committed by
Alexandre Julliard
Feb 20, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removal of obsolete XtermResolution option.
parent
52291129
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
xterm.c
console/xterm.c
+5
-6
No files found.
console/xterm.c
View file @
23b6eebb
...
...
@@ -20,10 +20,7 @@
#include "options.h"
#include "debug.h"
#define ESC '\x1b'
char
console_xterm_prog
[
80
];
char
console_xterm_resolution
[
10
];
static
BOOL32
wine_create_console
(
FILE
**
master
,
FILE
**
slave
,
int
*
pid
);
FILE
*
wine_openpty
(
int
*
master
,
int
*
slave
,
char
*
name
,
...
...
@@ -60,8 +57,6 @@ void XTERM_Start()
/* Read in driver configuration */
PROFILE_GetWineIniString
(
"console"
,
"XtermProg"
,
"xterm"
,
console_xterm_prog
,
79
);
PROFILE_GetWineIniString
(
"console"
,
"XtermResolution"
,
"80x24"
,
console_xterm_resolution
,
9
);
}
...
...
@@ -122,6 +117,10 @@ static BOOL32 wine_create_console(FILE **master, FILE **slave, int *pid)
int
status
=
0
;
int
i
;
int
tmaster
,
tslave
;
char
xterm_resolution
[
10
];
sprintf
(
xterm_resolution
,
"%dx%d"
,
driver
.
x_res
,
driver
.
y_res
);
if
(
tcgetattr
(
0
,
&
term
)
<
0
)
return
FALSE
;
term
.
c_lflag
|=
ICANON
;
...
...
@@ -136,7 +135,7 @@ static BOOL32 wine_create_console(FILE **master, FILE **slave, int *pid)
sprintf
(
buf
,
"-Sxx%d"
,
fileno
(
*
master
));
execlp
(
console_xterm_prog
,
console_xterm_prog
,
buf
,
"-fg"
,
"white"
,
"-bg"
,
"black"
,
"-g"
,
console_
xterm_resolution
,
NULL
);
xterm_resolution
,
NULL
);
ERR
(
console
,
"error creating xterm (file not found?)
\n
"
);
exit
(
1
);
}
...
...
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