docs: def util_raw_input(prompt='', default=None, ispass=False, use_readline=True):
  	"""Handles raw_input calls, and switches off interactivity if there is apparently
  	no controlling terminal (or there are any other problems)
  	"""
  	if use_readline:
  		try:
  			readline.read_init_file('/etc/inputrc')
  		except IOError:
  			pass
  		readline.parse_and_bind('tab: complete')
  	prompt = '\r\n' + prompt
  	if ispass:
  		prompt += '\r\nInput Secret: '
  	sanitize_terminal()
  	if shutit_global.shutit_global_object.interactive == 0:
  		return default
  	## See: https//github.com/ianmiell/shutit/issues/299 - python3 made input == python 2's raw_input
  	#if not shutit_global.shutit_global_object.ispy3:
  	#	input = raw_input
  	#try:
  	#	input
  	#except NameError:
  	#	shutit_global.shutit_global_object.shutit_print('input not available, printing debug')
  	#	print_debug()
  	#	sys.exit(1)
  	if not shutit_global.shutit_global_object.determine_interactive():
  		return default
  	while True:
  		try:
  			if ispass:
  				return getpass.getpass(prompt=prompt)
  			else:
  				return input(prompt).strip() or default
  		except KeyboardInterrupt:
  			continue
  		except IOError:
  			msg = 'Problems getting raw input, assuming no controlling terminal.'
  	if ispass:
  		return getpass.getpass(prompt=prompt)
  	else:
  		return input(prompt).strip() or default
  	shutit_global.shutit_global_object.set_noninteractive(msg=msg)
  	return default