Commit Graph

273 Commits

Author SHA1 Message Date
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