This file is indexed.

/usr/share/tkgate-1.8.7/scripts/parms.tcl is in tkgate-data 1.8.7-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
#   Copyright (C) 1987-2007 by Jeffery P. Hansen
#
#   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 of the License, 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.
#
# Last edit by hansen on Sat Jan 27 16:35:09 2007
#
#

set tkg_progName TKGate 

######################################################################
#
# Set the current directory
#

set cwd [pwd]/

######################################################################
#
# Initial size of main canvas
#
set tkg_initialWidth 830
set tkg_initialHeight 590

######################################################################
#
# Executable for simulator
#
set simExec "/usr/bin/gsim"

set tkg_simCustomDelay 0
set tkg_simDefaultDelayFile "${tkg_gateHome}/gdf/default.gdf"
set tkg_simDelayFile ""

set tkg_simStepSize 1
set tkg_simClockStepSize 1
set tkg_simClockOverStep 21
set tkg_simDebugInterface 0
set tkg_contVerify 0
set tkg_simActClock ""
set tkg_simUseActClock 0
set tkg_simInitScript ""
set tkg_simSortTraces 1
set tkg_simRememberProbes 1

######################################################################
#
# Status bar and file variables
#
set tkg_currentFile	""
set tkg_displayFile	""
set tkg_modifiedFlag	0
set tkg_currentBlock	"main"
set tkg_statusMessage	""
set tkg_doBackupOnSave	1
set tkg_wantCheckpoint	0
set tkg_checkpointFreq	300
set tkg_checkpointEnabled 0

######################################################################
#
# Display modes
#
set tkg_smoothScroll 1
set tkg_regionUpdate 1
set tkg_blockMoveStyle 0
set tkg_helpBalloons 1
set tkg_noviceMode 1

######################################################################
#
# Current mode and rotation
#
set mode 1
set rot 0

######################################################################
#
# Current circuit options
#
set tkg_discardChanges 0
set tkg_useExtBars 1

######################################################################
#
# Print options
#
set tkg_printCommand "lpr"
set tkg_printPgSizeA4 4
set tkg_printPgSize 0
set tkg_printPgOrient landscape
set tkg_printDuplex 0
set tkg_printStyle fit
set tkg_printIndex 0
set tkg_printGraph 0


######################################################################
#
# Other options
#
set tkg_checkVersion	0
set tkg_defaultTech	"default"
set tkg_errorLogFile	"tkgate-error.log"
set tkg_valuePopUpDelay	333
set tkg_undoLength 50
set tkg_doSplash 1
set tkg_splashWait 1500

######################################################################
#
# Special modes
#
set tkg_enableBeakModes 0
set tkg_baderMode 0
set tkg_trekMode 0
set tkg_batMode 0
set tkg_batRate 200
set tkg_allowDebug 0

######################################################################
#
# Critical Path Options
#
set tkg_flashCPath 1
set tkg_numCPath 10
set tkg_cpathListLengths {1 5 10 25 50 100}

######################################################################
#
# Default colors
#
set tkgdef_instColor          "blue"
set tkgdef_moduleColor        "magenta4"
set tkgdef_modulePortColor    "cyan4"
set tkgdef_frameColor         "tan4"
set tkgdef_commentColor       "tan4"
set tkgdef_hyperlinkColor     "red"
set tkgdef_wireColor          "green4"
set tkgdef_busColor           "red"
set tkgdef_toolColor          "black"
set tkgdef_cpathColor         "red"
set tkgdef_gridColor          "black"
set tkgdef_oneColor           "green4"
set tkgdef_zeroColor          "magenta"
set tkgdef_floatColor         "blue"
set tkgdef_unknownColor       "red"
set tkgdef_offLedColor	      "RosyBrown1"
set tkgdef_onLedColor         "red"
set tkgdef_zLedColor          "yellow"

