-A: Restore pre-441 behaviour of searching from the cursor line.
-W: Highlight scrolled lines.
-Q: Don't ring the bell.
-X: Don't initialise the terminal, so it isn't cleared.
-d: Suppress dumb terminal message.
-i: Case-insensitive search.
-m: Slightly more verbose prompt.