Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9217b665
Commit
9217b665
authored
Mar 15, 2000
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Mar 15, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved the visual appearence of the user interface. Made the code
somewhat simpler.
parent
78f92898
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
14 deletions
+19
-14
bug_report.pl
tools/bug_report.pl
+19
-14
No files found.
tools/bug_report.pl
View file @
9217b665
...
...
@@ -4,7 +4,12 @@
##(c) 1998-1999
##Do not say this is yours without my express permisson, or I will
##hunt you down and kill you like the savage animal I am.
##Released under the WINE licence
##
## Improvements by Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
## (c) 2000
##
## Released under the WINE licence.
##
##Changelog:
##August 29, 1999 - Work around for debugger exit (or lack thereof)
## - Should now put debugging output in correct place
...
...
@@ -34,25 +39,24 @@ sub do_var {
open
STDERR
,
">&SAVEERR"
;
open
STDERR
,
">&STDOUT"
;
$ENV
{
'SHELL'
}
=
"/bin/bash"
;
$var0
=
qq{
Enter your level of WINE expertise:
1-newbie 2-intermediate 3-advanced
What is your level of WINE expertise?
1-newbie 2-intermediate 3-advanced
1 - Makes a debug report as defined in the WINE documentation. Best
for new WINE users. If you're not sure what -debugmsg is, then use
this mode.
for new WINE users. If you're not sure what -debugmsg is, then
use
this mode.
2 - Makes a debug report that is more customizable (Example: you can
choose what -debugmsg 's to use). You are asked more
questions in
this mode. May intimidate newbies.
choose what -debugmsg 's to use). You are asked more questions in
this mode. May intimidate newbies.
3 - Just like 2, but not corner cutting. Assumes you know what you're
doing so it leaves out the long descriptions.
doing so it leaves out the long descriptions.
}
;
print
do_var
(
$var0
);
$debuglevel
=<
STDIN
>
;
chomp
$debuglevel
;
print
do_var
(
$var0
)
.
"\n"
;
until
(
$debuglevel
==
1
or
$debuglevel
==
2
or
$debuglevel
==
3
)
{
print
"Enter
a number from 1-3!\n"
;
print
"Enter
your level of WINE expertise (1-3): "
;
$debuglevel
=<
STDIN
>
;
chomp
$debuglevel
;
}
if
(
$debuglevel
<
3
)
{
$var1
=
qq{
This program will make a debug report for WINE developers. It does this
...
...
@@ -79,7 +83,7 @@ if ($debuglevel < 3) {
}
;
print
do_var
(
$var2
);
}
print
"Enter filename for the formatted debug output (
T
he first file):\n"
;
print
"Enter filename for the formatted debug output (
t
he first file):\n"
;
$outfile
=<
STDIN
>
;
chomp
$outfile
;
$var23
=
qq{
...
...
@@ -90,7 +94,7 @@ while ($outfile =~ /^(\s)*$/) {
$outfile
=<
STDIN
>
;
chomp
$outfile
;
}
print
"Enter the filename for the full debug output (
T
he second file):\n"
;
print
"Enter the filename for the full debug output (
t
he second file):\n"
;
$dbgoutfile
=<
STDIN
>
;
chomp
$dbgoutfile
;
while
(
$dbgoutfile
=~
/^(\s)*$/
)
{
...
...
@@ -114,6 +118,7 @@ if ($outfile ne "no file" and $dbgoutfile eq "no file") {
chomp
$tmpoutfile
;
}
}
print
"Looking for wine...\n"
;
$whereis
=
`whereis wine`
;
chomp
$whereis
;
...
...
@@ -204,7 +209,7 @@ What version of windows are you using with wine? 0-None, 1-Win3.x,
}
;
print
do_var
(
$var5
);
$winver
=<
STDIN
>
;
until
(
$winver
==
0
or
$winver
==
1
or
$winver
==
2
or
$winver
==
3
or
$winver
==
4
or
$winver
==
5
or
$winver
==
6
or
$winver
=
=
7
)
{
until
(
$winver
>=
0
and
$winver
<
=
7
)
{
$var6
=
qq{
No! Enter a number from 0 to 7 that corresponds to your windows version!
}
;
...
...
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