Commit Graph

276 Commits

Author SHA1 Message Date
eknauel da9f65fee8 Fix binding
part of darcs patch Thu Sep 22 19:38:41 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:36:16 +00:00
eknauel ae9052aeaf Try to get handlers right
part of darcs patch Thu Sep 22 19:36:25 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:36:07 +00:00
eknauel 04e4dba6a2 Finish ,exit
part of darcs patch Thu Sep 22 18:59:15 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:36:00 +00:00
eknauel 62365b40d3 Add ,reload-package
part of darcs patch Thu Sep 22 18:58:17 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:35:49 +00:00
eknauel 1d2a36c982 Viewer for host-info
part of darcs patch Thu Sep 22 18:43:55 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:34:02 +00:00
eknauel 54907fe26e Abstraction, abstraction, abstraction
part of darcs patch Thu Sep 22 18:38:05 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:33:54 +00:00
eknauel a00af6e57b Add viewer for protocol-info
part of darcs patch Thu Sep 22 18:29:43 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:33:47 +00:00
eknauel 16fa9cb6ad Handle all options of id
part of darcs patch Thu Sep 22 14:50:23 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:33:39 +00:00
eknauel 85a258237c Introduce with-inspector-handler to turn an exception into a value for the inspector
part of darcs patch Thu Sep 22 14:13:30 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:33:27 +00:00
eknauel 7488bcdf18 deal with empty values
part of darcs patch Thu Sep 22 14:02:15 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:33:20 +00:00
eknauel d3e61c5546 prepare menu returns a list of lists not of pairs
part of darcs patch Thu Sep 22 13:44:13 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:33:11 +00:00
eknauel 45f1bb41b3 Fixes for inspector, introduce ,inspect command
part of darcs patch Thu Sep 22 13:24:07 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:33:03 +00:00
eknauel 2fe9ca9f66 Pasting for service-info
part of darcs patch Thu Sep 22 00:44:15 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:32:53 +00:00
eknauel af369b2d3a Better interface for pasting
part of darcs patch Thu Sep 22 00:43:18 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:32:46 +00:00
eknauel c40ea7f252 Display %CPU instead of TIME
part of darcs patch Wed Sep 21 21:10:41 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:32:36 +00:00
eknauel 8e2a6cd437 Filtering of processes
part of darcs patch Wed Sep 21 20:53:22 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:32:26 +00:00
eknauel fdd47211ac Modal windows
part of darcs patch Wed Sep 21 20:52:34 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:32:19 +00:00
eknauel 889fa445f1 Small changes for app-windows
part of darcs patch Wed Sep 21 20:50:24 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:32:10 +00:00
eknauel 35ec8720e1 select-list now accepts width instead of result-buffer
part of darcs patch Wed Sep 21 20:47:51 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:31:54 +00:00
eknauel 76570de92e Fix display-to-string
part of darcs patch Wed Sep 21 19:40:54 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:31:46 +00:00
eknauel 781fe54df3 Don't register for a single fs-object
part of darcs patch Mon Sep 19 22:00:42 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:31:35 +00:00
eknauel 40e260f78d Sorting for file-system viewer
part of darcs patch Mon Sep 19 21:06:27 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:31:28 +00:00
eknauel f9e74ee38b Don#t display welcome message
part of darcs patch Wed Sep 21 20:54:03 EEST 2005  Eric Knauel <knauel@informatik.uni-tuebingen.de>
2005-09-27 16:31:17 +00:00
eknauel a354a75345 Introduce toggle-cmd/scm-mode-with-conversion
part of darcs patch Wed Sep 21 20:25:07 EEST 2005  Eric Knauel <knauel@informatik.uni-tuebingen.de>
2005-09-27 16:31:07 +00:00
eknauel 2b9854c8ff New painting for select-line, new sorting for processes (by column)
part of darcs patch Sun Sep 18 21:31:38 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:30:57 +00:00
eknauel 4fbe6c5e51 Make the active-command-window work again
part of darcs patch Sun Sep 18 21:04:12 EEST 2005  Eric Knauel <knauel@informatik.uni-tuebingen.de>
2005-09-27 16:30:50 +00:00
eknauel 83ec071269 Factor out select-elements
part of darcs patch Sun Sep 18 20:32:09 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:30:40 +00:00
eknauel 21d45c8b56 Use select-line in process-viewer
part of darcs patch Sun Sep 18 20:06:01 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:30:23 +00:00
eknauel 5846cc311e select-list's element now have a painter instead of atext, make-(un)marked-text-element provides the old functionality
Sun Sep 18 19:13:55 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 16:29:34 +00:00
eknauel a6dfd794a3 re-add accidently removed file 2005-09-27 16:24:06 +00:00
eknauel fc55b768c0 added missing file 2005-09-27 16:20:57 +00:00
eknauel 29ff444f3b added new files / removed a few (actually, that doesn't seem to work with the darcs2cvs-sync.scm) 2005-09-27 16:18:04 +00:00
eknauel ada69eb0ce Simple viewer for scsh's network records. Currently service-info only
part of darcs patch Sun Sep 18 18:17:16 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 09:02:57 +00:00
eknauel 83a4e22212 Add select-line for selecting elements of a line
part of darcs patch Sun Sep 18 18:16:23 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 09:02:47 +00:00
eknauel 4d6cb75cd6 Loop invariant code motion for cursor-index
part of darcs patch Sun Sep 18 17:39:17 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 09:02:28 +00:00
eknauel 48b7f617e0 Return raw continuation if eval of Scheme expression fails
part of darcs patch Sun Sep 18 14:42:25 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 09:02:08 +00:00
eknauel d921e332be Some improvements to the history
part of darcs patch Sun Sep 18 20:27:35 EEST 2005  Eric Knauel <knauel@informatik.uni-tuebingen.de>
2005-09-27 09:01:58 +00:00
eknauel d34e8ed07e Don't disable scsh's autoreaping
part of darcs patch Sun Sep 18 14:31:17 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 09:01:24 +00:00
eknauel 528ef9ee77 Factor out eval-environment, add some commands for Scheme mode
part of darcs patch Sun Sep 18 14:29:31 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 09:01:10 +00:00
eknauel 75b30febc8 For the Scheme mode, use the expression as command
part of darcs patch Sun Sep 18 13:15:34 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 09:00:43 +00:00
eknauel 2ff942c985 Fix the result-history vs console race condition
part of darcs patch Sun Sep 18 14:34:41 EEST 2005  Eric Knauel <knauel@informatik.uni-tuebingen.de>
2005-09-27 09:00:33 +00:00
eknauel 7c5db88473 Fix a simple race condition
part of darcs patch Sun Sep 18 14:33:46 EEST 2005  Eric Knauel <knauel@informatik.uni-tuebingen.de>
2005-09-27 09:00:15 +00:00
eknauel 93ee18ce47 Try to get result window size stuff right
part of darcs patch Sun Sep 18 14:32:07 EEST 2005  Eric Knauel <knauel@informatik.uni-tuebingen.de>
2005-09-27 08:59:55 +00:00
eknauel a4ee4822df Fix a term-buf bug related with line breaks
part of darcs patch Sun Sep 18 12:39:56 EEST 2005  Eric Knauel <knauel@informatik.uni-tuebingen.de>
2005-09-27 08:59:44 +00:00
eknauel 44bfb8f118 kill and refresh for ps
part of darcs patch Sat Sep 17 19:47:08 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 08:59:34 +00:00
eknauel 60776a8c1d New alignment for processes
part of darcs patch Sat Sep 17 19:46:34 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 08:59:21 +00:00
eknauel 0280658d1c Fix the job list
part of darcs patch Sun Sep 18 12:25:51 EEST 2005  Eric Knauel <knauel@informatik.uni-tuebingen.de>
2005-09-27 08:59:07 +00:00
eknauel 2973bc8d99 Fix a drawing problem
part of darcs patch Sun Sep 18 12:16:57 EEST 2005  Eric Knauel <knauel@informatik.uni-tuebingen.de>
2005-09-27 08:58:54 +00:00
eknauel 44c95c43e5 Sorting for processes
part of darcs patch Sat Sep 17 19:21:17 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 08:58:43 +00:00
eknauel 2ba820f63a Make the initial-command-buffer-mode into an option
part of darcs patch Sat Sep 17 19:20:29 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 08:58:30 +00:00
eknauel 9da995f4cd display user in ps as well
part of darcs patch Sat Sep 17 18:38:03 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 08:58:18 +00:00
eknauel 7340f76507 Make "<View Console>" work again
part of darcs patch Sat Sep 17 19:37:33 EEST 2005  Eric Knauel <knauel@informatik.uni-tuebingen.de>
2005-09-27 08:58:06 +00:00
eknauel 60fa0e133c Introduce a library for configurable options
part of darcs patch: Sat Sep 17 18:35:54 EEST 2005  Eric Knauel <knauel@informatik.uni-tuebingen.de>
2005-09-27 08:57:28 +00:00
eknauel fbc7cc3929 Parsing of id options, support for id -P
part of darcs patch Sat Sep 17 18:05:43 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 08:46:49 +00:00
eknauel 7c5cec84b8 HEADS UP: exp->string is now write-to-string
part of darcs patch Sat Sep 17 17:28:05 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 08:46:34 +00:00
eknauel 4bdb8da41f Introduce utils module, move exp->string and display-to-string to utils
part of darcs patch Sat Sep 17 17:22:33 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 08:46:18 +00:00
eknauel 39ae30681a get-selection-as-text/ref for group-info
part of darcs patch Sat Sep 17 17:10:00 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 08:45:50 +00:00
eknauel f87a5adf01 get-selection-as-text/ref for user-info records
part of darcs patch Fri Sep 16 23:55:48 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 08:45:36 +00:00
eknauel fa5a08ace7 Default for command-buffer-mode is command
part of darcs patch Fri Sep 16 23:02:43 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 08:44:56 +00:00
eknauel 8c6de19aaa get-selection-as-ref for id-output
part of darcs patch Fri Sep 16 23:02:04 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 08:44:36 +00:00
eknauel c46282f826 Selection-ref for id-output, change semantics of select-list-get-selection, introduce select-list-get-marked
part of darcs patch Fri Sep 16 12:23:43 EEST 2005  Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
2005-09-27 08:08:15 +00:00
mainzelm 4fce440abc Command plugin and viewer for id(1) 2005-09-13 19:46:45 +00:00
mainzelm 57b621a51c Remove accidentally committed debugging code 2005-09-13 18:28:50 +00:00
mainzelm 60d1130cf4 Key bindings for fg, bg, and stop job
Ignore SIGTTOU within Commander S and reset to default handler before exec
2005-09-13 13:20:30 +00:00
mainzelm 0f45f80db0 let ls default to cwd 2005-09-12 17:21:15 +00:00
mainzelm 07555260e1 Take care of completions that do *not* alter the command line 2005-09-12 15:55:58 +00:00
mainzelm 41ac17dbe6 Return absolute paths in files-in-dir 2005-09-12 15:54:53 +00:00
mainzelm 186cebc46a Immediately expand common prefix of completions
Let ls respect its arguments
2005-09-12 15:34:36 +00:00
mainzelm f07e7fc932 Two minor fixes to enhance completion of directory names 2005-09-12 13:50:33 +00:00
mainzelm 4320c730db Present completions for "cd" with a final / 2005-09-12 13:42:21 +00:00
eknauel d7598a29f3 Fix various small problems with the job viewer. 2005-08-21 16:56:31 +00:00
eknauel 11c8b72704 It's FOCUS-VALUE-REF, not FOCUS-VALUE. 2005-08-21 16:55:34 +00:00
eknauel 80253ae452 Fix parsing problem with trailing whitespaces and no cursor-index. 2005-08-21 16:53:23 +00:00
eknauel bda54e8fbe ignore tabulator key (completion) in Scheme mode 2005-08-21 13:46:07 +00:00
eknauel 3b140722a4 fix completion, don't insert absolute file names. 2005-08-20 16:09:48 +00:00
eknauel 8c9e1bde33 Various changes and fixes for f<TAB> completion stuff. 2005-08-20 15:20:16 +00:00
eknauel 0cade47534 install an error handler for the execution of commands. 2005-08-20 08:14:36 +00:00
eknauel 837bc881fa - fix: the shortcut for RUN/CONSOLE is &*, not &&
- fix: don't be confused about the token to be completed if the
       command line has trailing whitspaces

- fix: don't crash if READ raises an error
2005-08-20 07:48:51 +00:00
eknauel 6035214d0e Fix two small completion bugs 2005-08-19 14:13:19 +00:00
eknauel eefce5d839 - make the completion mechanism use the new unparser
- fix a crash: Check if a plugin actually offers a completion function
2005-08-19 12:30:37 +00:00
eknauel 2476b86e0b - make the lexer work if called without CURSOR-INDEX
- revamp the unparser to track the cursor-position after a TO-COMPLETE
  tokens was replaced by some completion or so.
2005-08-19 12:28:53 +00:00
eknauel ca2baa2c56 Bring back the programmable completion 2005-08-18 09:23:59 +00:00
eknauel dcfe19b989 If there are whitespaces before EOF and the command-line is
incomplete, make a TO-COMPLETE record
2005-08-18 09:23:19 +00:00
eknauel 10821ee8dd Some fixes to improve the debugging of modules that employ tty-debug 2005-08-18 09:19:48 +00:00
eknauel 8c5de5ee27 Make Commander S use the new completion code and move this cruft to a
separate module.
2005-08-17 13:32:40 +00:00
eknauel 41b8e1dde9 Store the cursor position in TO-COMPLETE tokens in order to restore
the cursor position after completion.
2005-08-17 13:29:55 +00:00
eknauel f71f975e6d Support for parsing partial command lines (needed for tab completion) 2005-08-15 12:41:24 +00:00
eknauel c9f986f8cc ensure that we don't call JOB-STATUS und running jobs 2005-08-12 13:28:54 +00:00
eknauel 172d0e543a used EXEC-EPF instead of RUN in the RUN/* forms. 2005-08-12 13:27:27 +00:00
eknauel 8eedb14ef3 Care about closing copied file-descriptor/ports in parent and child of
RUN/FG*.
2005-08-11 15:18:25 +00:00
eknauel 843ed0493b Fix the process status bug. Well, sort of. It's an evil hack, I think. 2005-08-11 15:03:15 +00:00
eknauel f26e89b895 Print the exit status of jobs correctly 2005-08-11 14:50:36 +00:00
eknauel e83f3e7d81 Display the status of foreground jobs in the result buffer (instead of
#{Unspecific})
2005-08-11 09:36:10 +00:00
eknauel ffff7d3a60 Added a silly fatal-error-handler for EVAL-COMMAND-IN-SCHEME-MODE. 2005-08-10 19:46:13 +00:00
eknauel b46ff51a1c Fix the cursor position after pasting the selection. Yeah, and make
Commander S slower, once more...
2005-08-10 18:47:26 +00:00
eknauel 7ff7ef196b make sure to call CONTAINS-GLOB-EXPRESSION? only for strings 2005-08-10 18:33:33 +00:00
eknauel 3b6c77f553 Don't try to expand/glob parts of the command line that are
s-expressions
2005-08-10 18:29:04 +00:00
eknauel 1c20604f4f Make the spectacular new command language work. At least for values of
"work" that don't call for intensive testing.
2005-08-10 18:03:59 +00:00
eknauel 634cde85bf Add abstract syntax, lexer, parser, and unparser for the command language 2005-08-07 14:46:57 +00:00
eknauel 8376b8b9f7 Added a README, an installation script, and various small fixes. 2005-07-06 08:57:44 +00:00