Commit Graph

153 Commits

Author SHA1 Message Date
James Le Cuirot d996974faa Fix building without libedit
Signed-off-by: Travis Cross <tc@traviscross.com>

FS-353
2014-02-23 22:33:20 +00:00
Anthony Minessale b5821c1594 tweak event queue size on event socket and speed up fs_cli a little to keep up on busy logging env 2014-01-23 21:26:56 +05:00
Anthony Minessale 3ff0aaa0be FS-5653 --resolve 2014-01-07 00:38:48 +05:00
Anthony Minessale 2e74cf79fc FS-5617 --resolve 2013-07-19 13:29:05 -05:00
Jeff Lenk 5fc2bc9993 FS-5588 --resolve windows compiler fixes 2013-07-09 07:53:56 -05:00
Ken Rice 22baa51acc FS-2816 --resolve 2013-07-06 22:04:06 -05:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Travis Cross a5397e5980 Remove assignment without effect in fs_cli 2013-05-27 21:07:56 +00:00
Travis Cross f00b77597f Avoid dangling reference at end of fs_cli
Not that it really matters since we're returning to the OS momentarily
at that point anyway.
2013-05-27 21:07:52 +00:00
Anthony Minessale 5ee719d1d9 FS-5271 --resolve 2013-04-08 12:53:58 -05:00
Anthony Minessale bd25514307 add FS_CLI_COLOR=false env and -n/--no-color command line flag to turn off colored banner 2013-02-20 13:51:53 -06:00
Ken Rice 9c975033a7 FS-4844 --resolve 2013-02-07 13:16:19 -06:00
Jeff Lenk 77eabbbdf7 FS-4694 --resolve 2012-10-17 09:17:16 -05:00
Anthony Minessale c51aebf621 FS-4694 --resolve 2012-10-16 19:03:29 -04:00
Stefan Knoblich 8075b01569 Fix error in switch_core_screen_size() and screen_size() fallback code.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-26 17:21:05 +02:00
Michael Jerris ee50ed23ab FS-4645: --resolve fix build error in fs_cli 2012-09-25 14:19:00 -04:00
Anthony Minessale 03c981bf72 add smaller banner for teeny tiny terminals 2012-09-24 14:59:09 -05:00
Michael Jerris 4ff9b2f102 revert fb2ffbafe2 2012-09-24 15:38:06 -04:00
Travis Cross fb2ffbafe2 Add configure flags to moderate the ClueCon nags
The default remains the same: we show the huge ClueCon nag banner on
startup and in fs_cli.

However, if you pass --disable-huge-cluecon-nag, no banner will be
shown.

If you pass --enable-modest-cluecon-nag, a modest text-based ClueCon
reminder will be shown instead.
2012-09-23 07:49:26 +00:00
Jeff Lenk e4e044e310 FS-4566 --resolve Show fs_cli banner in color(windows) 2012-09-02 21:57:20 -05:00
Jeff Lenk 0807b39c8d FS-4543 --resolve thanks Peter 2012-08-17 19:31:47 -05:00
Anthony Minessale f454b79b9b fix color coding to be OS appropriate 2012-08-16 13:04:33 -05:00
Anthony Minessale 27155bcb71 come to ClueCon its in one month 2012-07-10 12:05:26 -05:00
Mitch Capper 6f87ac55d6 fs_cli: add batch mode
Signed-off-by: Travis Cross <tc@traviscross.com>
2012-04-08 16:54:40 +00:00
Anthony Minessale b80a3a3439 set session loglevel as well in fs_cli when doing 'console loglevel info' also now implies '/log info' locally 2012-04-02 11:58:00 -05:00
Travis Cross b9b77bd615 fs_cli: make enhanced fs_cli features work on all TERMs
FS-3815 --resolve

This is a workaround for the fact that libedit counts terminal control
characters when calculating the length of the prompt.  By not using
absolute positioning, we avoid the issue.

Thanks to Ivan Isaev for the workaround and testing.
2012-01-31 18:42:47 +00:00
Travis Cross f4968d0e6e fs_cli: style (FS-3815) 2012-01-18 22:44:44 +00:00
Anthony Minessale dfb2dfd29e umm ya, the thread stack size is in bytes not kbytes 2011-12-20 17:14:38 -06:00
Brian West da10fe86a1 really now 2011-10-28 16:51:02 -05:00
Jeff Lenk 8aad82d653 FS-3647 --resolve fs_cli crash on windows 2011-10-28 08:41:17 -05:00
Travis Cross 26cd927cb0 fs_cli: only enable new features on supported terminals
This is a workaround to an issue where editline counts non-printable
control characters.  See issue FS-3606.
2011-10-27 15:15:59 +00:00
Michael Jerris cbc92936f3 allow ;; seperated commands in fs_cli -x 2011-10-26 15:35:03 -04:00
Jeff Lenk 1afda8fb39 FS-3601 --resolve fix fs_cli for recent changes with windows 2011-10-07 09:03:09 -05:00
Travis Cross b8eaec001a whitespace cleanup 2011-09-27 05:57:49 +00:00
Jeff Lenk 16a0a2ed6d another windows fix for fs_cli changes 2011-09-26 21:41:35 -05:00
Travis Cross 02481cabbf fs_cli: comply with -Wwrite-strings 2011-09-26 22:00:08 +00:00
Travis Cross 8056125077 fs_cli: fix siptrace output
This partially reverts commit 991b83d23c.
2011-09-26 21:34:52 +00:00
Jeff Lenk 1244e55632 another fs_cli windows fix 2011-09-26 11:47:26 -05:00
Jeff Lenk 34827a892c fix fs_cli for windows after recent changes - may need more work 2011-09-26 09:15:12 -05:00
Travis Cross a2d6a041eb fs_cli: ask less of the terminal; fix ctrl-l behavior 2011-09-24 03:07:34 +00:00
Travis Cross fe60938686 fs_cli: exclude last character in buffer on redisplay 2011-09-23 22:40:02 +00:00
Travis Cross 682ed52cf7 fs_cli: do not assume that LineInfo buffers are null-terminated
man editline(3el) says that they're not.

[take #2, originally was 48acc0cd38]
2011-09-23 22:24:58 +00:00
Travis Cross 4dbd950d70 fs_cli: be a bit more defensive 2011-09-23 21:44:55 +00:00
Travis Cross 7bcd1fe79e fs_cli: handle cursor positioning better 2011-09-23 21:25:42 +00:00
Travis Cross 0571e81a4b Revert "fs_cli: do not assume that LineInfo buffers are null-terminated"
This reverts commit 48acc0cd38.
2011-09-23 17:42:54 +00:00
Travis Cross 991b83d23c fs_cli: use buffered printers 2011-09-23 17:14:28 +00:00
Travis Cross 481e71970f fs_cli: style 2011-09-23 16:58:41 +00:00
Travis Cross 6724d7af97 fs_cli: clear the CLI before inserting function key commands 2011-09-23 01:25:43 +00:00
Travis Cross d410c84336 fs_cli: vanity 2011-09-23 01:25:43 +00:00
Travis Cross c7ec19d6f0 fs_cli: implement configurable prompt, input, and output coloring
In .fs_cli_conf, set:

  prompt-color => blue
  input-text-color => red
  output-text-color => yellow
2011-09-23 01:25:43 +00:00