selector.git
15 years agoFixed some troff things.
Francois Fleuret [Sun, 5 Jul 2009 14:58:20 +0000 (16:58 +0200)]
Fixed some troff things.

15 years agoCosmetics.
Francois Fleuret [Sun, 5 Jul 2009 14:07:59 +0000 (16:07 +0200)]
Cosmetics.

15 years agoCosmectics. Added "Selector: " in the error messages.
Francois Fleuret [Sun, 5 Jul 2009 13:43:44 +0000 (15:43 +0200)]
Cosmectics. Added "Selector: " in the error messages.

15 years agoIntroduced a struct hash_table_t to clean the code a bit.
Francois Fleuret [Sun, 5 Jul 2009 11:41:08 +0000 (13:41 +0200)]
Introduced a struct hash_table_t to clean the code a bit.

15 years agoCosmetics.
Francois Fleuret [Fri, 3 Jul 2009 06:06:33 +0000 (08:06 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Wed, 1 Jul 2009 09:28:55 +0000 (11:28 +0200)]
Cosmetics.

15 years agoNow compiles with -pedantic.
Francois Fleuret [Wed, 1 Jul 2009 06:58:36 +0000 (08:58 +0200)]
Now compiles with -pedantic.

15 years agoCosmetics.
Francois Fleuret [Wed, 1 Jul 2009 06:48:00 +0000 (08:48 +0200)]
Cosmetics.

15 years agoAdded the fclose() for the input files.
Francois Fleuret [Sun, 28 Jun 2009 10:18:16 +0000 (12:18 +0200)]
Added the fclose() for the input files.

15 years agoCosmetics.
Francois Fleuret [Sat, 27 Jun 2009 22:58:10 +0000 (00:58 +0200)]
Cosmetics.

15 years agoConverted the source to pure C instead of bastardized C++.
Francois Fleuret [Sat, 27 Jun 2009 21:35:20 +0000 (23:35 +0200)]
Converted the source to pure C instead of bastardized C++.

15 years agoChanged the comments to the C syntax.
Francois Fleuret [Sat, 27 Jun 2009 20:57:33 +0000 (22:57 +0200)]
Changed the comments to the C syntax.

15 years agoFinished the conversion to pure C.
Francois Fleuret [Sat, 27 Jun 2009 12:03:14 +0000 (14:03 +0200)]
Finished the conversion to pure C.

15 years agoThis C version compiles.
Francois Fleuret [Sat, 27 Jun 2009 11:59:19 +0000 (13:59 +0200)]
This C version compiles.

15 years agoStarting to convert to basic C.
Francois Fleuret [Sat, 27 Jun 2009 11:46:00 +0000 (13:46 +0200)]
Starting to convert to basic C.

15 years agoAutomatic commit
Francois Fleuret [Fri, 26 Jun 2009 14:26:49 +0000 (16:26 +0200)]
Automatic commit

15 years agoCosmetics.
Francois Fleuret [Mon, 22 Jun 2009 17:19:49 +0000 (19:19 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Sun, 21 Jun 2009 20:52:54 +0000 (22:52 +0200)]
Cosmetics.

15 years agoAdded cbreak and intrflush into ncurses initialization.
Francois Fleuret [Thu, 18 Jun 2009 19:38:48 +0000 (21:38 +0200)]
Added cbreak and intrflush into ncurses initialization.

15 years agoMerge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector
Francois Fleuret [Fri, 12 Jun 2009 22:15:54 +0000 (00:15 +0200)]
Merge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector

15 years agoWhen using the -x option, the part of the line before the separator is not returned.
Francois Fleuret [Thu, 11 Jun 2009 09:51:30 +0000 (11:51 +0200)]
When using the -x option, the part of the line before the separator is not returned.

15 years agoWhen using the -x option, the part of the line after the separator is not returned.
Francois Fleuret [Thu, 11 Jun 2009 09:51:30 +0000 (11:51 +0200)]
When using the -x option, the part of the line after the separator is not returned.

15 years agoCosmetics.
Francois Fleuret [Tue, 9 Jun 2009 14:58:37 +0000 (16:58 +0200)]
Cosmetics.

15 years agoAdded the stripping of the binary.
Francois Fleuret [Tue, 9 Jun 2009 14:58:31 +0000 (16:58 +0200)]
Added the stripping of the binary.

15 years agoCosmetics.
Francois Fleuret [Mon, 8 Jun 2009 10:47:11 +0000 (12:47 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Mon, 8 Jun 2009 08:03:22 +0000 (10:03 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Mon, 8 Jun 2009 07:58:31 +0000 (09:58 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Mon, 8 Jun 2009 07:45:43 +0000 (09:45 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Mon, 8 Jun 2009 07:37:53 +0000 (09:37 +0200)]
Cosmetics.

Better handling of the attribute in color and monochrome modes.

15 years agoErrors messages are now in red.
Francois Fleuret [Mon, 8 Jun 2009 07:28:32 +0000 (09:28 +0200)]
Errors messages are now in red.

15 years agoUse HISTSIZE in the examples.
Francois Fleuret [Sun, 7 Jun 2009 20:19:26 +0000 (22:19 +0200)]
Use HISTSIZE in the examples.

15 years agoCosmetics.
Francois Fleuret [Thu, 4 Jun 2009 06:54:12 +0000 (08:54 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Thu, 4 Jun 2009 06:53:03 +0000 (08:53 +0200)]
Cosmetics.

15 years agoAdded the short help for -w.
Francois Fleuret [Thu, 4 Jun 2009 06:50:10 +0000 (08:50 +0200)]
Added the short help for -w.

15 years agoCosmetics.
Francois Fleuret [Fri, 29 May 2009 18:15:00 +0000 (20:15 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Fri, 29 May 2009 15:03:35 +0000 (17:03 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Thu, 28 May 2009 08:34:24 +0000 (10:34 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Wed, 27 May 2009 06:57:53 +0000 (08:57 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Wed, 27 May 2009 06:48:37 +0000 (08:48 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Wed, 27 May 2009 06:48:30 +0000 (08:48 +0200)]
Cosmetics.

15 years agoAvoid the blinkings.
Francois Fleuret [Wed, 27 May 2009 06:36:26 +0000 (08:36 +0200)]
Avoid the blinkings.

The update now uses clrtoeol() and clrtobot() instead of clear() so
that lines are cleared before being re-displayed, without a global
blink. Added the ^L key to refresh the screen globally.

15 years agoOne can now display only a part of each line to the user.
Francois Fleuret [Tue, 26 May 2009 19:35:59 +0000 (21:35 +0200)]
One can now display only a part of each line to the user.

15 years agoRestricted the ^Q in the injection to the control characters.
Francois Fleuret [Tue, 26 May 2009 19:35:11 +0000 (21:35 +0200)]
Restricted the ^Q in the injection to the control characters.

15 years agoCosmetics.
Francois Fleuret [Tue, 26 May 2009 16:59:39 +0000 (18:59 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Tue, 26 May 2009 07:23:12 +0000 (09:23 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Tue, 26 May 2009 07:20:42 +0000 (09:20 +0200)]
Cosmetics.

15 years agoChanged the EXAMPLE.
Francois Fleuret [Mon, 25 May 2009 20:50:37 +0000 (22:50 +0200)]
Changed the EXAMPLE.

15 years agoAdded a label separator. Only the part of the line before it is shown.
Francois Fleuret [Mon, 25 May 2009 20:44:27 +0000 (22:44 +0200)]
Added a label separator. Only the part of the line before it is shown.

Fixed the control character bug (the returned line is not transformed
to printable characters) and added two options: -x to specify the
character to define the end of the label, and -w to add ^Q in between
characters when doing tty injection.

15 years agoAdded the code for the -a option, which was missing (?!).
Francois Fleuret [Sun, 24 May 2009 09:54:57 +0000 (11:54 +0200)]
Added the code for the -a option, which was missing (?!).

15 years agoAdded 'set -e' so that the script fails if any command fails.
Francois Fleuret [Sun, 24 May 2009 09:54:38 +0000 (11:54 +0200)]
Added 'set -e' so that the script fails if any command fails.

15 years agoMoved the license to a CC share alike.
Francois Fleuret [Fri, 22 May 2009 07:53:34 +0000 (09:53 +0200)]
Moved the license to a CC share alike.

15 years agoInitial commit.
Francois Fleuret [Wed, 20 May 2009 05:49:35 +0000 (07:49 +0200)]
Initial commit.

15 years agoAdded the ESC key to abort.
Francois Fleuret [Tue, 19 May 2009 16:35:09 +0000 (18:35 +0200)]
Added the ESC key to abort.

15 years agoFixed the bash prefix deletion, added the ESC key to abort.
Francois Fleuret [Tue, 19 May 2009 16:32:57 +0000 (18:32 +0200)]
Fixed the bash prefix deletion, added the ESC key to abort.

15 years agoFixed the bash prefix deletion, added the ESC key to abort.
Francois Fleuret [Tue, 19 May 2009 16:32:17 +0000 (18:32 +0200)]
Fixed the bash prefix deletion, added the ESC key to abort.

15 years agoAutomatic commit
Francois Fleuret [Thu, 14 May 2009 20:05:26 +0000 (22:05 +0200)]
Automatic commit

15 years agoCosmectics.
Francois Fleuret [Thu, 14 May 2009 06:44:04 +0000 (08:44 +0200)]
Cosmectics.

15 years agoAdded the creation of debian/control.
Francois Fleuret [Wed, 13 May 2009 08:37:08 +0000 (10:37 +0200)]
Added the creation of debian/control.

15 years agoChanged the key-binding section from readline to bash bind command.
Francois Fleuret [Mon, 11 May 2009 06:11:28 +0000 (08:11 +0200)]
Changed the key-binding section from readline to bash bind command.

15 years agoCosmectics.
Francois Fleuret [Sat, 9 May 2009 08:45:57 +0000 (10:45 +0200)]
Cosmectics.

15 years agoAdded the description of the control-character bug.
Francois Fleuret [Sat, 9 May 2009 08:14:33 +0000 (10:14 +0200)]
Added the description of the control-character bug.

15 years agoTypos.
Francois Fleuret [Fri, 8 May 2009 15:03:25 +0000 (17:03 +0200)]
Typos.

15 years agoTypo.
Francois Fleuret [Thu, 7 May 2009 08:53:57 +0000 (10:53 +0200)]
Typo.

15 years agoCosmetics.
Francois Fleuret [Thu, 7 May 2009 08:44:40 +0000 (10:44 +0200)]
Cosmetics.

15 years agoAdded a section about interaction with readline.
Francois Fleuret [Thu, 7 May 2009 08:41:25 +0000 (10:41 +0200)]
Added a section about interaction with readline.

15 years agoCosmetics.
Francois Fleuret [Tue, 5 May 2009 06:07:04 +0000 (08:07 +0200)]
Cosmetics.

15 years agoAdded an option -q to choose between beeps and flashes on edition errors.
Francois Fleuret [Sun, 3 May 2009 19:51:53 +0000 (21:51 +0200)]
Added an option -q to choose between beeps and flashes on edition errors.

15 years agoCosmetics.
Francois Fleuret [Sun, 3 May 2009 12:50:35 +0000 (14:50 +0200)]
Cosmetics.

15 years agoAdded the -fno-omit-frame-pointer option to the DEBUG mode.
Francois Fleuret [Fri, 1 May 2009 21:11:05 +0000 (23:11 +0200)]
Added the -fno-omit-frame-pointer option to the DEBUG mode.

15 years agoCosmetics.
Francois Fleuret [Fri, 1 May 2009 13:58:24 +0000 (15:58 +0200)]
Cosmetics.

15 years agoAdded a visual feedback for impossible cursor motions.
Francois Fleuret [Thu, 30 Apr 2009 05:56:37 +0000 (07:56 +0200)]
Added a visual feedback for impossible cursor motions.

15 years agoAdded a visual feedback for impossible cursor motions.
Francois Fleuret [Thu, 30 Apr 2009 05:55:58 +0000 (07:55 +0200)]
Added a visual feedback for impossible cursor motions.

15 years agoAutomatic commit
Francois Fleuret [Tue, 21 Apr 2009 20:43:47 +0000 (22:43 +0200)]
Automatic commit

15 years agoFixed merge conflict.
Francois Fleuret [Wed, 15 Apr 2009 07:41:38 +0000 (09:41 +0200)]
Fixed merge conflict.

15 years agoMerge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector
Francois Fleuret [Wed, 15 Apr 2009 07:40:16 +0000 (09:40 +0200)]
Merge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector

Conflicts:
REVISION_NUMBER

15 years agoRemoved the cursor hiding related lines (which were commented).
Francois Fleuret [Wed, 15 Apr 2009 07:39:57 +0000 (09:39 +0200)]
Removed the cursor hiding related lines (which were commented).

15 years agoCosmetics.
Francois Fleuret [Wed, 15 Apr 2009 06:03:47 +0000 (08:03 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Tue, 14 Apr 2009 19:19:18 +0000 (21:19 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Tue, 14 Apr 2009 19:18:35 +0000 (21:18 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Tue, 14 Apr 2009 12:26:33 +0000 (14:26 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Tue, 14 Apr 2009 06:52:14 +0000 (08:52 +0200)]
Cosmetics.

15 years agoMerge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector
Francois Fleuret [Mon, 13 Apr 2009 13:03:21 +0000 (15:03 +0200)]
Merge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector

Conflicts:
selector.cc

15 years agoFixed comment typo.
Francois Fleuret [Mon, 13 Apr 2009 13:01:55 +0000 (15:01 +0200)]
Fixed comment typo.

15 years agoAdded the ^I keystroke to switch the case-sensitivity. Added a check
Francois Fleuret [Mon, 13 Apr 2009 12:59:44 +0000 (14:59 +0200)]
Added the ^I keystroke to switch the case-sensitivity. Added a check
for the integer valued arguments.

15 years agoAdded the ^I keystroke to switch the case-sensitivity.
Francois Fleuret [Mon, 13 Apr 2009 12:59:44 +0000 (14:59 +0200)]
Added the ^I keystroke to switch the case-sensitivity.

15 years agoRemoved my professional mail address.
Francois Fleuret [Fri, 10 Apr 2009 16:43:05 +0000 (18:43 +0200)]
Removed my professional mail address.

15 years agoCosmetics.
Francois Fleuret [Fri, 10 Apr 2009 16:39:18 +0000 (18:39 +0200)]
Cosmetics.

15 years agoFixed a bug in reading the revision number.
Francois Fleuret [Fri, 10 Apr 2009 15:46:09 +0000 (17:46 +0200)]
Fixed a bug in reading the revision number.

15 years ago Removed the automatic computation of the revision number.
Francois Fleuret [Fri, 10 Apr 2009 15:41:00 +0000 (17:41 +0200)]
Removed the automatic computation of the revision number.

    Computing the revision number from the git log sucks. The log is not
    the same for everybody and there is no simple way to compute some
    increasing number. The web tell me so after 30min of googling.

15 years agoMerge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector
Francois Fleuret [Fri, 10 Apr 2009 15:33:19 +0000 (17:33 +0200)]
Merge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector

15 years agoInitial commit.
Francois Fleuret [Fri, 10 Apr 2009 15:33:07 +0000 (17:33 +0200)]
Initial commit.

15 years agoCosmetics.
Francois Fleuret [Fri, 10 Apr 2009 15:32:14 +0000 (17:32 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Fri, 10 Apr 2009 15:31:46 +0000 (17:31 +0200)]
Cosmetics.

15 years agoFixed a bug with wc on macOS (thanks P. Abbet and M. L. Grinshpun).
Francois Fleuret [Fri, 10 Apr 2009 15:29:31 +0000 (17:29 +0200)]
Fixed a bug with wc on macOS (thanks P. Abbet and M. L. Grinshpun).

15 years agoCosmetics.
Francois Fleuret [Thu, 9 Apr 2009 07:34:58 +0000 (09:34 +0200)]
Cosmetics.

15 years agoCosmectics.
Francois Fleuret [Thu, 9 Apr 2009 07:34:58 +0000 (09:34 +0200)]
Cosmectics.

15 years agoCosmetics.
Francois Fleuret [Thu, 9 Apr 2009 06:32:35 +0000 (08:32 +0200)]
Cosmetics.

15 years agoAdd multi-file input.
Francois Fleuret [Thu, 9 Apr 2009 06:07:06 +0000 (08:07 +0200)]
Add multi-file input.

The first argument without a leading '-' and all the following, or all
arguments following a '--', are now considered as filenames and their
contents are concatenated as a single input. The -f option is now
useless but remains for compatibility.

15 years agoFix a up-down arrow bug added recently. Use the native cursor instead
Francois Fleuret [Wed, 8 Apr 2009 06:42:48 +0000 (08:42 +0200)]
Fix a up-down arrow bug added recently. Use the native cursor instead
of trying to build one by hand.

15 years agoCosmetics.
Francois Fleuret [Wed, 8 Apr 2009 06:08:07 +0000 (08:08 +0200)]
Cosmetics.