private.rc
author Stefan Vogel <sv@exept.de>
Mon, 24 Mar 2003 17:58:15 +0100
changeset 532 5fc692e6c265
parent 488 521e2d58f050
child 573 971e29ce7ff9
permissions -rw-r--r--
Comments only
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
bf0b63015196 Initial revision
claus
parents:
diff changeset
     1
"*
bf0b63015196 Initial revision
claus
parents:
diff changeset
     2
 * $Header$
bf0b63015196 Initial revision
claus
parents:
diff changeset
     3
 *
399
5a842f5d7196 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 387
diff changeset
     4
 * MIMEType: application/x-smalltalk-source
5a842f5d7196 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 387
diff changeset
     5
 *
209
22793de5d56e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 204
diff changeset
     6
 * ST/X startup configuration & command file:
22793de5d56e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 204
diff changeset
     7
 *
4
bf0b63015196 Initial revision
claus
parents:
diff changeset
     8
 * sample private.rc - file
bf0b63015196 Initial revision
claus
parents:
diff changeset
     9
 *
52
c9b78dd69444 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 44
diff changeset
    10
 * a copy of this file can (should) reside in $home/.smalltalk/private.rc or
c9b78dd69444 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 44
diff changeset
    11
 * in the current directory - put all private preferences in here.
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents: 26
diff changeset
    12
 *
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents: 26
diff changeset
    13
 *
25
claus
parents: 24
diff changeset
    14
 * notice, you will find some things enclosed in
