Commit Graph

260 Commits

Author SHA1 Message Date
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
eknauel 154db1fb92 clean up GO and GO/BG 2005-06-15 11:42:29 +00:00
eknauel fe9bfbf1a0 Make job control work 2005-06-14 13:44:09 +00:00
eknauel 34761f66d2 Support POSIX job control, sort of. 2005-06-14 11:20:30 +00:00
eknauel 96e9c07f0e add implementation for call-completer 2005-06-13 11:04:49 +00:00
mainzelm 98c77ced7d Tiny plugin for the "fs la" command from AFS 2005-06-10 08:13:04 +00:00
eknauel 9e3d00028c Fix an application of COMMAND-BUFFER 2005-06-07 20:54:22 +00:00
eknauel 4c903444f2 performace improvements for the terminal emulator. Now feels like a
4800 bps modem connection (before: 1200-2400 bps).
2005-06-07 20:52:49 +00:00
eknauel 60ad7d02c4 fix painting a single line 2005-06-07 20:03:38 +00:00
eknauel 88c6250483 refresh window more often (i.e. too often) 2005-06-07 20:03:04 +00:00
eknauel f5c808e10a Fix the "terminal emulation" for ascii codes cr and nl. Don't pass
strings containing cr or nl to ncurses (leads to garbled output).
2005-06-07 19:50:43 +00:00
eknauel 7d0c566c0b A first (buggy) version with a virtual console 2005-06-07 18:24:05 +00:00
eknauel 8ae60787a7 Add a joblist-viewer, add a get-focus-object-method generator to
select-list and make some plugins use it, added argument
focus-object-table to get-selection message (thus a get-selection
method can call a get-focus-object method).
2005-06-04 11:22:44 +00:00
eknauel 143d6bbccb Fix asynchronous job status updates 2005-06-04 09:43:22 +00:00
eknauel b9d54a24ae fix constructor 2005-06-04 09:42:45 +00:00
eknauel 2f7595603b First version of the job control 2005-06-03 11:44:53 +00:00
mainzelm dc699ce88f fix stack and header, display source info 2005-06-02 19:02:04 +00:00