anchor.diff:      end;
   
   io_request({get_chars,Encoding,Prompt,N}, Drv, _From, Buf) ->
  -    get_chars(Prompt, io_lib, collect_chars, N, Drv, Buf, Encoding);
  +    get_chars_n(Prompt, io_lib, collect_chars, N, Drv, Buf, Encoding);
   io_request({get_line,Encoding,Prompt}, Drv, _From, Buf) ->
  -    get_chars(Prompt, io_lib, collect_line, [], Drv, Buf, Encoding);
  +    get_chars_line(Prompt, io_lib, collect_line, [], Drv, Buf, Encoding);
   io_request({get_until,Encoding, Prompt,M,F,As}, Drv, _From, Buf) ->
  -    get_chars(Prompt, io_lib, get_until, {M,F,As}, Drv, Buf, Encoding);
  +    get_chars_line(Prompt, io_lib, get_until, {M,F,As}, Drv, Buf, Encoding);
   io_request({get_password,_Encoding},Drv,_From,Buf) ->
       get_password_chars(Drv, Buf);
   io_request({setopts,Opts}, Drv, _From, Buf) when is_list(Opts) ->
  
positive.code: 
  get_chars_apply(Pbs, M, F, Xa, Drv, Buf, State0, Line, Encoding) ->
      case catch M:F(State0, cast(Line,get(read_mode), Encoding), Encoding, Xa) of
  	{stop,Result,Rest} ->
  	    {ok,Result,append(Rest, Buf, Encoding)};
  	{'EXIT',_} ->
  	    {error,{error,err_func(M, F, Xa)},[]};
  	State1 ->
  	    get_chars_loop(Pbs, M, F, Xa, Drv, Buf, State1, Encoding)
      end.
  
  %% Convert error code to make it look as before
  
negative.code: %%
  %% %CopyrightBegin%
  %%
  %% Copyright Ericsson AB 1996-2016. All Rights Reserved.
  %%
  %% Licensed under the Apache License, Version 2.0 (the "License");
  %% you may not use this file except in compliance with the License.
  