18398
|
1 |
"{ Encoding: utf8 }"
|
|
2 |
|
5296
|
3 |
"
|
|
4 |
COPYRIGHT (c) 2001 by eXept Software AG
|
|
5 |
All Rights Reserved
|
|
6 |
|
|
7 |
This software is furnished under a license and may be used
|
|
8 |
only in accordance with the terms of that license and with the
|
|
9 |
inclusion of the above copyright notice. This software may not
|
|
10 |
be provided or otherwise made available to, or used by, any
|
|
11 |
other person. No title to or ownership of the software is
|
|
12 |
hereby transferred.
|
|
13 |
"
|
|
14 |
"{ Package: 'stx:libtool' }"
|
|
15 |
|
18398
|
16 |
"{ NameSpace: Smalltalk }"
|
|
17 |
|
5305
|
18 |
MultiViewToolApplication subclass:#TerminalApplication
|
13257
|
19 |
instanceVariableNames:'initialDirectory keepAlive keepAliveProcess'
|
5296
|
20 |
classVariableNames:''
|
|
21 |
poolDictionaries:''
|
|
22 |
category:'Interface-Smalltalk'
|
|
23 |
!
|
|
24 |
|
|
25 |
!TerminalApplication class methodsFor:'documentation'!
|
|
26 |
|
|
27 |
copyright
|
|
28 |
"
|
|
29 |
COPYRIGHT (c) 2001 by eXept Software AG
|
|
30 |
All Rights Reserved
|
|
31 |
|
|
32 |
This software is furnished under a license and may be used
|
|
33 |
only in accordance with the terms of that license and with the
|
|
34 |
inclusion of the above copyright notice. This software may not
|
|
35 |
be provided or otherwise made available to, or used by, any
|
|
36 |
other person. No title to or ownership of the software is
|
|
37 |
hereby transferred.
|
|
38 |
"
|
|
39 |
!
|
|
40 |
|
|
41 |
documentation
|
|
42 |
"
|
5297
|
43 |
A simple wrapper around a Terminal-View, adding a pullDown menu.
|
5296
|
44 |
|
|
45 |
[author:]
|
|
46 |
Claus Gittinger
|
|
47 |
"
|
|
48 |
! !
|
|
49 |
|
|
50 |
!TerminalApplication class methodsFor:'interface specs'!
|
|
51 |
|
|
52 |
windowSpec
|
|
53 |
"This resource specification was automatically generated
|
|
54 |
by the UIPainter of ST/X."
|
|
55 |
|
|
56 |
"Do not manually edit this!! If it is corrupted,
|
|
57 |
the UIPainter may not be able to read the specification."
|
|
58 |
|
|
59 |
"
|
|
60 |
UIPainter new openOnClass:TerminalApplication andSelector:#windowSpec
|
|
61 |
TerminalApplication new openInterface:#windowSpec
|
|
62 |
TerminalApplication open
|
|
63 |
"
|
|
64 |
|
|
65 |
<resource: #canvas>
|
|
66 |
|
|
67 |
^
|
13939
|
68 |
#(FullSpec
|
|
69 |
name: windowSpec
|
|
70 |
window:
|
|
71 |
(WindowSpec
|
|
72 |
label: 'Terminal'
|
|
73 |
name: 'Terminal'
|
|
74 |
min: (Point 10 10)
|
|
75 |
bounds: (Rectangle 0 0 432 241)
|
|
76 |
menu: mainMenu
|
|
77 |
)
|
|
78 |
component:
|
|
79 |
(SpecCollection
|
|
80 |
collection: (
|
|
81 |
(NoteBookViewSpec
|
|
82 |
name: 'NoteBook1'
|
|
83 |
layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
|
|
84 |
model: selectedWorkspaceIndexHolder
|
|
85 |
menu: tabList
|
|
86 |
useIndex: true
|
|
87 |
accessTabMenuAction: tabMenuAt:
|
|
88 |
destroyTabAction: removeWorkspace:
|
|
89 |
canvas: workspaceHolder
|
|
90 |
canvasInset: 0
|
|
91 |
keepCanvasAlive: true
|
|
92 |
tabLevel: 1
|
5296
|
93 |
)
|
13939
|
94 |
)
|
|
95 |
|
|
96 |
)
|
|
97 |
)
|
5296
|
98 |
! !
|
|
99 |
|
|
100 |
!TerminalApplication class methodsFor:'menu specs'!
|
|
101 |
|
|
102 |
mainMenu
|
|
103 |
"This resource specification was automatically generated
|
|
104 |
by the MenuEditor of ST/X."
|
|
105 |
|
|
106 |
"Do not manually edit this!! If it is corrupted,
|
|
107 |
the MenuEditor may not be able to read the specification."
|
|
108 |
|
13214
|
109 |
|
5296
|
110 |
"
|
13214
|
111 |
MenuEditor new openOnClass:TerminalApplication andSelector:#mainMenu
|
|
112 |
(Menu new fromLiteralArrayEncoding:(TerminalApplication mainMenu)) startUp
|
5296
|
113 |
"
|
|
114 |
|
|
115 |
<resource: #menu>
|
|
116 |
|
|
117 |
^
|
13214
|
118 |
#(Menu
|
|
119 |
(
|
|
120 |
(MenuItem
|
|
121 |
label: 'File'
|
|
122 |
submenu:
|
|
123 |
(Menu
|
|
124 |
(
|
|
125 |
(MenuItem
|
|
126 |
label: 'New Shell'
|
|
127 |
itemValue: newWorkspace
|
5296
|
128 |
)
|
13214
|
129 |
(MenuItem
|
|
130 |
label: '-'
|
|
131 |
)
|
|
132 |
(MenuItem
|
|
133 |
label: 'Playback File...'
|
|
134 |
itemValue: menuPlayback
|
5296
|
135 |
)
|
13214
|
136 |
(MenuItem
|
|
137 |
label: '-'
|
|
138 |
)
|
|
139 |
(MenuItem
|
|
140 |
label: 'Save As...'
|
|
141 |
itemValue: menuSaveAs
|
5296
|
142 |
)
|
13214
|
143 |
(MenuItem
|
|
144 |
enabled: hasMultipleBuffersHolder
|
|
145 |
label: 'Save all As...'
|
|
146 |
itemValue: menuSaveAllAs
|
5296
|
147 |
)
|
13214
|
148 |
(MenuItem
|
|
149 |
label: '-'
|
|
150 |
)
|
|
151 |
(MenuItem
|
|
152 |
label: 'Exit'
|
|
153 |
itemValue: closeRequest
|
5296
|
154 |
)
|
13214
|
155 |
)
|
|
156 |
nil
|
|
157 |
nil
|
|
158 |
)
|
|
159 |
)
|
|
160 |
(MenuItem
|
13939
|
161 |
label: 'Buffers'
|
|
162 |
nameKey: Buffer
|
|
163 |
submenu:
|
|
164 |
(Menu
|
|
165 |
(
|
|
166 |
(MenuItem
|
18398
|
167 |
label: 'Add Page'
|
13939
|
168 |
itemValue: addWorkspace
|
|
169 |
)
|
|
170 |
(MenuItem
|
|
171 |
label: 'Rename...'
|
|
172 |
itemValue: renameWorkspace
|
|
173 |
)
|
|
174 |
(MenuItem
|
|
175 |
label: '-'
|
|
176 |
)
|
|
177 |
(MenuItem
|
|
178 |
enabled: canRemoveWorkspace
|
18398
|
179 |
label: 'Remove Page'
|
13939
|
180 |
itemValue: removeWorkspace
|
|
181 |
)
|
|
182 |
)
|
|
183 |
nil
|
|
184 |
nil
|
|
185 |
)
|
|
186 |
)
|
|
187 |
(MenuItem
|
13214
|
188 |
label: 'View'
|
|
189 |
submenu:
|
|
190 |
(Menu
|
|
191 |
(
|
|
192 |
(MenuItem
|
|
193 |
label: 'Normal'
|
|
194 |
itemValue: setNormalDisplayMode
|
5296
|
195 |
)
|
13214
|
196 |
(MenuItem
|
|
197 |
label: 'Reverse'
|
|
198 |
itemValue: setReverseDisplayMode
|
5296
|
199 |
)
|
13214
|
200 |
(MenuItem
|
|
201 |
label: 'Green'
|
|
202 |
itemValue: setGreenDisplayMode
|
5296
|
203 |
)
|
13217
|
204 |
(MenuItem
|
|
205 |
label: 'Red'
|
|
206 |
itemValue: setRedDisplayMode
|
|
207 |
)
|
|
208 |
(MenuItem
|
|
209 |
label: '-'
|
|
210 |
)
|
|
211 |
(MenuItem
|
|
212 |
label: 'Ignore Text Color Commands'
|
|
213 |
indication: noColors:
|
|
214 |
)
|
5296
|
215 |
)
|
|
216 |
nil
|
|
217 |
nil
|
|
218 |
)
|
|
219 |
)
|
13214
|
220 |
(MenuItem
|
|
221 |
label: 'Edit'
|
|
222 |
submenu:
|
|
223 |
(Menu
|
|
224 |
(
|
|
225 |
(MenuItem
|
|
226 |
enabled: hasSelectionInActiveWorkspace
|
|
227 |
label: 'Copy'
|
|
228 |
itemValue: copySelection
|
5296
|
229 |
)
|
13214
|
230 |
(MenuItem
|
|
231 |
label: 'Paste'
|
|
232 |
itemValue: paste
|
5296
|
233 |
)
|
13214
|
234 |
(MenuItem
|
|
235 |
label: '-'
|
5296
|
236 |
)
|
13214
|
237 |
(MenuItem
|
|
238 |
label: 'Select All'
|
|
239 |
itemValue: selectAll
|
5296
|
240 |
)
|
|
241 |
)
|
|
242 |
nil
|
|
243 |
nil
|
|
244 |
)
|
|
245 |
)
|
13214
|
246 |
(MenuItem
|
|
247 |
label: 'Shell'
|
|
248 |
submenu:
|
|
249 |
(Menu
|
|
250 |
(
|
|
251 |
(MenuItem
|
|
252 |
label: 'Interrupt'
|
|
253 |
itemValue: doSendInterrupt
|
5296
|
254 |
)
|
13214
|
255 |
(MenuItem
|
|
256 |
label: 'Kill'
|
|
257 |
itemValue: doSendKillSignal
|
5296
|
258 |
)
|
13214
|
259 |
(MenuItem
|
|
260 |
label: '-'
|
5296
|
261 |
)
|
13214
|
262 |
(MenuItem
|
13244
|
263 |
label: 'Send "~." (ssh/telnet quit)'
|
|
264 |
itemValue: doSendTildeStop
|
|
265 |
)
|
|
266 |
(MenuItem
|
13260
|
267 |
label: 'Keep Connection Alive'
|
13257
|
268 |
indication: keepSSHConnectionAliveHolder
|
|
269 |
)
|
|
270 |
(MenuItem
|
13244
|
271 |
label: '-'
|
|
272 |
)
|
|
273 |
(MenuItem
|
13214
|
274 |
label: 'Reset Terminal'
|
|
275 |
itemValue: doReset
|
5296
|
276 |
)
|
|
277 |
)
|
|
278 |
nil
|
|
279 |
nil
|
|
280 |
)
|
|
281 |
)
|
13214
|
282 |
(MenuItem
|
|
283 |
label: 'Help'
|
|
284 |
startGroup: right
|
|
285 |
submenu:
|
|
286 |
(Menu
|
|
287 |
(
|
|
288 |
(MenuItem
|
|
289 |
label: 'Documentation'
|
|
290 |
itemValue: openDocumentation
|
5296
|
291 |
)
|
13214
|
292 |
(MenuItem
|
|
293 |
label: '-'
|
5296
|
294 |
)
|
13214
|
295 |
(MenuItem
|
|
296 |
label: 'About this Application...'
|
|
297 |
itemValue: openAboutThisApplication
|
5296
|
298 |
)
|
|
299 |
)
|
|
300 |
nil
|
|
301 |
nil
|
|
302 |
)
|
|
303 |
)
|
|
304 |
)
|
|
305 |
nil
|
|
306 |
nil
|
|
307 |
)
|
18398
|
308 |
|
|
309 |
"Modified: / 21-09-2018 / 11:04:44 / Claus Gittinger"
|
5296
|
310 |
!
|
|
311 |
|
|
312 |
tabMenu
|
|
313 |
"This resource specification was automatically generated
|
|
314 |
by the MenuEditor of ST/X."
|
|
315 |
|
|
316 |
"Do not manually edit this!! If it is corrupted,
|
|
317 |
the MenuEditor may not be able to read the specification."
|
|
318 |
|
|
319 |
"
|
|
320 |
MenuEditor new openOnClass:WorkspaceApplication andSelector:#tabMenu
|
|
321 |
(Menu new fromLiteralArrayEncoding:(WorkspaceApplication tabMenu)) startUp
|
|
322 |
"
|
|
323 |
|
|
324 |
<resource: #menu>
|
|
325 |
|
|
326 |
^
|
|
327 |
#(#Menu
|
|
328 |
#(
|
|
329 |
#(#MenuItem
|
18398
|
330 |
#label: 'Add Page'
|
5296
|
331 |
#translateLabel: true
|
|
332 |
"/ #triggerOnDown: true
|
|
333 |
#value: #addWorkspace
|
|
334 |
)
|
|
335 |
#(#MenuItem
|
|
336 |
#label: 'Rename...'
|
|
337 |
#translateLabel: true
|
|
338 |
"/ #triggerOnDown: true
|
|
339 |
#value: #renameWorkspace:
|
|
340 |
)
|
|
341 |
#(#MenuItem
|
|
342 |
#label: '-'
|
|
343 |
)
|
|
344 |
#(#MenuItem
|
18398
|
345 |
#label: 'Remove Page'
|
5296
|
346 |
#translateLabel: true
|
|
347 |
"/ #triggerOnDown: true
|
|
348 |
#value: #removeWorkspace:
|
|
349 |
#enabled: #canRemoveWorkspace:
|
|
350 |
)
|
|
351 |
)
|
|
352 |
nil
|
|
353 |
nil
|
|
354 |
)
|
18398
|
355 |
|
|
356 |
"Modified: / 21-09-2018 / 11:04:51 / Claus Gittinger"
|
5296
|
357 |
! !
|
|
358 |
|
|
359 |
!TerminalApplication class methodsFor:'special startup'!
|
|
360 |
|
5300
|
361 |
openIn:aDirectory
|
|
362 |
"launch a new terminal in some directory"
|
|
363 |
|
|
364 |
|terminal|
|
5296
|
365 |
|
5300
|
366 |
terminal := self new.
|
|
367 |
terminal initialDirectory:aDirectory.
|
|
368 |
terminal open.
|
|
369 |
^ terminal
|
5296
|
370 |
|
|
371 |
"
|
5300
|
372 |
TerminalApplication open
|
|
373 |
TerminalApplication openIn:'/etc'
|
5296
|
374 |
"
|
|
375 |
! !
|
|
376 |
|
13257
|
377 |
!TerminalApplication methodsFor:'aspects'!
|
|
378 |
|
|
379 |
keepSSHConnectionAliveHolder
|
|
380 |
keepAlive isNil ifTrue:[
|
|
381 |
keepAlive := false asValue.
|
|
382 |
keepAlive onChangeSend:#keepSSHConnectionAliveHolderChanged to:self.
|
|
383 |
].
|
|
384 |
^ keepAlive
|
|
385 |
|
|
386 |
"Created: / 30-07-2013 / 07:51:59 / cg"
|
|
387 |
! !
|
|
388 |
|
5296
|
389 |
!TerminalApplication methodsFor:'menu-actions'!
|
|
390 |
|
|
391 |
addWorkspace
|
14803
|
392 |
self
|
|
393 |
addWindow:(self createWorkspace)
|
|
394 |
named:'Terminal%1'
|
|
395 |
"/ tabIcon:(ToolbarIconLibrary console13x13Icon)
|
5296
|
396 |
!
|
|
397 |
|
|
398 |
createWorkspace
|
|
399 |
|scr|
|
|
400 |
|
10937
|
401 |
"/ JV@2011-11-30: XTermView disabled as recent changes in
|
|
402 |
"/ #startShellInSelectedWindow leads to infinite loop.
|
|
403 |
"/ further investigation needed.
|
13903
|
404 |
"/ sorry jan: XtermView seems to be not ok (masterView:) and also not working
|
|
405 |
"/ on all systems (mac). make this a configurable option
|
|
406 |
false "(OperatingSystem isUNIXlike and:[XTermView notNil])" ifTrue:[
|
13815
|
407 |
scr := XTermView new.
|
|
408 |
scr workingDirectory: initialDirectory.
|
|
409 |
] ifFalse:[
|
10937
|
410 |
VT100TerminalView isNil ifTrue:[
|
|
411 |
self error:'missing: VT100TerminalView'
|
|
412 |
].
|
10253
|
413 |
scr := (HVScrollableView for:VT100TerminalView).
|
|
414 |
scr autoHideScrollBars:false.
|
|
415 |
scr horizontalMini:true.
|
13815
|
416 |
].
|
10253
|
417 |
|
5296
|
418 |
self window realized ifTrue:[
|
|
419 |
self window sensor pushUserEvent:#startShellInSelectedWindow for:self.
|
|
420 |
].
|
|
421 |
^ scr
|
9812
|
422 |
|
|
423 |
"Modified: / 08-04-2011 / 14:56:57 / cg"
|
13815
|
424 |
"Modified: / 03-04-2012 / 10:19:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
5296
|
425 |
!
|
|
426 |
|
|
427 |
doKill
|
|
428 |
self selectedWorkspacesTextView doKill.
|
|
429 |
!
|
|
430 |
|
|
431 |
doReset
|
|
432 |
self selectedWorkspacesTextView doReset.
|
|
433 |
!
|
|
434 |
|
|
435 |
doSendInterrupt
|
|
436 |
self selectedWorkspacesTextView doSendInterrupt.
|
|
437 |
!
|
|
438 |
|
|
439 |
doSendKillSignal
|
|
440 |
self selectedWorkspacesTextView doSendKillSignal.
|
|
441 |
!
|
|
442 |
|
13244
|
443 |
doSendTildeStop
|
|
444 |
self selectedWorkspacesTextView send:'~.'.
|
|
445 |
|
|
446 |
"Created: / 29-07-2013 / 18:20:36 / cg"
|
|
447 |
!
|
|
448 |
|
13257
|
449 |
keepSSHConnectionAliveHolderChanged
|
|
450 |
keepAlive value ifTrue:[
|
|
451 |
self startKeepAliveProcess
|
|
452 |
] ifFalse:[
|
|
453 |
self stopKeepAliveProcess
|
|
454 |
]
|
|
455 |
|
|
456 |
"Created: / 30-07-2013 / 07:53:12 / cg"
|
|
457 |
!
|
|
458 |
|
5296
|
459 |
menuPlayback
|
|
460 |
|file suff|
|
|
461 |
|
|
462 |
suff := 'sh'.
|
|
463 |
|
|
464 |
OperatingSystem isMSDOSlike ifTrue:[ suff := 'bat' ].
|
|
465 |
file := Dialog requestFileName:'Playback file' default:('file.',suff) pattern:('*.',suff).
|
18634
|
466 |
file size ~~ 0 ifTrue:[
|
5296
|
467 |
self playbackFile:file
|
|
468 |
]
|
18634
|
469 |
|
|
470 |
"Modified: / 01-03-2019 / 16:13:24 / Claus Gittinger"
|
5296
|
471 |
!
|
|
472 |
|
13217
|
473 |
noColors
|
|
474 |
^ self selectedWorkspacesTextView noColors
|
|
475 |
!
|
|
476 |
|
|
477 |
noColors:aBoolean
|
|
478 |
self selectedWorkspacesTextView noColors:aBoolean.
|
|
479 |
!
|
|
480 |
|
5296
|
481 |
openDocumentation
|
|
482 |
"opens the documentation file"
|
19246
|
483 |
"Called when <F1> is pressed"
|
5296
|
484 |
|
5351
|
485 |
self openHTMLDocument: 'tools/misc/TOP.html#TERMINAL'
|
5296
|
486 |
!
|
|
487 |
|
|
488 |
playbackFile:aFileName
|
|
489 |
|file ws|
|
|
490 |
|
|
491 |
file := aFileName asFilename.
|
|
492 |
file exists ifFalse:[
|
|
493 |
Dialog warn:(resources string:'File %1 does not exist.' with:file asString).
|
|
494 |
^ self
|
|
495 |
].
|
|
496 |
|
|
497 |
ws := self selectedWorkspacesTextView.
|
|
498 |
file readingLinesDo:[:eachLine | ws sendLine:eachLine]
|
|
499 |
.
|
13214
|
500 |
!
|
|
501 |
|
|
502 |
setGreenDisplayMode
|
|
503 |
self selectedWorkspacesTextView setGreenDisplayMode.
|
|
504 |
!
|
|
505 |
|
|
506 |
setNormalDisplayMode
|
|
507 |
self selectedWorkspacesTextView setNormalDisplayMode.
|
|
508 |
!
|
|
509 |
|
13217
|
510 |
setRedDisplayMode
|
|
511 |
self selectedWorkspacesTextView setRedDisplayMode.
|
|
512 |
!
|
|
513 |
|
13214
|
514 |
setReverseDisplayMode
|
|
515 |
self selectedWorkspacesTextView setReverseDisplayMode.
|
5296
|
516 |
! !
|
|
517 |
|
|
518 |
!TerminalApplication methodsFor:'private'!
|
|
519 |
|
|
520 |
isModifiedWorkspace:aView
|
|
521 |
^ false
|
13257
|
522 |
!
|
|
523 |
|
|
524 |
startKeepAliveProcess
|
|
525 |
"keep alive, by sending a return from time to time.
|
|
526 |
Raise to top, if connection is lost"
|
|
527 |
|
|
528 |
keepAliveProcess isNil ifTrue:[
|
|
529 |
keepAliveProcess :=
|
|
530 |
[
|
|
531 |
[true] whileTrue:[
|
13259
|
532 |
self selectedWorkspacesTextView sendCR:''.
|
13257
|
533 |
Delay waitForSeconds:30.
|
|
534 |
].
|
|
535 |
] newProcess.
|
|
536 |
keepAliveProcess resume.
|
|
537 |
].
|
|
538 |
|
|
539 |
"Created: / 30-07-2013 / 09:14:36 / cg"
|
|
540 |
!
|
|
541 |
|
|
542 |
stopKeepAliveProcess
|
|
543 |
|p|
|
|
544 |
|
|
545 |
(p := keepAliveProcess) notNil ifTrue:[
|
|
546 |
keepAliveProcess := nil.
|
|
547 |
p terminate
|
|
548 |
].
|
|
549 |
|
|
550 |
"Created: / 30-07-2013 / 09:15:05 / cg"
|
5296
|
551 |
! !
|
|
552 |
|
13815
|
553 |
!TerminalApplication methodsFor:'startup'!
|
|
554 |
|
|
555 |
startShellInSelectedWindow
|
|
556 |
|vt|
|
|
557 |
|
|
558 |
vt := self selectedWorkspacesTextView.
|
|
559 |
(vt notNil and:[vt superView realized]) ifFalse:[
|
|
560 |
self window sensor pushUserEvent:#startShellInSelectedWindow for:self.
|
|
561 |
^ self.
|
|
562 |
].
|
|
563 |
|
|
564 |
vt startShellIn:initialDirectory.
|
|
565 |
vt shellTerminateAction:[self shellFinishedInWorkspace:vt].
|
|
566 |
vt masterWindow:(self window). "/ to change window title
|
|
567 |
|
|
568 |
"Modified: / 07-04-2011 / 09:03:55 / cg"
|
|
569 |
"Modified: / 03-04-2012 / 10:31:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
570 |
! !
|
|
571 |
|
13257
|
572 |
!TerminalApplication methodsFor:'startup & release'!
|
5296
|
573 |
|
5300
|
574 |
initialDirectory:aDirectory
|
|
575 |
initialDirectory := aDirectory
|
|
576 |
!
|
|
577 |
|
5299
|
578 |
postBuildWith:aBuilder
|
|
579 |
|w h|
|
|
580 |
|
|
581 |
super postBuildWith:aBuilder.
|
|
582 |
|
|
583 |
w := self window width max:(workspaces first preferredExtent x).
|
|
584 |
h := builder menuBar height + (workspaces first preferredExtent y).
|
|
585 |
self window extent:(w@h).
|
|
586 |
!
|
|
587 |
|
5296
|
588 |
postOpenWith:aBuilder
|
|
589 |
self startShellInSelectedWindow.
|
|
590 |
super postOpenWith:aBuilder
|
|
591 |
!
|
|
592 |
|
13257
|
593 |
release
|
|
594 |
self stopKeepAliveProcess.
|
|
595 |
super release.
|
|
596 |
|
|
597 |
"Created: / 30-07-2013 / 07:54:16 / cg"
|
|
598 |
!
|
|
599 |
|
5305
|
600 |
shellFinishedInWorkspace:aView
|
|
601 |
"/ vt backgroundColor:(Color red).
|
|
602 |
aView
|
|
603 |
cr;
|
19085
|
604 |
nextPutLine:('>> shell terminated.' allBold allRed).
|
18686
|
605 |
|
|
606 |
"Modified: / 13-03-2019 / 22:06:31 / Claus Gittinger"
|
5296
|
607 |
! !
|
|
608 |
|
|
609 |
!TerminalApplication class methodsFor:'documentation'!
|
|
610 |
|
13217
|
611 |
version
|
18398
|
612 |
^ '$Header$'
|
13217
|
613 |
!
|
|
614 |
|
9812
|
615 |
version_CVS
|
18398
|
616 |
^ '$Header$'
|
5296
|
617 |
! !
|
13135
|
618 |
|