Commit Graph

27 Commits (53ab2aefaa4891a31c42a87e005dbee66237fc17)

Author SHA1 Message Date
HD Moore 72dff03426 FixRM #8396 change all lib use of regex to 8-bit pattern 2013-09-12 16:58:49 -05:00
Tab Assassin 7e5e0f7fc8 Retab lib 2013-08-30 16:28:33 -05:00
HD Moore d656e3185f Mark all libraries as defaulting to 8-bit strings 2012-06-29 00:18:28 -05:00
Tod Beardsley 52767b3104 Fixes #5204. Adding Windows Console2 color support from mihi. Thanks!
git-svn-id: file:///home/svn/framework3/trunk@13913 4d416f70-5f16-0410-b530-b9f4589650da
2011-10-13 17:35:31 +00:00
Joshua Drake 8a4c23ffd4 small adjustment
git-svn-id: file:///home/svn/framework3/trunk@11635 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-25 02:15:25 +00:00
James Lee 9f05e02b85 a better fix for rbreadline, also fixes completion for ~/, see #3352
git-svn-id: file:///home/svn/framework3/trunk@11451 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-29 20:31:22 +00:00
James Lee 85efd12467 make sure the dirname is actually a directory before trying to read it's entries, fixes #3352. also fixes a typo and a bug where directories other than ./ wouldn't be considered for tabbing.
git-svn-id: file:///home/svn/framework3/trunk@11441 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-29 02:56:01 +00:00
Joshua Drake e92c073c22 Sync RbReadline with TIP, some diffs remain Metasploit specific
git-svn-id: file:///home/svn/framework3/trunk@11338 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-14 22:09:38 +00:00
James Lee 4e14aa1842 try to load win32api regardless of ruby version, so we correctly fall back to unixy stty stuff
git-svn-id: file:///home/svn/framework3/trunk@10687 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-14 19:35:41 +00:00
James Lee a10b3cf9fc getch() blocks all background threads until the user hits a key, make sure there is something there to read before calling it. also, use the windowsy stuff on mingw since official ruby installer uses mingw now. this fixes a long-standing bug on windows that originally forced us to use cygwin.
git-svn-id: file:///home/svn/framework3/trunk@10681 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-14 18:38:59 +00:00
James Lee 1e47a49b7e match whitespace to the rbreadline standard instead of the msf standard
git-svn-id: file:///home/svn/framework3/trunk@9373 4d416f70-5f16-0410-b530-b9f4589650da
2010-05-26 19:54:32 +00:00
Joshua Drake 63e70f2d78 fix up a bunch of incorrect 1.8/1.9 compat fixes, fixes #1540
git-svn-id: file:///home/svn/framework3/trunk@9063 4d416f70-5f16-0410-b530-b9f4589650da
2010-04-13 19:44:04 +00:00
Joshua Drake 2283e029db crossing fingers, big cr removal batch
git-svn-id: file:///home/svn/framework3/trunk@8038 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-30 22:24:22 +00:00
HD Moore 0251f21dc9 See #509
git-svn-id: file:///home/svn/framework3/trunk@7536 4d416f70-5f16-0410-b530-b9f4589650da
2009-11-16 18:30:07 +00:00
HD Moore 500eb85a58 Fix a typo in ^L support
git-svn-id: file:///home/svn/framework3/trunk@7476 4d416f70-5f16-0410-b530-b9f4589650da
2009-11-12 06:31:50 +00:00
HD Moore 48fb445609 Fixes #446. Oddly enough, stty on cygwin uses term escapes in stderr as well as stdout to set the console mode. This is going to reopen #426 (errors when stdin isnt a tty). A better solution for #426 is going to be checking for stdin = terminal and ignoring readline entirely
git-svn-id: file:///home/svn/framework3/trunk@7374 4d416f70-5f16-0410-b530-b9f4589650da
2009-11-06 15:27:13 +00:00
HD Moore 8377077297 Huide the error output from stty execs. Fixes #426
git-svn-id: file:///home/svn/framework3/trunk@7299 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-28 19:37:19 +00:00
HD Moore 54437321eb Disable inputrc processing, its not deterministic and will be impossible to support as implemented.
git-svn-id: file:///home/svn/framework3/trunk@7111 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-02 00:03:55 +00:00
HD Moore 4e244d654d Catch parsing errors in the inputrc file
git-svn-id: file:///home/svn/framework3/trunk@7110 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-01 21:02:50 +00:00
HD Moore b4d6ba1170 Check for nil before trying to replace a line
git-svn-id: file:///home/svn/framework3/trunk@7108 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-01 16:47:48 +00:00
HD Moore 92359fecc5 Fix some 1.9 compat issues, wrap missing methods, extend to the cxt structure to include mb (used elsewhere)
git-svn-id: file:///home/svn/framework3/trunk@7107 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-01 16:27:18 +00:00
HD Moore 3c79917fb0 Disable vi editing-mode, as its not completely implemented
git-svn-id: file:///home/svn/framework3/trunk@7097 4d416f70-5f16-0410-b530-b9f4589650da
2009-09-30 20:36:04 +00:00
HD Moore 0c802ea3e1 Fixes #345. Adds a more stringent check for ::Encoding class being defined, should work around false positives with getbyte
git-svn-id: file:///home/svn/framework3/trunk@7095 4d416f70-5f16-0410-b530-b9f4589650da
2009-09-30 03:25:39 +00:00
HD Moore 3500745d70 Revert previous changes, easier to just include infocmp and terminfo
git-svn-id: file:///home/svn/framework3/trunk@7092 4d416f70-5f16-0410-b530-b9f4589650da
2009-09-29 03:42:26 +00:00
HD Moore 7b28cdacd8 Handle lacking infocmp a little smoother
git-svn-id: file:///home/svn/framework3/trunk@7091 4d416f70-5f16-0410-b530-b9f4589650da
2009-09-29 03:30:15 +00:00
HD Moore 542b3de249 Handle the case where there is no infocmp
git-svn-id: file:///home/svn/framework3/trunk@7090 4d416f70-5f16-0410-b530-b9f4589650da
2009-09-29 03:26:23 +00:00
HD Moore c679e11f4e See #343. Switches metasploit to the pure ruby readline - time for extensive testing
git-svn-id: file:///home/svn/framework3/trunk@7089 4d416f70-5f16-0410-b530-b9f4589650da
2009-09-29 03:03:17 +00:00