Brian Kelsay wrote:
Ellipsis, as in proper punctuation, like this? http://webster.commnet.edu/grammar/marks/ellipsis.htm
What use do you have for that in a terminal? Can't you just type three periods? ... Or are you displaying text that already has ellipsis in it?
That's what I'm doing right now. I'd prefer to use a genuine all-three-dots-in-one-character-cell ellipsis entity, however.
After using tcsh for a _long_ time, I recently switched to bash. Under tcsh, I set my "prompt" shell variable to "%m:%B%C2%b%# ". The "%C2" bit means "print the last two elements of $CWD. E.g., if I'm in /tmp/a/very/long/path/indeed, my prompt would show up as
pow:path/indeed>
This functionality isn't built into bash, unfortunately. As a workaround I borrowed a function from the Bash Prompt HOWTO which truncates my path like so:
pow:...ery/long/path/indeed$
I'm looking for a way to use a real ellipsis instead of three dots _and_ have it work in different terminals on different platforms. It's 2005. Where's the Unicode-y goodness?