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