On Wed, 9 May 2012 16:06:26 -0500 Jonathan Nieder <jrnie...@gmail.com> wrote:
> Ok, more debugging suggestions: > > set This. :D ... MKSH=/bin/mksh OPTIND=1 PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games PGRP=25718 PPID=25702 $(precmd)${USER:=$(ulimit -c 0;id -un 2>&-||print \?)}@${HOSTNAME%%.*}:$( typeset d=${PWD:-?} n p=~; [[ $p = ?(*/) ]] || d=${d/#$p/~} (( (${%d}>0 ? ${%d}: ${#d}) > (n = (COLUMNS/3<7 ? 7: COLUMNS/3)) )) && { d=${d:(-n)}; p=...; } || p=; print -nr -- "$p$d") $ ' PS2='> ' ... comes from (default) /etc/mkshrc PS1='^A^M$(precmd)${USER:=$(ulimit -c 0;id -un 2>&-||print \?)}@${HOSTNAME%%.*}:$( typeset d=${PWD:-?} n p=~; [[ $p = ?(*/) ]] || d=${d/#$p/~} (( (${%d}>0 ? ${%d}: ${#d}) > (n = (COLUMNS/3<7 ? 7: COLUMNS/3)) )) && { d=${d:(-n)}; p=...; } || p=; print -nr -- "$p$d") '"$PS1 " (I wonder if ^A^M at the start is intentional.) I can honestly say that I have no idea what this is supposed to do. I guess my quotaon/off testing yesterday was using accidentally wrong terminal, or with bash in between, or something else stupid. Similarly I could have sworn that I tested dash before even installing mksh, but obviously that must be wrong too. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org