Up Arrow key and Tab key in jupyterlab terminal

I built the JupyterLab image,I have some problems while using jupyterlab terminal:

  1. i try to use “page up” and “page down” to search the history in jupyterlab terminal ,but it didn’t work
    2.When I press the TAB key, I get TAB Spaces instead of auto-completion

i have put the command in /etc/inputrc

 "\e[5~": history-search-backward
 "\e[6~": history-search-forward

 set completion-ignore-case on
 set show-all-if-ambiguous on
 TAB: menu-complete


Can  anyone give some advice?