export PAGER=cat
export MANPAGER=cat
stty echo
+ # debconf occasionally spews messages about wanting to initialize dialog
+ # and falling back to readline, since our terminal is dumb, then does nothing,
+ # This is a long standing bug. Here is the fix.
+ if [[ $DISPLAY ]]; then
+ export DEBIAN_FRONTEND=gnome
+ else
+ export DEBIAN_FRONTEND=readline
+ fi
else
stty werase undef lnext undef stop undef start undef
# terminal keys: C-c, C-z. the rest defined by stty -a are, at least in