I don't tend to write anything in shells other than bash but you could always start bash to run it:
bash -c "read -sn1"
If you want something that will work in all shells then you'll need an additional program such as pak.c:
Code:
#include <stdio.h>
int main(void)
{
printf("Press any key to continue...");
while (getchar() == EOF);
printf("\n");
return 0;
}
gcc -o pak pak.c