set tkg_instColor          $tkgdef_instColor         
set tkg_moduleColor        $tkgdef_moduleColor       
set tkg_modulePortColor    $tkgdef_modulePortColor   
set tkg_frameColor         $tkgdef_frameColor        
set tkg_commentColor       $tkgdef_commentColor      
set tkg_hyperlinkColor     $tkgdef_hyperlinkColor      
set tkg_wireColor          $tkgdef_wireColor         
set tkg_busColor           $tkgdef_busColor          
set tkg_toolColor          $tkgdef_toolColor         
set tkg_cpathColor         $tkgdef_cpathColor         
set tkg_gridColor          $tkgdef_gridColor         
set tkg_oneColor           $tkgdef_oneColor          
set tkg_zeroColor          $tkgdef_zeroColor         
set tkg_floatColor         $tkgdef_floatColor        
set tkg_unknownColor       $tkgdef_unknownColor      
set tkg_offLedColor        $tkgdef_offLedColor
set tkg_onLedColor         $tkgdef_onLedColor 
set tkg_zLedColor          $tkgdef_zLedColor  

######################################################################
#
# Fonts
#
set body_font		"-adobe-courier-medium-r-normal-*-120-*"
set smallBody_font	"-adobe-courier-medium-r-normal-*-100-*"
set boldBody_font	"-adobe-courier-bold-r-normal-*-120-*"
set boldSmallBody_font	"-adobe-courier-bold-r-normal-*-100-*"
set kanji_font          "-misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0"
set msg_font		"-adobe-times-medium-r-normal-*-180-*"

#
# Zoomed fonts not currently implemented.
#
set zoom1_body_font		"-adobe-courier-medium-r-normal-*-240-*"
set zoom1_smallBody_font	"-adobe-courier-medium-r-normal-*-180-*"
set zoom1_boldBody_font		"-adobe-courier-bold-r-normal-*-240-*"
set zoom1_boldSmallBody_font	"-adobe-courier-bold-r-normal-*-180-*"
set zoom1_kanji_font		"-jis-fixed-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0"

set zoom2_body_font		"-adobe-courier-medium-r-normal-*-240-*"
set zoom2_smallBody_font	"-adobe-courier-medium-r-normal-*-180-*"
set zoom2_boldBody_font		"-adobe-courier-bold-r-normal-*-240-*"
set zoom2_boldSmallBody_font	"-adobe-courier-bold-r-normal-*-180-*"
set zoom2_kanji_font		"-jis-fixed-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0"

# Dialog explaination font
font create dialogExpFont -family Helvetica -size 8

# Big dialog explaination font
font create dialogBigExpFont -family Helvetica -size 8 -weight bold

set tkg_siteName	"Earth"
catch {
    set f [open ${tkg_gateHome}/sitename.txt r]
    set tkg_siteName [gets $f]
    close $f
}

set gf_file		""
set gf_result		""
set gf_filter		".v"
set gf_filetypes {
    {{Verilog Netlist}	{.v}	}
    {{All Files}	*	}
}
set gf_vfiletypes {
    {{Verilog Netlist}	{.v}	}
    {{All Files}	*	}
}

set simScript_filter	".gss"
set simScript_filetypes {
    {{Gate Simulation Script Files}	{.gss}	}
    {{All Files}			*	}
}

set mem_filter				".mem"
set mem_filetypes {
    {{Gate Memory Image Files}		{.mem}	}
    {{All Files}			*	}
}

set gdf_filter				".gdf"
set gdf_filetypes {
    {{Gate Delay File}			{.gdf}	}
    {{All Files}			*	}
}


######################################################################
#
# Preferences options.
#

set tkg_prefFile	"~/.tkgate-preferences"

if {[file exists $tkg_prefFile]} {
  source $tkg_prefFile

  #
  # If this is an old preferences file, it could still be using the JP
  # instead of the A4 variable.
  #
  catch { set tkg_printPgSizeA4 $tkg_printPgSizeJP }
}

if {[file exists "~/.tkgaterc"]} {
  source "~/.tkgaterc"
}