Thread View: gnu.bash.bug
1 messages
1 total messages
Started by Rich Salz
Wed, 19 Jul 1989 22:08
Some change requests, some questions, etc.
Author: Rich Salz
Date: Wed, 19 Jul 1989 22:08
Date: Wed, 19 Jul 1989 22:08
39 lines
1766 bytes
1766 bytes
It would be great if I could have \R and \r for enter and exit reverse
video in the prompt.
It would be nice to have a shell variable that controls whether the
readline stuff does a beep or a visible bell.
Since shell functions apparently have to end with a semicolon, and since
"&;" gets a syntax error, I've had to do this. Is this a bug or feature?
function bxmf() {
make -k "$@" >foo 2>&1 &
: ;
}
Also, given the following:
TTY=`tty | sed -e s:/dev/ttyp::`
host=`hostname | tr a-z A-Z | sed -e s/.BBN.COM//`
# The ^[ stands for ESCAPE, twice, below.
function pwd() {
echo -n "^[]lBASH@${host}(${TTY}):$PWD^[\^H"
}
Doing a "pwd" still leaves a blank line on my tty. A bug in "echo -n"?
Also doing a "type pwd" mangles the banner line. Could things be changed
so that the control chars are dumped out in their printable form when
displaying functions, aliases, etc?
Is there no easy way to get or set the keybindings at run-time? And a
list of what the functions are? I know this will probably involve new
hooks into the new readline and history libraries.
Is there a variable I can set to turn off the modification indicator in
the prompt?
BASH is way cool. It's not yet my login shell, but soon. Thanks!
/r$
--
Please send comp.sources.unix-related mail to rsalz@uunet.uu.net.
Use a domain-based address or give alternate paths, or you may lose out.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads