class Session::Sh

def clear

def clear
  stdin.puts "#{ ECHO } __clear__ 1>&2"
  stdin.puts "#{ ECHO } __clear__"
  stdin.flush
  while((line = stderr.gets) and line !~ %r/__clear__/o); end
  while((line = stdout.gets) and line !~ %r/__clear__/o); end
  self
end