Jim Thompson <Jim.Thompson@central.sun.com> (03/18/90)
Oh, I don't know, try it yourself: (You'll have to add support for the '*' -> '.' and '#' -> ' ' mapping.) Jim -------- foneno.c ------- char buf[64]; main(argc, argv) char **argv; { while (*++argv) digit(*argv, buf); } digit(str, p) char *str, *p; { int i; if (!*str) { puts(buf); return; } for (i = 0; i < 3; i++) { *p = "000111ABCdEFGHIJKLMNOPRSTUVWXY"[((*str - '0') * 3) + i]; digit(str + 1, p + 1); } } ------------------------ Jim Thompson - Network Engineering - Sun Microsystems - jthomp@central.sun.com Charter Member - Fatalistic International Society for Hedonistic Youth (FISHY) "Confusing yourself is a way to stay honest." -Jenny Holzer
lws@comm.wang.com (Lyle Seaman) (03/21/90)
telecom@eecs.nwu.edu (John Lockard) writes: > A prompter directs the sending party to type a message on the >phone's dialing keypad. The deaf person receives the message on the >computer's screen and may then type a responce or send a prepared >message, which reaches the receiving party as a synthesized voice. >This caught me by suprise. It seems that very few words, English or >otherwise, would have the same sequnce of numbers. (I'm assuming that >they use 1 for Q, 0 for Z, * for a period, and # as a space.) Well, maybe they use 77 for Q, 9999 for Z, 1 for space, * for period, and # for end of letter. 44#33#555#555#666#15#666#44#66#1555#999#555#33#144#33#77#33#* HELLO JOHN LYLE HERE A lot of typing but workable. If you wanted to call someone deaf regularly, you might use one of these credit card sized dialers with a bunch of standard strings keyed in... Lyle sendmail.cf under construction, pardon the From: lws@comm.wang.com (or, uunet!comm.wang.com!lws) (508) 967-2322