On 22 Nov 2009, at 19:02, Jonas Maebe wrote:
On 21 Nov 2009, at 14:20, Michael Van Canneyt wrote:
I have been thinking along similar lines, and made an
implementation for beep
that works with a handler. It's not yet committed, as I was trying
to make an
LCL plugin which would work on
On Wed, 25 Nov 2009, Jonas Maebe wrote:
On 22 Nov 2009, at 19:02, Jonas Maebe wrote:
On 21 Nov 2009, at 14:20, Michael Van Canneyt wrote:
I have been thinking along similar lines, and made an implementation for
beep
that works with a handler. It's not yet committed, as I was trying to
On 21 Nov 2009, at 14:20, Michael Van Canneyt wrote:
I have been thinking along similar lines, and made an implementation for beep
that works with a handler. It's not yet committed, as I was trying to make an
LCL plugin which would work on Linux/X11.
Wouldn't it be better to do nothing by
On Saturday 21 November 2009 08:56:53 Martin Schreiber wrote:
On Friday 20 November 2009 21:24:17 Jorge Aldo G. de F. Junior wrote:
arent there a /dev/something device for pcspeaker ?
/dev/pcspkr
With X11 one can use xbell().
Martin
___
The joys of Linux. I have neither /dev/pcspkr or xbell available on my
Ubuntu 9.08.2 system. :-(
Graeme.
On 21/11/2009, fpcl...@silvermono.co.za fpcl...@silvermono.co.za wrote:
On Saturday 21 November 2009 08:56:53 Martin Schreiber wrote:
On Friday 20 November 2009 21:24:17 Jorge Aldo G. de
Sorry about the typo - a slip of the hand. Make that Ubuntu 8.04.2
On 21/11/2009, Graeme Geldenhuys graemeg.li...@gmail.com wrote:
The joys of Linux. I have neither /dev/pcspkr or xbell available on my
Ubuntu 9.08.2 system. :-(
Graeme.
Regards,
- Graeme -
Michael Van Canneyt wrote:
By that rationale: no beep() on linux.
Can beep be made a procvar?
Regards,
Andrew
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Sat, 21 Nov 2009, Andrew Haines wrote:
Michael Van Canneyt wrote:
By that rationale: no beep() on linux.
Can beep be made a procvar?
I have been thinking along similar lines, and made an implementation for beep
that works with a handler. It's not yet committed, as I was trying to
On Thu, 19 Nov 2009, Graeme Geldenhuys wrote:
Bruce Bauman wrote:
I'm porting some code which beeps the console. When I use
sysutils.beep() it doesn't work under Linux.
Looking at it's implementation in FPC 2.4.0-rc1 (Linux) I can indeed see
why it doesn't beep. :-)
On 20 Nov 2009, at 11:51, Michael Van Canneyt wrote:
No, because you don't know if a terminal is available or whether
standard
output is writable.
And I guess that if the crt unit is used, it would just put some
strange character on the screen.
Jonas
Michael Van Canneyt wrote:
No, because you don't know if a terminal is available or whether
standard output is writable.
As far as I know stdout is always available for Linux. Even if I compile
applications for X11 and launch them from a desktop icon, I can do
writeln() calls without problems
In our previous episode, Graeme Geldenhuys said:
No, because you don't know if a terminal is available or whether
standard output is writable.
As far as I know stdout is always available for Linux. Even if I compile
applications for X11 and launch them from a desktop icon, I can do
On Fri, 20 Nov 2009, Graeme Geldenhuys wrote:
Michael Van Canneyt wrote:
No, because you don't know if a terminal is available or whether
standard output is writable.
As far as I know stdout is always available for Linux. Even if I compile
applications for X11 and launch them from a
Michael Van Canneyt wrote:
No, the application can (for instance almost all daemons do) close
stdout. Programs that use ncurses will also be messed-up.
Ah, ok.
For CGI programs, stdout is also reserved for the HTML output.
Imagine someone else's code doing a beep, and it ends up in your
On Fri, 20 Nov 2009, Graeme Geldenhuys wrote:
Michael Van Canneyt wrote:
No, the application can (for instance almost all daemons do) close
stdout. Programs that use ncurses will also be messed-up.
Ah, ok.
For CGI programs, stdout is also reserved for the HTML output.
Imagine someone
In our previous episode, Graeme Geldenhuys said:
Possible alternatives:
Maybe under Linux the system.beep() can make a sound if stdout is
available, otherwise write the word beep to the console (like the old
silent movies did on screen), or flash the Scroll Lock keyboard light. :-)
Sure. How
arent there a /dev/something device for pcspeaker ?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Friday 20 November 2009 21:24:17 Jorge Aldo G. de F. Junior wrote:
arent there a /dev/something device for pcspeaker ?
With X11 one can use xbell().
Martin
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
I'm porting some code which beeps the console. When I use sysutils.beep() it
doesn't work under Linux.
What's the easiest way to accomplish this?
Thanks.
-- Bruce
CONFIDENTIALITY NOTICE: This e-mail is confidential and intended
solely for the use of the individual or entity to which it is
Try writing Ctrl-G (#7) out to the terminal.
2009/11/18 Bruce Bauman bruce.bau...@andesaservices.com:
I'm porting some code which beeps the console. When I use sysutils.beep()
it doesn't work under Linux.
What's the easiest way to accomplish this?
Thanks.
-- Bruce
CONFIDENTIALITY
Bruce Bauman wrote:
I'm porting some code which beeps the console. When I use
sysutils.beep() it doesn't work under Linux.
Looking at it's implementation in FPC 2.4.0-rc1 (Linux) I can indeed see
why it doesn't beep. :-)
--
procedure Beep;
begin
end;
21 matches
Mail list logo