|
|
|
@ -4,7 +4,7 @@ Start a Bash session in your container
|
|
|
|
|
|
|
|
|
|
and run the command
|
|
|
|
|
|
|
|
|
|
`export TERM=vt220`
|
|
|
|
|
`export TERM=xterm`
|
|
|
|
|
|
|
|
|
|
Now you can start and use nano
|
|
|
|
|
|
|
|
|
@ -12,4 +12,22 @@ Now you can start and use nano
|
|
|
|
|
|
|
|
|
|
As well as `jed` if you are more familiar with Emacs-like bindings.
|
|
|
|
|
|
|
|
|
|
`jed <file>`
|
|
|
|
|
`jed <file>`
|
|
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
To make this setting permanent edit the _.bashrc_ file in the container
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
cd /root
|
|
|
|
|
vim .bashrc
|
|
|
|
|
```
|
|
|
|
|
Insert the line
|
|
|
|
|
|
|
|
|
|
`export TERM=xterm`
|
|
|
|
|
|
|
|
|
|
before the comment
|
|
|
|
|
|
|
|
|
|
`# set a fancy prompt (non-color, unless we know we "want" color)`
|
|
|
|
|
|
|
|
|
|
Your next Bash session has colored output in the command line interface (e.g. with the ls command) and nano starts without fiddling.
|
|
|
|
|
|