Compare commits

...

8 Commits

Author SHA1 Message Date
PostgreSQL administrator 13c7528dae Merge branch 'master' into wsr_shared 2020-03-03 19:16:15 +01:00
Peter J. Holzer 4717013939 Remove xterm+256color again but check /lib/terminfo
The terminal defintions with a + are just building blocks, not full
definitions. We can't use them.

OTOH, the definitions in /lib/terminfo seem to work fine in current
Debian and Ubuntu versions (which is what I care about these days), so
we accept them.
2020-02-28 10:49:11 +01:00
Peter J. Holzer be8eb03364 Accept xterm+256colors as an xterm variant 2019-12-31 11:51:20 +01:00
Peter J. Holzer 9a1b52eee2 Assume xterm has 256 colors 2019-12-27 20:08:53 +01:00
Peter J. Holzer 411686c795 Define timestamp format for Oracle 2019-10-10 17:00:48 +02:00
Peter J. Holzer c106c82fb8 Add local go bin directory to path 2019-10-10 10:10:43 +02:00
Peter J. Holzer 6cefd7e458 Remove obsolete comment 2019-10-10 09:58:55 +02:00
Peter J. Holzer 814044968d Remove perl_fold_blocks
It's really slow
2019-09-28 11:31:15 +02:00
3 changed files with 18 additions and 4 deletions

1
.vimrc
View File

@ -36,7 +36,6 @@ map <F7> :cp
map <F8> :cn
map!  >I<yypa/O
autocmd FileType perl let perl_fold=1
autocmd FileType perl let perl_fold_blocks=1
autocmd FileType perl syntax on
autocmd FileType go set sw=8

View File

@ -23,11 +23,26 @@ then
stty erase 
fi
if [[ $TERM == xterm-256color && ! -f /usr/share/terminfo/x/xterm-256color ]]
if [[ $TERM == xterm-256color && ! -f /usr/share/terminfo/x/xterm-256color && ! -f /lib/terminfo/x/xterm-256color ]]
then
TERM=xterm
fi
if [[ $TERM == xterm ]]
then
for t in xterm-256color
do
for dir in /usr/share/terminfo/x /lib/terminfo/x/
do
if [[ -f $dir/$t ]]
then
TERM=$t
break 2
fi
done
done
fi
case "$TERM" in
xterm*|screen)
# indicated exit status by smiley (suggested by Stig Sandbeck Mathisen)

View File

@ -54,13 +54,12 @@ then
PATH=`$preppath -c /usr/bin/X11:/usr/games:/usr/contrib/bin`
PATH=`$preppath -c /bin:/usr/bin`
# Debian's open/libre office is in /usr/bin, so we need to prepend
# the current version before it:
PATH=`$preppath -c /usr/sbin:/sbin`
PATH=`$preppath -c /usr/local/sbin:/usr/local/bin`
`$preppath -c -e /usr/local/node-v8.9.4-linux-x86/bin`
`$preppath -c -e /usr/local/node-v8.9.4-linux-x64/bin`
`$preppath -c -e -r /usr/lib/go-1.*/bin`
`$preppath -c -e -r $HOME/go/bin`
PATH=`$preppath -c $HOME/scripts`
PATH=`$preppath -c $HOME/bin/hosts:$HOME/bin`
@ -135,6 +134,7 @@ case "$LANG" in
esac
export NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
export NLS_TIMESTAMP_FORMAT='YYYY-MM-DD HH24:MI:SS.FF'
if [ -x /usr/bin/less ]