temporary fix for nasm/metasm shell tools - see #1723

git-svn-id: file:///home/svn/framework3/trunk@9161 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2010-04-27 18:11:09 +00:00
parent d91046c470
commit 7a0e2f11af
2 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,7 @@ end
# Start a pseudo shell and dispatch lines to be assembled and then
# disassembled.
shell = Rex::Ui::Text::PseudoShell.new("%bldmetasm%clr")
shell.init_ui(Rex::Ui::Text::Input::Stdio.new, Rex::Ui::Text::Output::Stdio.new)
puts 'type "exit" or "quit" to quit', 'use ";" or "\\n" for newline', ''

View File

@ -21,6 +21,7 @@ end
# Start a pseudo shell and dispatch lines to be assembled and then
# disassembled.
shell = Rex::Ui::Text::PseudoShell.new("%bldnasm%clr")
shell.init_ui(Rex::Ui::Text::Input::Stdio.new, Rex::Ui::Text::Output::Stdio.new)
shell.run { |line|
line.gsub!(/(\r|\n)/, '')