464
80f4507cb842 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 462
diff changeset
    15
 *  ... thisIsMySystem ifTrue:[
143
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
    16
 *  ... claus ifTrue:[
25
claus
parents: 24
diff changeset
    17
 *      
143
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
    18
 * these are my personal preferences which will be
25
claus
parents: 24
diff changeset
    19
 * ignored in your environment, but are taken in mine.
claus
parents: 24
diff changeset
    20
 * That way, I dont have to maintain two different 'private.rc' files.
143
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
    21
 * (you may want to have a look into it - some is of general interest)
4
bf0b63015196 Initial revision
claus
parents:
diff changeset
    22
 *"
bf0b63015196 Initial revision
claus
parents:
diff changeset
    23
25
claus
parents: 24
diff changeset
    24
"/
488
521e2d58f050 Changed workstation initialization.
Stefan Vogel <sv@exept.de>
parents: 483
diff changeset
    25
"/ define the language (you can also set the LANG-shell variable)
532
5fc692e6c265 Comments only
Stefan Vogel <sv@exept.de>
parents: 488
diff changeset
    26
"/ (currently #en, #de and #fr are supported).
488
521e2d58f050 Changed workstation initialization.
Stefan Vogel <sv@exept.de>
parents: 483
diff changeset
    27
"/ some fragments for other languages (japanese ;-) exist.
521e2d58f050 Changed workstation initialization.
Stefan Vogel <sv@exept.de>
parents: 483
diff changeset
    28
"/ Setting it here will override the LANG variable setting,
521e2d58f050 Changed workstation initialization.
Stefan Vogel <sv@exept.de>
parents: 483
diff changeset
    29
"/ if neither set here nor in LANG, #english is the default.
521e2d58f050 Changed workstation initialization.
Stefan Vogel <sv@exept.de>
parents: 483
diff changeset
    30
"/ see (and enhance) the resource files
521e2d58f050 Changed workstation initialization.
Stefan Vogel <sv@exept.de>
parents: 483
diff changeset
    31
"/
521e2d58f050 Changed workstation initialization.
Stefan Vogel <sv@exept.de>
parents: 483
diff changeset
    32
"/ Smalltalk language:#de.
521e2d58f050 Changed workstation initialization.
Stefan Vogel <sv@exept.de>
parents: 483
diff changeset
    33
"/ Smalltalk language:#en. 
521e2d58f050 Changed workstation initialization.
Stefan Vogel <sv@exept.de>
parents: 483
diff changeset
    34
521e2d58f050 Changed workstation initialization.
Stefan Vogel <sv@exept.de>
parents: 483
diff changeset
    35
"/
198
7bbdd3d72cea oops - dont set the codeLimit to 64k on all machines
Claus Gittinger <cg@exept.de>
parents: 195
diff changeset
    36
"/ you may limit the amount of memory allocated to
7bbdd3d72cea oops - dont set the codeLimit to 64k on all machines
Claus Gittinger <cg@exept.de>
parents: 195
diff changeset
    37
"/ dynamic compiled code ...
204
69f81ca32823 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 199
diff changeset
    38
"/ The default is unlimited; 
69f81ca32823 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 199
diff changeset
    39
"/ If you run in a multiuser environment, or
69f81ca32823 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 199
diff changeset
    40
"/ short on swapSpace, a good limit is some 0.5 to 1Mb.
198
7bbdd3d72cea oops - dont set the codeLimit to 64k on all machines
Claus Gittinger <cg@exept.de>
parents: 195
diff changeset
    41
"/
7bbdd3d72cea oops - dont set the codeLimit to 64k on all machines
Claus Gittinger <cg@exept.de>
parents: 195
diff changeset
    42
318
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
    43
"/ ObjectMemory dynamicCodeLimit:500000.
167
b1b75bc122f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 166
diff changeset
    44
b1b75bc122f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 166
diff changeset
    45
"/
318
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
    46
"/ If local sources should have preference over source code management
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
    47
"/ (only useful, if you have the full version (including sourceCode mgmnt),
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
    48
"/ and CVS access is slow.
143
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
    49
"/
318
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
    50
"/ Class tryLocalSourceFirst:true.
143
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
    51
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
    52
"/
25
claus
parents: 24
diff changeset
    53
"/ this turns off error/fatal messages from the VM
claus
parents: 24
diff changeset
    54
"/ (it does not really make sense to turn them off)
claus
parents: 24
diff changeset
    55
"/
claus
parents: 24
diff changeset
    56
"/ Smalltalk debugPrinting:false.
claus
parents: 24
diff changeset
    57
claus
parents: 24
diff changeset
    58
"/
claus
parents: 24
diff changeset
    59
"/ set the package for fileIns done below
claus
parents: 24
diff changeset
    60
"/
24
claus
parents: 21
diff changeset
    61
Project notNil ifTrue:[
445
63ae447a1510 project setting during initial fileIns
Claus Gittinger <cg@exept.de>
parents: 444
diff changeset
    62
    |p|
63ae447a1510 project setting during initial fileIns
Claus Gittinger <cg@exept.de>
parents: 444
diff changeset
    63
63ae447a1510 project setting during initial fileIns
Claus Gittinger <cg@exept.de>
parents: 444
diff changeset
    64
    p := Project new.
63ae447a1510 project setting during initial fileIns
Claus Gittinger <cg@exept.de>
parents: 444
diff changeset
    65
    p package:#'goody-fileIn'.
63ae447a1510 project setting during initial fileIns
Claus Gittinger <cg@exept.de>
parents: 444
diff changeset
    66
    p comment:'only for goodies'.
63ae447a1510 project setting during initial fileIns
Claus Gittinger <cg@exept.de>
parents: 444
diff changeset
    67
    Project current:p.
24
claus
parents: 21
diff changeset
    68
].
claus
parents: 21
diff changeset
    69
!
claus
parents: 21
diff changeset
    70
331
a0be330a1f43 moved compiler setup into host-specific file.
Claus Gittinger <cg@exept.de>
parents: 326
diff changeset
    71
|whoAmI domain thisIsMySystem thisIsExeptsDomain conf systemType incDir includes|
91
b7958b5a790b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 77
diff changeset
    72
279
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    73
whoAmI := OperatingSystem getLoginName.
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    74
domain := OperatingSystem getDomainName.
331
a0be330a1f43 moved compiler setup into host-specific file.
Claus Gittinger <cg@exept.de>
parents: 326
diff changeset
    75
thisIsExeptsDomain := (domain = 'exept.de').
464
80f4507cb842 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 462
diff changeset
    76
thisIsMySystem := (whoAmI = 'cg') and:[thisIsExeptsDomain].
279
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    77
26
Claus Gittinger <cg@exept.de>
parents: 25
diff changeset
    78
"/
Claus Gittinger <cg@exept.de>
parents: 25
diff changeset
    79
"/ no matter what the 'display.rc' says:
Claus Gittinger <cg@exept.de>
parents: 25
diff changeset
    80
"/     I want my #iris style ...
331
a0be330a1f43 moved compiler setup into host-specific file.
Claus Gittinger <cg@exept.de>
parents: 326
diff changeset
    81
"/     except for win systems, where I use the win95 style
26
Claus Gittinger <cg@exept.de>
parents: 25
diff changeset
    82
"/
279
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    83
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    84
thisIsMySystem ifTrue:[
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    85
    Display hasGrayscales ifTrue:[
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    86
	OperatingSystem getOSType = 'win32' ifTrue:[
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    87
	    View defaultStyle:#mswindows95
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    88
	] ifFalse:[
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    89
	    View defaultStyle:#iris.
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    90
	    "/
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    91
	    "/ or whatever you like as default ...
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    92
	    "/
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    93
	    "/ View defaultStyle:#motif.
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    94
	]
217
fdd6854623d6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 216
diff changeset
    95
    ] ifFalse:[
279
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    96
	View defaultStyle:#normal
289856108844 renamed mswindows3.style to mswindows95.style
Claus Gittinger <cg@exept.de>
parents: 275
diff changeset
    97
    ].
209
22793de5d56e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 204
diff changeset
    98
].
104
b9ab60d45f9b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 91
diff changeset
    99
152
956f80caf731 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 143
diff changeset
   100
thisIsMySystem ifTrue:[
217
fdd6854623d6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 216
diff changeset
   101
    "/
249
342cd850d827 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   102
    "/ I want the hostname to be prepended to a windows label
342cd850d827 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   103
    "/
342cd850d827 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   104
    StandardSystemView includeHostNameInLabel:true.
318
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   105
].
249
342cd850d827 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   106
318
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   107
thisIsMySystem ifTrue:[
249
342cd850d827 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   108
    "/
217
fdd6854623d6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 216
diff changeset
   109
    "/ I prefer a smaller menu font
fdd6854623d6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 216
diff changeset
   110
    "/
257
3fb1267840ad *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 251
diff changeset
   111
    "/ MenuView defaultFont:(MenuView defaultFont size:10).
318
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   112
].
161
4a5bc7860889 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
   113
318
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   114
"/ add my private directories to the searchPath ...
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   115
"/ This does not make sense in your environment.
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   116
"/ However, I leave the code here to show how its done.
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   117
"/
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   118
thisIsMySystem ifTrue:[
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   119
    #(
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   120
	'../../not_delivered'
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   121
	'../../private_classes'
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   122
	'../../fileIn/not_delivered'
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   123
	'../../libpro'
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   124
     ) do:[:p |
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   125
	p asFilename exists ifTrue:[
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   126
	    Smalltalk systemPath addFirst:p.
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   127
	]
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   128
    ].
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   129
].
b423534d597d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 307
diff changeset
   130
25
claus
parents: 24
diff changeset
   131
"/ since smalltalk keeps track of which directories exist
claus
parents: 24
diff changeset
   132
"/ in the path, this cache has to be flushed whenever new directories
217
fdd6854623d6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 216
diff changeset
   133
"/ are added to the system path:
25
claus
parents: 24
diff changeset
   134
"/
24
claus
parents: 21
diff changeset
   135
Smalltalk flushPathCaches.
16
db5d473df9f0 *** empty log message ***
claus
parents: 12
diff changeset
   136
25
claus
parents: 24
diff changeset
   137
"/
claus
parents: 24
diff changeset
   138
"/ color allocation strategy:
claus
parents: 24
diff changeset
   139
"/
claus
parents: 24
diff changeset
   140
"/ the default is to allocate from the colormap as required.
claus
parents: 24
diff changeset
   141
"/ As long as the number of distinct colors used is less than the number
claus
parents: 24
diff changeset
   142
"/ of available colors (which is usually the case) this leads to better looking
claus
parents: 24
diff changeset
   143
"/ images.
claus
parents: 24
diff changeset
   144
"/ However, if many images are to be displayed simulatiously, images displayed
claus
parents: 24
diff changeset
   145
"/ first may steal too many colors required in images displayed later.
claus
parents: 24
diff changeset
   146
"/ In this case, it is better to preallocate some colors, and dither all images
claus
parents: 24
diff changeset
   147
"/ using theese. Of course, while making the worst case better, this makes
claus
parents: 24
diff changeset
   148
"/ the best case worse. You can decide ...
claus
parents: 24
diff changeset
   149
"/
10
43d0db9ff204 *** empty log message ***
claus
parents: 8
diff changeset
   150
"/   Color getColors6x6x4.
43d0db9ff204 *** empty log message ***
claus
parents: 8
diff changeset
   151
43d0db9ff204 *** empty log message ***
claus
parents: 8
diff changeset
   152
25
claus
parents: 24
diff changeset
   153
"/ claus:
26
Claus Gittinger <cg@exept.de>
parents: 25
diff changeset
   154
"/     The history manager automatically adds a history line to changed
Claus Gittinger <cg@exept.de>
parents: 25
diff changeset
   155
"/     methods and optionally to a classes history method.
217
fdd6854623d6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 216
diff changeset
   156
"/     if you dont like this, comment the following lines.
26
Claus Gittinger <cg@exept.de>
parents: 25
diff changeset
   157
"/
331
a0be330a1f43 moved compiler setup into host-specific file.
Claus Gittinger <cg@exept.de>
parents: 326
diff changeset
   158
thisIsExeptsDomain ifTrue:[
26
Claus Gittinger <cg@exept.de>
parents: 25
diff changeset
   159
    HistoryManager notNil ifTrue:[
195
1cf850844da9 new infoMessage scheme
Claus Gittinger <cg@exept.de>
parents: 191
diff changeset
   160
	'private.rc [info]: activating HistoryManager ...' infoPrintCR.
26
Claus Gittinger <cg@exept.de>
parents: 25
diff changeset
   161
	HistoryManager activate.
Claus Gittinger <cg@exept.de>
parents: 25
diff changeset
   162
    ]
7
57c09d1b7f69 *** empty log message ***
claus
parents: 4
diff changeset
   163
].
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents: 26
diff changeset
   164
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents: 26
diff changeset
   165
"/ claus:
180
6b0985611def *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 168
diff changeset
   166
"/     I startup the rdoit server process;
6b0985611def *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 168
diff changeset
   167
"/     (using rdoit to start ST/X views via window manager menus ...)
217
fdd6854623d6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 216
diff changeset
   168
"/     If you like (and want) this to be also started automatically,
fdd6854623d6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 216
diff changeset
   169
"/     replace the if- by 'true ifTrue:...' or remove the if.
180
6b0985611def *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 168
diff changeset
   170
"/
204
69f81ca32823 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 199
diff changeset
   171
"
180
6b0985611def *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 168
diff changeset
   172
thisIsMySystem ifTrue:[
195
1cf850844da9 new infoMessage scheme
Claus Gittinger <cg@exept.de>
parents: 191
diff changeset
   173
    'private.rc [info]: starting RDoItServer ...' infoPrintCR.
199
2f1fb3201393 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 198
diff changeset
   174
    Autoload autoloadFailedSignal handle:[:ex |
2f1fb3201393 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 198
diff changeset
   175
	'private.rc [warning]: cannot load RDoItServer' errorPrintCR
204
69f81ca32823 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 199
diff changeset
   176
	ex return
199
2f1fb3201393 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 198
diff changeset
   177
    ] do:[
204
69f81ca32823 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 199
diff changeset
   178
	RDoItServer autoload.
69f81ca32823 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 199
diff changeset
   179
	RDoItServer start.
69f81ca32823 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 199
diff changeset
   180
	RDoItServer allowHost:'localhost'.
199
2f1fb3201393 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 198
diff changeset
   181
    ]
180
6b0985611def *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 168
diff changeset
   182
].
204
69f81ca32823 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 199
diff changeset
   183
"
180
6b0985611def *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 168
diff changeset
   184
6b0985611def *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 168
diff changeset
   185
"/ claus:
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents: 26
diff changeset
   186
"/     I dont want those warnings about stx features being non-portable ...
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents: 26
diff changeset
   187
"/     However, you should (at least when new to the system) see them.
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents: 26
diff changeset
   188
"/     Once you get bored about them, make the below unconditional.
152
956f80caf731 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 143
diff changeset
   189
"/     (you can also turn them off in the Launchers settings menu ...)
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents: 26
diff changeset
   190
"/
236
36288fab504e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 222
diff changeset
   191
Compiler warnPossibleIncompatibilities:false. 
36288fab504e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 222
diff changeset
   192
Compiler warnSTXSpecials:false.
36288fab504e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 222
diff changeset
   193
Compiler allowUnderscoreInIdentifier:true. 
36288fab504e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 222
diff changeset
   194
Compiler warnUnderscoreInIdentifier:false. 
25
claus
parents: 24
diff changeset
   195
166
1d262259df3d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 161
diff changeset
   196
25
claus
parents: 24
diff changeset
   197
"/ set the package back to some useful default for programming
claus
parents: 24
diff changeset
   198
"/ this is the package token assigned (by default) to all new methods/classes
claus
parents: 24
diff changeset
   199
"/ (so you can use a browser on package=#private to find all of your new
claus
parents: 24
diff changeset
   200
"/ stuff easily. (the conditional on Project being nonNil is for stripped down
claus
parents: 24
diff changeset
   201
"/ systems without a Project class)
claus
parents: 24
diff changeset
   202
claus
parents: 24
diff changeset
   203
Project notNil ifTrue:[
claus
parents: 24
diff changeset
   204
    Project setDefaultProject.
444
eaf6af059ed9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
   205
    "/ Project current package:#'private'.
25
claus
parents: 24
diff changeset
   206
].
8
d82829c0d867 *** empty log message ***
claus
parents: 7
diff changeset
   207
!
123
a974136fe017 startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents: 118
diff changeset
   208
456
120583c57276 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 445
diff changeset
   209
"/ UserPreferences current useNewVersionDiffBrowser:true.
120583c57276 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 445
diff changeset
   210
"/ UserPreferences current useNewSystemBrowser:true.
386
5be25f341b4f use new version diff browser by default
Claus Gittinger <cg@exept.de>
parents: 361
diff changeset
   211
5be25f341b4f use new version diff browser by default
Claus Gittinger <cg@exept.de>
parents: 361
diff changeset
   212
"/
5be25f341b4f use new version diff browser by default
Claus Gittinger <cg@exept.de>
parents: 361
diff changeset
   213
"/ any personal file (p_<username>.rc) ?
5be25f341b4f use new version diff browser by default
Claus Gittinger <cg@exept.de>
parents: 361
diff changeset
   214
"/
307
039f6f30b2c5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 306
diff changeset
   215
Smalltalk fileIn:('p_' , OperatingSystem getLoginName , '.rc').
306
635ace8a4df9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 303
diff changeset
   216
126
565643e43074 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 123
diff changeset
   217
(Smalltalk commandLine includes:'-q') ifFalse:[
123
a974136fe017 startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents: 118
diff changeset
   218
    "/
a974136fe017 startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents: 118
diff changeset
   219
    "/ this turns off/on information messages from classes
a974136fe017 startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents: 118
diff changeset
   220
    "/ (such as 'D8IMAGE: allocating colors ...'
a974136fe017 startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents: 118
diff changeset
   221
    "/
a974136fe017 startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents: 118
diff changeset
   222
    "/ Object infoPrinting:false.
462
4a2a54e2c3cc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 456
diff changeset
   223
    OperatingSystem hasConsole ifTrue:[    
4a2a54e2c3cc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 456
diff changeset
   224
	Object infoPrinting:true.
4a2a54e2c3cc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 456
diff changeset
   225
    ].
123
a974136fe017 startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents: 118
diff changeset
   226
a974136fe017 startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents: 118
diff changeset
   227
    "/
a974136fe017 startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents: 118
diff changeset
   228
    "/ this turns off/on information messages from the VM
a974136fe017 startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents: 118
diff changeset
   229
    "/ (such as 'MEM: chitty chatty ...'
a974136fe017 startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents: 118
diff changeset
   230
    "/
a974136fe017 startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents: 118
diff changeset
   231
    "/ ObjectMemory infoPrinting:false.
462
4a2a54e2c3cc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 456
diff changeset
   232
    OperatingSystem hasConsole ifTrue:[    
4a2a54e2c3cc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 456
diff changeset
   233
	ObjectMemory infoPrinting:true.
4a2a54e2c3cc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 456
diff changeset
   234
    ]
123
a974136fe017 startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents: 118
diff changeset
   235
].
143
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   236
326
cb9ef9fff52e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
   237
"/
cb9ef9fff52e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
   238
"/ startBlocks will be evaluated after the thread-scheduler have been started
cb9ef9fff52e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
   239
"/ and the displays event dispatcher is running.
cb9ef9fff52e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
   240
"/
143
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   241
Smalltalk addStartBlock:[
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   242
    "/
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   243
    "/ start some views ...
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   244
    "/ you can add all stuff you'd like to come up by default
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   245
    "/ the first time.
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   246
    "/
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   247
195
1cf850844da9 new infoMessage scheme
Claus Gittinger <cg@exept.de>
parents: 191
diff changeset
   248
    'private.rc [info]: starting main-menu ...' infoPrintCR.
289
20c821948867 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 279
diff changeset
   249
    Text new. "/ to avoid visible messages in minitalk
296
388fa68c1467 use NewLauncher as default
Claus Gittinger <cg@exept.de>
parents: 295
diff changeset
   250
    "/ Launcher open.
465
41583842e65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 464
diff changeset
   251
    NewLauncher open.
468
052d8a6c9ae1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 465
diff changeset
   252
483
012186ce2d0d no banner for me
Claus Gittinger <cg@exept.de>
parents: 468
diff changeset
   253
    ((OperatingSystem getLoginName ~= 'cg')
532
5fc692e6c265 Comments only
Stefan Vogel <sv@exept.de>
parents: 488
diff changeset
   254
     or:[OperatingSystem getDomainName ~= 'exept.de']
5fc692e6c265 Comments only
Stefan Vogel <sv@exept.de>
parents: 488
diff changeset
   255
    ) ifTrue:[
483
012186ce2d0d no banner for me
Claus Gittinger <cg@exept.de>
parents: 468
diff changeset
   256
	"/
532
5fc692e6c265 Comments only
Stefan Vogel <sv@exept.de>
parents: 488
diff changeset
   257
	"/ disable this if you don't like the other window to come up
483
012186ce2d0d no banner for me
Claus Gittinger <cg@exept.de>
parents: 468
diff changeset
   258
	"/
012186ce2d0d no banner for me
Claus Gittinger <cg@exept.de>
parents: 468
diff changeset
   259
	WorkspaceApplication openSystemWorkspace.
012186ce2d0d no banner for me
Claus Gittinger <cg@exept.de>
parents: 468
diff changeset
   260
    ].
143
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   261
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   262
    "/
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   263
    "/ start a SystemBrowser
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   264
    "/ - I dont want one (using Launcher)
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   265
    "/
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   266
    "/ SystemBrowser open.
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   267
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   268
    "/
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   269
    "/ start a FileBrowser
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   270
    "/ - I dont want one (using Launcher)
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   271
    "/
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   272
    "/ FileBrowser open.
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   273
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   274
    "/
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   275
    "/ start a Workspace 
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   276
    "/ - I dont want one (using Launcher)
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   277
    "/
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   278
    "/ Workspace open.
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   279
].
71dc5ec7ef26 Renamed NewLauncher to Launcher.
Stefan Vogel <sv@exept.de>
parents: 141
diff changeset
   280
123
a974136fe017 startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents: 118
diff changeset
   281
!