2005-05-27 05:47:37 -04:00
|
|
|
;;; utilities
|
|
|
|
|
|
|
|
(define-interface handle-fatal-error-interface
|
|
|
|
(export with-fatal-error-handler*
|
|
|
|
(with-fatal-error-handler :syntax)))
|
|
|
|
|
|
|
|
(define-structure handle-fatal-error handle-fatal-error-interface
|
|
|
|
(open scheme conditions handle)
|
|
|
|
(files handle-fatal-error))
|
|
|
|
|
2005-05-22 05:20:44 -04:00
|
|
|
;;; history data structure
|
|
|
|
|
|
|
|
(define-interface history-interface
|
|
|
|
(export make-empty-history
|
|
|
|
history?
|
|
|
|
entry?
|
|
|
|
entry-data
|
|
|
|
append-history-item!
|
|
|
|
insert-history-item!
|
|
|
|
history-next-entry
|
|
|
|
history-prev-entry
|
|
|
|
history-first-entry
|
|
|
|
history-last-entry))
|
|
|
|
|
|
|
|
(define-structure history history-interface
|
2005-05-22 11:05:25 -04:00
|
|
|
(open scheme
|
2005-05-22 05:20:44 -04:00
|
|
|
define-record-types)
|
|
|
|
(files history))
|
|
|
|
|
2005-05-22 11:05:25 -04:00
|
|
|
;;; layout utilities
|
|
|
|
|
|
|
|
(define-interface layout-interface
|
|
|
|
(export seperate-line
|
|
|
|
layout-result-standard
|
|
|
|
get-marked-positions-1
|
|
|
|
get-marked-positions-2
|
|
|
|
get-marked-positions-3
|
|
|
|
exp->string
|
2005-05-25 05:44:27 -04:00
|
|
|
sublist
|
|
|
|
|
2005-05-31 15:31:38 -04:00
|
|
|
fill-up-string
|
|
|
|
cut-to-size
|
|
|
|
|
2005-05-25 05:44:27 -04:00
|
|
|
;; old drawing cruft
|
|
|
|
make-result-buffer
|
|
|
|
result-buffer?
|
|
|
|
result-buffer-line
|
|
|
|
set-result-buffer-line!
|
|
|
|
result-buffer-column
|
|
|
|
set-result-buffer-column!
|
|
|
|
result-buffer-y
|
|
|
|
set-result-buffer-y!
|
|
|
|
result-buffer-x
|
|
|
|
set-result-buffer-x!
|
|
|
|
result-buffer-num-lines
|
|
|
|
set-result-buffer-num-lines!
|
|
|
|
result-buffer-num-cols
|
|
|
|
set-result-buffer-num-cols!
|
|
|
|
result-buffer-highlighted
|
|
|
|
set-result-buffer-highlighted!
|
|
|
|
result-buffer-marked
|
|
|
|
set-result-buffer-marked!
|
2005-06-14 07:20:30 -04:00
|
|
|
make-simple-result-buffer-printer
|
|
|
|
|
|
|
|
show-shell-screen
|
|
|
|
with-output-to-result-screen
|
|
|
|
wait-for-key
|
|
|
|
|
|
|
|
paint-lock))
|
2005-05-22 11:05:25 -04:00
|
|
|
|
|
|
|
(define-structure layout layout-interface
|
2005-06-14 07:20:30 -04:00
|
|
|
(open scheme-with-scsh
|
2005-05-22 11:05:25 -04:00
|
|
|
srfi-6 ;; basic string ports
|
2005-05-25 05:44:27 -04:00
|
|
|
define-record-types
|
2005-06-14 07:20:30 -04:00
|
|
|
let-opt
|
|
|
|
locks
|
2005-05-25 05:44:27 -04:00
|
|
|
|
|
|
|
tty-debug
|
|
|
|
ncurses)
|
2005-05-22 11:05:25 -04:00
|
|
|
(files layout))
|
|
|
|
|
2005-06-07 14:24:05 -04:00
|
|
|
;;; windows and buffers
|
|
|
|
|
|
|
|
(define-interface app-windows-interface
|
|
|
|
(export make-app-window
|
|
|
|
app-window?
|
|
|
|
app-window-x
|
|
|
|
app-window-y
|
|
|
|
app-window-height
|
|
|
|
app-window-width
|
|
|
|
app-window-curses-win))
|
|
|
|
|
|
|
|
(define-interface nuit-windows-interface
|
|
|
|
(export bar-1
|
|
|
|
active-command-window
|
|
|
|
command-frame-window
|
|
|
|
command-window
|
|
|
|
result-window
|
|
|
|
result-frame-window
|
|
|
|
command-buffer
|
|
|
|
result-buffer
|
|
|
|
focus-on-command-buffer?
|
|
|
|
focus-command-buffer!
|
|
|
|
focus-on-result-buffer?
|
|
|
|
focus-result-buffer!
|
|
|
|
init-windows!))
|
|
|
|
|
|
|
|
(define-interface result-buffer-changes-interface
|
|
|
|
(export result-buffer-other-object-has-focus-rv
|
|
|
|
signal-result-buffer-object-change))
|
|
|
|
|
|
|
|
(define-structures
|
|
|
|
((app-windows app-windows-interface)
|
|
|
|
(nuit-windows nuit-windows-interface)
|
2005-06-14 07:20:30 -04:00
|
|
|
(result-buffer-changes result-buffer-changes-interface)
|
|
|
|
(initial-tty (export save-initial-tty-info!
|
|
|
|
restore-initial-tty-info!)))
|
|
|
|
(open (modify scheme-with-scsh
|
|
|
|
(hide select receive))
|
2005-06-07 14:24:05 -04:00
|
|
|
define-record-types
|
|
|
|
threads
|
|
|
|
|
|
|
|
rendezvous
|
|
|
|
rendezvous-channels
|
|
|
|
|
|
|
|
ncurses
|
|
|
|
tty-debug
|
|
|
|
layout)
|
|
|
|
(files win))
|
|
|
|
|
2005-05-22 11:05:25 -04:00
|
|
|
;;; process viewer plugin
|
2005-05-22 05:20:44 -04:00
|
|
|
|
2005-05-30 15:19:36 -04:00
|
|
|
(define-structure process-viewer
|
2005-05-22 11:05:25 -04:00
|
|
|
(export)
|
|
|
|
(open scheme
|
2005-05-25 05:44:27 -04:00
|
|
|
define-record-types
|
2005-05-22 11:05:25 -04:00
|
|
|
srfi-1
|
2005-05-25 05:44:27 -04:00
|
|
|
srfi-13
|
2005-05-22 11:05:25 -04:00
|
|
|
formats
|
2005-05-30 15:19:36 -04:00
|
|
|
signals
|
2005-05-25 05:44:27 -04:00
|
|
|
|
2005-06-01 07:49:56 -04:00
|
|
|
focus-table
|
2005-05-31 15:31:38 -04:00
|
|
|
ncurses
|
2005-05-22 11:05:25 -04:00
|
|
|
pps
|
|
|
|
plugin
|
2005-05-25 07:36:12 -04:00
|
|
|
layout
|
2005-05-25 05:44:27 -04:00
|
|
|
select-list
|
2005-05-22 11:05:25 -04:00
|
|
|
tty-debug)
|
|
|
|
(files process))
|
|
|
|
|
2005-05-31 10:54:04 -04:00
|
|
|
;;; user/group viewer plugin
|
|
|
|
|
|
|
|
(define-structure user-group-info-plugin (export)
|
|
|
|
(open scheme-with-scsh
|
|
|
|
define-record-types
|
|
|
|
(subset primitives (record-ref record?))
|
|
|
|
|
2005-05-31 12:02:53 -04:00
|
|
|
dirlist-view-plugin
|
|
|
|
fs-object
|
2005-05-31 10:54:04 -04:00
|
|
|
plugin
|
|
|
|
layout
|
|
|
|
select-list
|
|
|
|
tty-debug)
|
|
|
|
(files user-group-info))
|
|
|
|
|
2005-06-10 04:13:04 -04:00
|
|
|
;;; AFS
|
|
|
|
|
|
|
|
|
|
|
|
(define-structure afs-plugin (export)
|
|
|
|
(open scheme-with-scsh
|
|
|
|
afs-fs
|
|
|
|
define-record-types
|
|
|
|
(subset srfi-1 (iota))
|
|
|
|
|
|
|
|
ncurses
|
|
|
|
select-list
|
|
|
|
plugin
|
|
|
|
layout)
|
|
|
|
(files afs))
|
2005-05-31 10:54:04 -04:00
|
|
|
|
2005-05-22 11:05:25 -04:00
|
|
|
;;; file list view plugin
|
|
|
|
|
2005-05-31 12:02:53 -04:00
|
|
|
(define-structure dirlist-view-plugin (export make-browser-for-dir
|
|
|
|
make-fsobjects-viewer)
|
2005-05-26 07:35:17 -04:00
|
|
|
(open (modify nuit-eval (hide string-copy))
|
|
|
|
srfi-1
|
2005-05-31 13:28:06 -04:00
|
|
|
(subset srfi-13
|
2005-06-01 05:15:43 -04:00
|
|
|
(string-copy string-drop string-join
|
2005-05-31 13:28:06 -04:00
|
|
|
string-drop-right string-prefix-length))
|
2005-05-26 07:35:17 -04:00
|
|
|
signals
|
2005-05-31 10:54:48 -04:00
|
|
|
let-opt
|
2005-05-26 07:35:17 -04:00
|
|
|
|
2005-06-01 06:04:21 -04:00
|
|
|
focus-table
|
2005-05-31 04:01:06 -04:00
|
|
|
objects
|
2005-05-22 11:05:25 -04:00
|
|
|
layout
|
|
|
|
fs-object
|
2005-05-26 07:35:17 -04:00
|
|
|
select-list
|
2005-05-22 11:05:25 -04:00
|
|
|
plugin
|
|
|
|
ncurses
|
|
|
|
tty-debug)
|
|
|
|
(files browse-directory-list))
|
|
|
|
|
2005-06-07 14:24:05 -04:00
|
|
|
;;; terminal buffer
|
|
|
|
|
|
|
|
(define-interface terminal-buffer-interface
|
|
|
|
(export make-terminal-buffer
|
|
|
|
terminal-buffer?
|
|
|
|
terminal-buffer-add-char
|
|
|
|
curses-paint-terminal-buffer
|
|
|
|
curses-paint-terminal-buffer/complete))
|
|
|
|
|
|
|
|
(define-structure terminal-buffer terminal-buffer-interface
|
|
|
|
(open scheme-with-scsh
|
|
|
|
srfi-1
|
|
|
|
define-record-types
|
|
|
|
signals
|
|
|
|
|
|
|
|
ncurses
|
|
|
|
tty-debug)
|
|
|
|
(files termbuf))
|
|
|
|
|
2005-05-23 10:52:03 -04:00
|
|
|
;;; standard command plugin
|
|
|
|
|
|
|
|
(define-structure standard-command-plugin
|
2005-05-27 17:32:21 -04:00
|
|
|
(export standard-command-plugin show-shell-screen)
|
2005-05-27 13:01:14 -04:00
|
|
|
(open let-opt
|
|
|
|
signals
|
|
|
|
srfi-1
|
|
|
|
srfi-13
|
2005-05-27 17:32:21 -04:00
|
|
|
|
2005-06-04 07:22:44 -04:00
|
|
|
joblist
|
2005-06-14 07:20:30 -04:00
|
|
|
layout
|
2005-05-27 17:32:21 -04:00
|
|
|
fs-object
|
2005-05-27 12:02:39 -04:00
|
|
|
pps
|
2005-05-27 13:01:14 -04:00
|
|
|
nuit-eval
|
2005-05-27 12:02:39 -04:00
|
|
|
ncurses
|
2005-05-27 13:01:14 -04:00
|
|
|
tty-debug
|
2005-05-23 10:52:03 -04:00
|
|
|
plugin)
|
|
|
|
(files std-command))
|
|
|
|
|
2005-05-31 07:20:20 -04:00
|
|
|
(define-structure standard-viewer
|
|
|
|
(export make-standard-viewer)
|
|
|
|
(open scheme
|
2005-06-02 03:23:11 -04:00
|
|
|
srfi-23
|
2005-05-31 07:20:20 -04:00
|
|
|
|
2005-05-31 10:54:04 -04:00
|
|
|
tty-debug
|
2005-05-31 07:20:20 -04:00
|
|
|
objects
|
|
|
|
layout)
|
|
|
|
(files std-viewer))
|
|
|
|
|
2005-05-22 11:05:25 -04:00
|
|
|
;;; fs-objects
|
|
|
|
|
|
|
|
(define-interface fs-object-interface
|
|
|
|
(export make-fs-object
|
|
|
|
fs-object?
|
|
|
|
fs-object-name
|
2005-05-26 07:35:17 -04:00
|
|
|
fs-object-path
|
|
|
|
fs-object-info
|
2005-05-27 17:32:21 -04:00
|
|
|
fs-object-complete-path
|
|
|
|
combine-path
|
|
|
|
file-name->fs-object))
|
2005-05-22 11:05:25 -04:00
|
|
|
|
|
|
|
(define-structure fs-object fs-object-interface
|
2005-05-27 17:32:21 -04:00
|
|
|
(open scheme-with-scsh
|
2005-05-27 05:53:06 -04:00
|
|
|
formats
|
|
|
|
handle-fatal-error
|
2005-05-22 11:05:25 -04:00
|
|
|
define-record-types)
|
|
|
|
(files fs-object))
|
|
|
|
|
2005-05-25 05:44:27 -04:00
|
|
|
;;; browse list stuff
|
|
|
|
|
|
|
|
(define-interface select-list-interface
|
|
|
|
(export make-select-list
|
|
|
|
select-list?
|
2005-05-26 07:35:17 -04:00
|
|
|
|
|
|
|
make-unmarked-element
|
|
|
|
make-marked-element
|
|
|
|
element?
|
|
|
|
|
2005-05-25 05:44:27 -04:00
|
|
|
select-list-handle-key-press
|
|
|
|
unmark-current-line
|
|
|
|
mark-current-line
|
|
|
|
move-cursor-up
|
|
|
|
move-cursor-down
|
2005-05-25 07:36:12 -04:00
|
|
|
paint-selection-list
|
2005-05-25 09:48:17 -04:00
|
|
|
paint-selection-list-at
|
|
|
|
select-list-get-selection
|
2005-05-30 11:38:13 -04:00
|
|
|
select-list-selected-entry
|
|
|
|
|
|
|
|
select-list-navigation-key?
|
2005-06-04 07:22:44 -04:00
|
|
|
select-list-marking-key?
|
|
|
|
|
|
|
|
make-get-focus-object-method))
|
2005-05-25 05:44:27 -04:00
|
|
|
|
|
|
|
(define-structure select-list select-list-interface
|
|
|
|
(open scheme
|
|
|
|
srfi-1
|
2005-06-04 07:22:44 -04:00
|
|
|
(subset srfi-13 (string-join))
|
2005-05-25 05:44:27 -04:00
|
|
|
define-record-types
|
2005-05-26 07:35:17 -04:00
|
|
|
signals
|
2005-06-04 07:22:44 -04:00
|
|
|
|
|
|
|
(subset focus-table (make-focus-object-reference))
|
2005-05-25 05:44:27 -04:00
|
|
|
tty-debug
|
|
|
|
plugin
|
|
|
|
layout
|
|
|
|
ncurses)
|
|
|
|
(files select-list))
|
|
|
|
|
2005-06-04 07:22:44 -04:00
|
|
|
;;; joblist viewer
|
|
|
|
|
|
|
|
(define-structure joblist-viewer
|
|
|
|
(export)
|
|
|
|
(open scheme-with-scsh
|
|
|
|
srfi-1
|
|
|
|
srfi-6
|
|
|
|
(subset srfi-13 (string-join))
|
|
|
|
signals
|
|
|
|
|
|
|
|
objects
|
2005-06-07 14:24:05 -04:00
|
|
|
console
|
2005-06-04 07:22:44 -04:00
|
|
|
jobs
|
|
|
|
ncurses
|
|
|
|
focus-table
|
|
|
|
select-list
|
|
|
|
plugin
|
|
|
|
layout)
|
|
|
|
(files job-viewer))
|
|
|
|
|
2005-05-24 09:57:56 -04:00
|
|
|
;;; inspector
|
|
|
|
|
|
|
|
(define-interface nuit-inspector-interface
|
|
|
|
(export inspect-value))
|
|
|
|
|
|
|
|
(define-structure nuit-inspector-plugin nuit-inspector-interface
|
|
|
|
(open scheme
|
|
|
|
inspector-internal
|
|
|
|
continuations
|
|
|
|
formats
|
|
|
|
define-record-types
|
2005-05-25 11:18:26 -04:00
|
|
|
srfi-1
|
|
|
|
srfi-6
|
|
|
|
display-conditions
|
2005-05-27 12:02:39 -04:00
|
|
|
signals
|
2005-06-01 08:55:29 -04:00
|
|
|
(subset srfi-13 (string-join))
|
2005-06-02 15:02:04 -04:00
|
|
|
debug-data
|
|
|
|
(subset disclosers (template-debug-data))
|
|
|
|
|
2005-06-01 08:55:29 -04:00
|
|
|
focus-table
|
2005-05-25 11:18:26 -04:00
|
|
|
ncurses
|
|
|
|
layout
|
|
|
|
select-list
|
2005-05-24 09:57:56 -04:00
|
|
|
tty-debug
|
|
|
|
plugin)
|
|
|
|
(files inspector))
|
|
|
|
|
2005-05-22 11:05:25 -04:00
|
|
|
;;; nuit evaluates the expressions entered into command buffer in this
|
|
|
|
;;; package
|
|
|
|
|
2005-06-01 07:26:56 -04:00
|
|
|
(define-structures
|
|
|
|
((nuit-eval (compound-interface
|
|
|
|
(interface-of scheme-with-scsh)
|
2005-06-14 07:20:30 -04:00
|
|
|
(export focus-value)
|
|
|
|
run-jobs-interface))
|
2005-06-01 07:26:56 -04:00
|
|
|
(nuit-eval/focus-table (export focus-table)))
|
2005-05-22 11:05:25 -04:00
|
|
|
(open
|
|
|
|
(modify scheme-with-scsh
|
|
|
|
(rename (directory-files scsh-directory-files)))
|
|
|
|
let-opt
|
|
|
|
srfi-1
|
2005-06-01 07:26:56 -04:00
|
|
|
|
2005-06-07 14:24:05 -04:00
|
|
|
terminal-buffer
|
2005-06-04 05:43:22 -04:00
|
|
|
jobs
|
2005-06-14 07:20:30 -04:00
|
|
|
run-jobs
|
2005-06-01 07:26:56 -04:00
|
|
|
focus-table
|
2005-05-22 11:05:25 -04:00
|
|
|
fs-object
|
|
|
|
pps)
|
|
|
|
(files eval))
|
|
|
|
|
|
|
|
;;; nuit plug-in registration
|
|
|
|
|
|
|
|
(define-interface plugin-interface
|
2005-05-23 08:47:41 -04:00
|
|
|
(export make-view-plugin
|
|
|
|
view-plugin?
|
2005-05-30 15:19:36 -04:00
|
|
|
view-plugin-constructor
|
2005-05-23 08:47:41 -04:00
|
|
|
view-plugin-type-predicate
|
|
|
|
|
|
|
|
make-command-plugin
|
|
|
|
command-plugin?
|
|
|
|
command-plugin-command
|
|
|
|
command-plugin-completer
|
|
|
|
command-plugin-evaluater
|
|
|
|
|
2005-05-30 15:19:36 -04:00
|
|
|
register-plugin!))
|
2005-05-22 11:05:25 -04:00
|
|
|
|
|
|
|
(define-interface plugin-host-interface
|
2005-05-23 08:47:41 -04:00
|
|
|
(export command-plugin-list
|
|
|
|
view-plugin-list
|
2005-05-30 15:19:36 -04:00
|
|
|
command-completions))
|
2005-05-22 11:05:25 -04:00
|
|
|
|
|
|
|
(define-structures
|
|
|
|
((plugin plugin-interface)
|
|
|
|
(plugin-host plugin-host-interface))
|
|
|
|
(open scheme
|
|
|
|
define-record-types
|
|
|
|
let-opt
|
2005-05-28 08:05:33 -04:00
|
|
|
signals
|
|
|
|
|
|
|
|
completion-sets)
|
2005-05-22 11:05:25 -04:00
|
|
|
(files plugins))
|
2005-05-22 05:20:44 -04:00
|
|
|
|
2005-05-30 15:19:36 -04:00
|
|
|
;;; objects
|
|
|
|
|
|
|
|
(define-interface objects-interface
|
|
|
|
(export send))
|
|
|
|
|
|
|
|
(define-structure objects objects-interface
|
|
|
|
(open scheme
|
|
|
|
signals)
|
|
|
|
(files objects))
|
|
|
|
|
2005-05-27 13:01:14 -04:00
|
|
|
;;; focus table
|
|
|
|
|
2005-06-01 06:04:21 -04:00
|
|
|
(define-interface focus-table-interface
|
|
|
|
(export make-empty-focus-table
|
|
|
|
add-focus-object
|
2005-06-01 07:49:56 -04:00
|
|
|
get-focus-object
|
|
|
|
make-focus-object-reference))
|
2005-05-27 13:01:14 -04:00
|
|
|
|
2005-06-01 06:04:21 -04:00
|
|
|
(define-structure focus-table focus-table-interface
|
|
|
|
(open scheme
|
|
|
|
define-record-types
|
|
|
|
tables)
|
|
|
|
(files focus))
|
2005-05-28 08:05:33 -04:00
|
|
|
|
|
|
|
;;; completion-sets
|
|
|
|
|
|
|
|
(define-interface completion-set-interface
|
|
|
|
(export make-empty-completion-set
|
|
|
|
make-completion-set
|
|
|
|
adjoin-completion-set
|
|
|
|
make-completion-set-for-executables
|
|
|
|
completions-for
|
|
|
|
completions-for-executables))
|
|
|
|
|
|
|
|
(define-structure completion-sets completion-set-interface
|
|
|
|
(open scheme-with-scsh
|
2005-05-27 13:01:14 -04:00
|
|
|
define-record-types
|
2005-05-28 08:05:33 -04:00
|
|
|
srfi-1
|
|
|
|
thread-fluids)
|
|
|
|
(files complete))
|
2005-05-27 13:01:14 -04:00
|
|
|
|
2005-06-07 14:24:05 -04:00
|
|
|
;;; console
|
|
|
|
|
|
|
|
(define-interface console-interface
|
|
|
|
(export
|
|
|
|
make-console
|
|
|
|
console?
|
|
|
|
view-console
|
|
|
|
pause-console-output
|
|
|
|
resume-console-output))
|
|
|
|
|
|
|
|
(define-structure console console-interface
|
|
|
|
(open (modify scheme-with-scsh
|
|
|
|
(hide receive select))
|
|
|
|
define-record-types
|
|
|
|
threads
|
|
|
|
rendezvous
|
|
|
|
rendezvous-channels
|
|
|
|
|
2005-06-07 16:03:38 -04:00
|
|
|
ncurses
|
2005-06-07 14:24:05 -04:00
|
|
|
plugin
|
|
|
|
tty-debug
|
|
|
|
result-buffer-changes
|
|
|
|
terminal-buffer)
|
|
|
|
(files console))
|
|
|
|
|
2005-06-03 07:44:53 -04:00
|
|
|
;;; jobs and joblist
|
|
|
|
|
|
|
|
(define-interface job-interface
|
2005-06-14 07:20:30 -04:00
|
|
|
(export make-job-with-console
|
|
|
|
make-job-sans-console
|
2005-06-03 07:44:53 -04:00
|
|
|
job-status
|
|
|
|
job-status-rv
|
2005-06-04 07:22:44 -04:00
|
|
|
|
|
|
|
job?
|
2005-06-14 07:20:30 -04:00
|
|
|
job-with-console?
|
|
|
|
job-sans-console?
|
|
|
|
|
2005-06-04 07:22:44 -04:00
|
|
|
job-running?
|
|
|
|
job-ready?
|
|
|
|
job-waiting-for-input?
|
|
|
|
job-has-new-output?
|
2005-06-14 07:20:30 -04:00
|
|
|
job-stopped?
|
2005-06-04 07:22:44 -04:00
|
|
|
job-start-time
|
|
|
|
job-end-time
|
|
|
|
job-proc
|
|
|
|
job-name
|
2005-06-07 14:24:05 -04:00
|
|
|
job-run-status
|
|
|
|
job-console
|
|
|
|
|
|
|
|
running-jobs
|
|
|
|
ready-jobs
|
|
|
|
clear-ready-jobs!
|
|
|
|
jobs-with-new-output
|
|
|
|
jobs-waiting-for-input
|
2005-06-04 07:22:44 -04:00
|
|
|
|
2005-06-14 07:20:30 -04:00
|
|
|
continue-job-in-foreground
|
|
|
|
|
2005-06-03 07:44:53 -04:00
|
|
|
signal-job
|
|
|
|
stop-job
|
2005-06-14 07:20:30 -04:00
|
|
|
continue-job))
|
|
|
|
|
|
|
|
(define-interface run-jobs-interface
|
|
|
|
(export
|
|
|
|
(run-with-console :syntax)
|
|
|
|
(go :syntax)
|
|
|
|
(go/bg :syntax)))
|
2005-06-03 07:44:53 -04:00
|
|
|
|
|
|
|
(define-interface joblist-interface
|
|
|
|
(export running-jobs
|
|
|
|
ready-jobs
|
|
|
|
jobs-with-new-output
|
|
|
|
jobs-waiting-for-input
|
|
|
|
spawn-joblist-surveillant
|
|
|
|
initial-job-statistics))
|
|
|
|
|
|
|
|
(define-structures ((jobs job-interface)
|
2005-06-14 07:20:30 -04:00
|
|
|
(run-jobs run-jobs-interface)
|
2005-06-03 07:44:53 -04:00
|
|
|
(joblist joblist-interface))
|
|
|
|
(open (modify scheme-with-scsh
|
|
|
|
(hide receive select))
|
|
|
|
define-record-types
|
|
|
|
threads
|
|
|
|
srfi-1
|
|
|
|
signals
|
2005-06-14 07:20:30 -04:00
|
|
|
locks
|
2005-06-03 07:44:53 -04:00
|
|
|
|
|
|
|
rendezvous
|
|
|
|
rendezvous-channels
|
2005-06-07 14:24:05 -04:00
|
|
|
rendezvous-placeholders
|
|
|
|
|
2005-06-14 07:20:30 -04:00
|
|
|
initial-tty
|
|
|
|
ncurses
|
2005-06-07 14:24:05 -04:00
|
|
|
terminal-buffer
|
|
|
|
nuit-windows
|
|
|
|
app-windows
|
|
|
|
layout
|
2005-06-14 07:20:30 -04:00
|
|
|
tty-debug
|
2005-06-07 14:24:05 -04:00
|
|
|
console)
|
2005-06-03 07:44:53 -04:00
|
|
|
(files job))
|
|
|
|
|
2005-05-22 05:20:44 -04:00
|
|
|
;;; nuit
|
|
|
|
|
2004-09-14 07:54:00 -04:00
|
|
|
(define-interface nuit-interface
|
2004-10-10 09:22:25 -04:00
|
|
|
(export nuit))
|
2004-09-14 07:54:00 -04:00
|
|
|
|
|
|
|
(define-structure nuit nuit-interface
|
2005-06-03 07:44:53 -04:00
|
|
|
(open (modify scheme-with-scsh (hide receive))
|
2004-09-14 07:54:00 -04:00
|
|
|
external-calls
|
|
|
|
define-record-types
|
|
|
|
conditions
|
2005-05-30 11:20:39 -04:00
|
|
|
threads
|
|
|
|
locks
|
2004-09-14 07:54:00 -04:00
|
|
|
signals
|
|
|
|
handle
|
2005-05-24 09:57:56 -04:00
|
|
|
rt-modules
|
2005-05-30 05:31:47 -04:00
|
|
|
(modify ncurses (hide filter))
|
2005-05-20 11:20:34 -04:00
|
|
|
srfi-1
|
2004-10-03 05:13:30 -04:00
|
|
|
srfi-6
|
2005-05-20 11:20:34 -04:00
|
|
|
srfi-13
|
2005-05-18 11:25:16 -04:00
|
|
|
debugging
|
2005-05-17 05:22:07 -04:00
|
|
|
inspect-exception
|
2005-05-18 11:25:16 -04:00
|
|
|
rt-modules
|
2005-05-20 11:20:34 -04:00
|
|
|
tty-debug
|
2005-06-03 07:44:53 -04:00
|
|
|
threads
|
|
|
|
rendezvous
|
|
|
|
(modify rendezvous-channels
|
|
|
|
(rename
|
|
|
|
(send cml-send)
|
|
|
|
(receive cml-receive)))
|
|
|
|
let-opt
|
2005-05-31 07:20:20 -04:00
|
|
|
|
2005-06-07 14:24:05 -04:00
|
|
|
app-windows
|
2005-06-14 07:20:30 -04:00
|
|
|
initial-tty
|
2005-06-07 14:24:05 -04:00
|
|
|
nuit-windows
|
|
|
|
|
2005-06-01 06:04:21 -04:00
|
|
|
focus-table
|
2005-06-07 14:24:05 -04:00
|
|
|
result-buffer-changes
|
2005-06-01 07:26:56 -04:00
|
|
|
nuit-eval/focus-table
|
2005-05-22 11:05:25 -04:00
|
|
|
fs-object
|
2005-05-30 15:19:36 -04:00
|
|
|
objects
|
2005-05-22 11:05:25 -04:00
|
|
|
plugin
|
|
|
|
plugin-host
|
|
|
|
layout
|
2005-05-22 05:20:44 -04:00
|
|
|
pps
|
2005-05-22 11:05:25 -04:00
|
|
|
history
|
2005-05-27 05:47:37 -04:00
|
|
|
handle-fatal-error
|
2005-05-28 08:05:33 -04:00
|
|
|
completion-sets
|
|
|
|
select-list
|
2005-06-03 07:44:53 -04:00
|
|
|
jobs
|
|
|
|
joblist
|
2005-05-22 11:05:25 -04:00
|
|
|
;; the following modules are plugins
|
2005-06-04 07:22:44 -04:00
|
|
|
joblist-viewer
|
2005-05-22 11:05:25 -04:00
|
|
|
dirlist-view-plugin
|
2005-05-31 10:54:04 -04:00
|
|
|
user-group-info-plugin
|
2005-06-10 04:13:04 -04:00
|
|
|
afs-plugin
|
2005-05-30 15:19:36 -04:00
|
|
|
process-viewer
|
2005-05-24 09:57:56 -04:00
|
|
|
standard-command-plugin
|
2005-05-31 07:20:20 -04:00
|
|
|
standard-viewer
|
2005-05-24 09:57:56 -04:00
|
|
|
nuit-inspector-plugin)
|
2005-05-27 05:47:37 -04:00
|
|
|
(files nuit-engine))
|
|
|
|
|