Jan 17, 2003 #1 sus98 Programmer Jan 17, 2003 4 0 0 IN Hi all, Is there any way I can create a beep sound in AIX unix client with the help of C program. I am accessing unix AIX 4.2 server with the help of KEA(telnet tool). Very urgent please reply. thank u in advance Sus98
Hi all, Is there any way I can create a beep sound in AIX unix client with the help of C program. I am accessing unix AIX 4.2 server with the help of KEA(telnet tool). Very urgent please reply. thank u in advance Sus98
Jan 19, 2003 Thread starter #3 sus98 Programmer Jan 17, 2003 4 0 0 IN Hi glathaa, beep() does not work in the client system, Any other alternatives please. sus98 Upvote 0 Downvote
Jan 25, 2003 #4 jstreich Programmer Apr 20, 2002 1,067 0 0 US Hmmm.. did you try "\a" on the stdout stream? Or write the assembly for the beep with an asm tag. Upvote 0 Downvote
Hmmm.. did you try "\a" on the stdout stream? Or write the assembly for the beep with an asm tag.
Feb 1, 2003 #5 doratheexplorer Programmer Feb 1, 2003 1 0 0 CA Try "\0x07" since not "\a" since the last one is line feed whil ethe first one is bell or beep. Upvote 0 Downvote
Try "\0x07" since not "\a" since the last one is line feed whil ethe first one is bell or beep.
Feb 2, 2003 Thread starter #6 sus98 Programmer Jan 17, 2003 4 0 0 IN dear jstreich, "\a" does not work in unix client neither "\0x07" Please let me know how to write a assembly for beep ... with asm tag. because i am totally new to that concept... or help me where can i find help for it.... Upvote 0 Downvote
dear jstreich, "\a" does not work in unix client neither "\0x07" Please let me know how to write a assembly for beep ... with asm tag. because i am totally new to that concept... or help me where can i find help for it....
Feb 5, 2003 #7 glathaa Programmer Aug 21, 2002 21 0 0 IN Have you tried like this? #include <stdio.h> int main() { printf("%c", 0x07); return 0; } -Latha Upvote 0 Downvote
Have you tried like this? #include <stdio.h> int main() { printf("%c", 0x07); return 0; } -Latha
Feb 6, 2003 #8 jstreich Programmer Apr 20, 2002 1,067 0 0 US Well, I'm not an assembly programmer, the only time used it was for class, and that was MIPS assembly... but the idea is just to write a asm tag: Code: asm { mv $a0, $t0 addi $a0, $a0, 5 } Althogh you'd have to use the brand of ASM your compiler generates before assembling... Try asking in the Assembly forum for the proper asm. Upvote 0 Downvote
Well, I'm not an assembly programmer, the only time used it was for class, and that was MIPS assembly... but the idea is just to write a asm tag: Code: asm { mv $a0, $t0 addi $a0, $a0, 5 } Althogh you'd have to use the brand of ASM your compiler generates before assembling... Try asking in the Assembly forum for the proper asm.