VDBUnixInferiorConsoleApplication.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 20 Jun 2019 13:51:41 +0100
changeset 173 bc6174f3570f
parent 115 0dd989ce3ae7
child 264 23960fcb9dac
permissions -rw-r--r--
Refactor support for VDB customization scripts Upon strartup, VDB now loads `~/.vdbinit.st`. If that file does not exist, it loads default `vdbinit.st`. This default file also serves as an example and documentation for available settings.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
49
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
     1
"
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
     2
jv:vdb - Visual / VM Debugger
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
     3
Copyright (C) 2015-now Jan Vrany
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
     4
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
     5
This software is licensed under 'Creative Commons Attribution-NonCommercial 4.0 International License'
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
     6
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
     7
You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
     8
"
2
9741a7683808 Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     9
"{ Package: 'jv:vdb' }"
9741a7683808 Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    10
40
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    11
"{ NameSpace: Smalltalk }"
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    12
51
6c982fc25fe2 Renamed `VDBAbstractConsoleApplication` to `VDBAbstractUnixConsoleApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 49
diff changeset
    13
VDBAbstractUnixConsoleApplication subclass:#VDBUnixInferiorConsoleApplication
40
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    14
	instanceVariableNames:''
2
9741a7683808 Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    15
	classVariableNames:''
9741a7683808 Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    16
	poolDictionaries:''
51
6c982fc25fe2 Renamed `VDBAbstractConsoleApplication` to `VDBAbstractUnixConsoleApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 49
diff changeset
    17
	category:'VDB-UI-Console-Unix'
2
9741a7683808 Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    18
!
9741a7683808 Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    19
51
6c982fc25fe2 Renamed `VDBAbstractConsoleApplication` to `VDBAbstractUnixConsoleApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 49
diff changeset
    20
!VDBUnixInferiorConsoleApplication class methodsFor:'documentation'!
49
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
    21
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
    22
copyright
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
    23
"
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
    24
jv:vdb - Visual / VM Debugger
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
    25
Copyright (C) 2015-now Jan Vrany
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
    26
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
    27
This software is licensed under 'Creative Commons Attribution-NonCommercial 4.0 International License'
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
    28
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
    29
You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
    30
"
2ec7f7ed9242 License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 44
diff changeset
    31
! !
5
fac6e83fd5c0 Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2
diff changeset
    32
51
6c982fc25fe2 Renamed `VDBAbstractConsoleApplication` to `VDBAbstractUnixConsoleApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 49
diff changeset
    33
!VDBUnixInferiorConsoleApplication class methodsFor:'accessing'!
6c982fc25fe2 Renamed `VDBAbstractConsoleApplication` to `VDBAbstractUnixConsoleApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 49
diff changeset
    34
115
0dd989ce3ae7 Cleanup default window titles
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 51
diff changeset
    35
defaultWindowTitle
0dd989ce3ae7 Cleanup default window titles
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 51
diff changeset
    36
    ^ self resources string: 'Inferior Console'
51
6c982fc25fe2 Renamed `VDBAbstractConsoleApplication` to `VDBAbstractUnixConsoleApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 49
diff changeset
    37
6c982fc25fe2 Renamed `VDBAbstractConsoleApplication` to `VDBAbstractUnixConsoleApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 49
diff changeset
    38
    "Created: / 08-01-2018 / 18:59:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
115
0dd989ce3ae7 Cleanup default window titles
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 51
diff changeset
    39
    "Modified: / 03-10-2018 / 15:39:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
51
6c982fc25fe2 Renamed `VDBAbstractConsoleApplication` to `VDBAbstractUnixConsoleApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 49
diff changeset
    40
! !
6c982fc25fe2 Renamed `VDBAbstractConsoleApplication` to `VDBAbstractUnixConsoleApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 49
diff changeset
    41
6c982fc25fe2 Renamed `VDBAbstractConsoleApplication` to `VDBAbstractUnixConsoleApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 49
diff changeset
    42
!VDBUnixInferiorConsoleApplication class methodsFor:'startup-web applications'!
40
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    43
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    44
initialPageSpec
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    45
    "this is only required for web-applications"
2
9741a7683808 Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    46
40
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    47
    ^ self shouldImplement
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    48
!
2
9741a7683808 Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    49
40
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    50
pageSpecs
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    51
    "this is only required for web-applications"
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    52
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    53
    ^ self shouldImplement
2
9741a7683808 Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    54
! !
9741a7683808 Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    55
51
6c982fc25fe2 Renamed `VDBAbstractConsoleApplication` to `VDBAbstractUnixConsoleApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 49
diff changeset
    56
!VDBUnixInferiorConsoleApplication methodsFor:'accessing'!
6
981a32abdbf6 Fixes for debugger/inferior console.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    57
40
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    58
consoleInput
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    59
    "superclass VDBAbstractConsoleApplication says that I am responsible to implement this method"
6
981a32abdbf6 Fixes for debugger/inferior console.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    60
40
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    61
    ^ debugger inferiorStdout
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    62
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    63
    "Modified: / 01-06-2017 / 09:46:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
6
981a32abdbf6 Fixes for debugger/inferior console.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    64
!
981a32abdbf6 Fixes for debugger/inferior console.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 5
diff changeset
    65
40
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    66
consoleOutput
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    67
    "superclass VDBAbstractConsoleApplication says that I am responsible to implement this method"
2
9741a7683808 Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    68
40
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    69
    ^ debugger inferiorStdout
2
9741a7683808 Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    70
40
d766d4c854a2 Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 6
diff changeset
    71
    "Modified: / 01-06-2017 / 09:45:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
2
9741a7683808 Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    72
! !
9741a7683808 Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    73
51
6c982fc25fe2 Renamed `VDBAbstractConsoleApplication` to `VDBAbstractUnixConsoleApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 49
diff changeset
    74
!VDBUnixInferiorConsoleApplication class methodsFor:'documentation'!
5
fac6e83fd5c0 Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2
diff changeset
    75
fac6e83fd5c0 Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2
diff changeset
    76
version_HG
fac6e83fd5c0 Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2
diff changeset
    77
fac6e83fd5c0 Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2
diff changeset
    78
    ^ '$Changeset: <not expanded> $'
fac6e83fd5c0 Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2
diff changeset
    79
! !
fac6e83fd5c0 Implemented VDBTabbingContainer.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2
diff changeset
    80