Re: An interesting question about "print '\a'"

2005-10-23 Thread [EMAIL PROTECTED]
I thought that is just a "terminal" thing(extend ASCII that interpreted by the terminal)? If you have a terminal attached to a host, shouldn't this be making sound on the terminal rather than the server ? This not alsa or output to the server device, but straightly sending '\a' back to the client m

Re: An interesting question about "print '\a'"

2005-10-23 Thread Chris F.A. Johnson
On 2005-10-24, Anthony Liu wrote: > We know that if we do > > print '\a' > > the bell will sound. > > Now, why do I hear the sound on my local machine when > I run a python script on a remote host? > > I understand if I hear it when I do > > print '\a' > > on my local machine. > > Does the command

Re: An interesting question about "print '\a'"

2005-10-23 Thread Erik Max Francis
Anthony Liu wrote: > We know that if we do > > print '\a' > > the bell will sound. > > Now, why do I hear the sound on my local machine when > I run a python script on a remote host? Because print '\a' just prints the BEL ASCII character, which most terminals respond by beeping. Since, when

An interesting question about "print '\a'"

2005-10-23 Thread Anthony Liu
We know that if we do print '\a' the bell will sound. Now, why do I hear the sound on my local machine when I run a python script on a remote host? I understand if I hear it when I do print '\a' on my local machine. Does the command get sent back to the client machine? Thanks. ___