Re: Another Semaphore question.

2001-05-05 Thread oron

On 04-May-2001 Stanislav Malyshev a.k.a Frodo wrote:
>>> This is not a PROBLEM but a FEATURE. All Sys-V IPC (semaphores,
>>> message queues, shared memory) outlive their creators.
> 
> Wrong. Shared memory can be pre-deleted, so that it is removed when last
> process is detached. Just like files.

True, but they can only be used by an already attached processes just like
open files that are unlinked (although they appear in ipcs(1), a shmget(2)
fails with 'identifier removed' error).

Actually, this was very interesting remark. Since the API's of the 3 Sys-V
IPC mechanisms is so similar I haven't noticed (until now) that shared
memory has different sematics (because it has shmdt() <==> close(), while
message queues and semaphores don't have an equivalent call).

Thanks for the enlightenment...

BTW: we both agree that for *mutual exclusion* there are better means than
 semaphores.


Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

The best way to accelerate a Windows box...
   ...is at 9.8 meters per second per second.


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Hebrew support in SendSMS

2001-05-05 Thread Nadav Har'El

As Alon Altman pointed out a couple of days ago, to allow sending Hebrew
SMSs all that was needed to do in SendSMS is just what I had suggested in
the comments.
I'm releasing a new version (2.1) of my SendSMS, at the usual place:

http://nadav.harel.org.il/software/sendsms

It can now send Hebrew SMSs to Orange and Cellcom phones that support it
(e.g., All of Orange's Nokias, Cellcom's 5120i and newer, etc. Orange's
Startac and Cellcom's original 5120 cannot show Hebrew SMSs). Just put
Hebrew (ISO-8859-8 encoding, logical order, to be precise) in the SMS
message.
I thoroughly checked the Hebrew support on Orange, but I need someone to
check it on Cellcom, please, and tell me if it works properly. I did not
try to do Pelephone Hebrew support - in fact, I have no idea if the current
code can't already just send Hebrew as-is.

Note that in some cases (e.g., Orange's Nokia phones) it is also possible
to send Latin1 (i.e., accented Latin characters, e.g., as in French)
messages: to tell sendsms that this is a Latin1 message, not Hebrew, use
the new "-l" option.
Sending ASCII messages (i.e., English) works the same as it worked before,
on all phones (even if they don't support Hebrew, of course).

There are some more interesting changes in this new version (2.1):

* Added a command line option "-u", for choosing the urgency of the message.
  In this version it is only supported for Cellcom, and the options are:
  "-u 1" (Normal), "-u 2" (Urgent), and "-u 3" (Emergency). This has nothing
  to do with the speed of message delivery - it only changes the way the
  message announcement looks. For example, on my Nokia phone, an Emergency
  message is announced with "New Emergency Message" instead of "New Message"
  (or something like that - I actually use a French interface, and don't
  remember what the English interface looks like).

* As of April 2001, Cellcom has a fourth area code, 064 (no kidding! I
  think the way Bezek is recycling area codes that existed for decades
  is confusing and not fair...). I don't know anybody with a phone on
  that area code, but the new version _should_ work with it too.


As a broken record, I would like to repeat the kind of testing I'm still
waiting for from people of this list (note that I don't need you to run
SendSMS yourself if you don't want - I can send you a message myself and
you'd just need to tell me what you got):

very easy to test:
 1) Test SendSMS to Pelephone's 056 and 050 area codes
 2) Test SendSMS with a Hebrew message to a Cellcom phone that supports
it (e.g., Nokia 5120i and newer).
requires a little more cooperation:
 3) Test SendSMS with a Hebrew message to a Pelephone phone that supports
it. I have no idea if that would work, because I didn't add any explicit
Hebrew handling to the Pelephone part.
 4) Test SendSMS with Mirs (057 area code). There's no code for it yet to
test - I'll code it once I know someone is willing to test it.

Thanks in advance,
Nadav.


-- 
Nadav Har'El| Saturday, May  5 2001, 12 Iyyar 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |An egotist is a person of low taste,
http://nadav.harel.org.il   |more interested in himself than in me.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: virtual pc for pc

2001-05-05 Thread Hetz Ben Hamo

Hi,

1. Virtual PC will cost $199, not $299. From their web page: 
http://preview.connectix.com/

The release version of Virtual PC for Windows has an estimated street price 
of $199 and will begin shipping mid-June 2001.

2. Their Unix/Linux division (and they got quite a big unix division there) 
is preparing a native Linux version of Virtual PC which will be out "soon". 
Donno when exactly..

Hetz


On Saturday 05 May 2001 23:43, Miki Lewinger wrote:
> If you haven't read about it: connectix which has quite an expertise in
> emulations, and has produced the longest living PC emulator for macs (maybe
> not the best anyway...), is releasing in a couple of days VPC for PCs - it
> enables you to duplicate hardware addresses such as BIOS in a virtual
> environment allowing you to run linux and/or windows 2000/3.11/DOS (who
> cares ?) each in its own VEnv on top of ME or 2000. Although the price on
> macs is 70 $ for a PC DOS version, VPC for PCs will cost... 299 $. I
> suppose the price tag will fall by the day.
>
> http://www.connectix.com
>
> Miki
> BGU
>
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: vmware costs 299 $

2001-05-05 Thread Michel Lewinger

As far as I worked with VMWare and VPC, VPC is VERY solid and fast, and
OS-independent as it emulates the hardware addresses probably the 2.0
version of VPC for PC will be good enough, at any rate much better than
VMWare.

VPC for macs costed 150 $ and gradually the prices have fallen to the
current 70 $ level. PS: I can run PC linux on my mac/VPC. Or 2000, or even
solaris. All at the same time. It is easier than to configre the PPC port
of linux (PPC Linux, Yellow Dog).

Cheers,

Miki



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Haifux: GUI And GTK - 7-May-2001

2001-05-05 Thread guy keren


hi,

the next Haifux (HAIFa linUX club) meeting will take place on
monday, 7-May-2001, at 18:30, at the usual place (TAUB 6 lecture hall in
the TAUB computer science faculty building at the Technion, Haifa).

This lecture will be the first in 2-3 lectures about GUI programming and
GTK.

The slides are temporariliy available in a _compressed_ format at:

http://users.actcom.co.il/~choo/gui-with-gtk.tar.gz

example gtk source files are temporarily found at:

http://users.actcom.co.il/~choo/gui-gtk-examples.tar.gz

these slides would suffice for about 1.5 meetings, with the rest to be
formed later on. a full table of contents for the 2-3 lectures is attached
at the bottom of this letter. i expect to get to geometry managers in this
meeting, and talk about specific widgets + Glade on the following meeting
(2 weeks afterwards, i guess).

Topics follow:


- What Is A GUI Program?

- GUI Programming Model
  - Event-Driven Prorgamming
  - Commonly Used Events Types
  - The Event Loop

- The X Window Model
  - The X Server
  - The X Clients
  - the Window Manager
  - Xlib And higher-Level Libraries

- GTK Basics
  - Initialization And The Main Loop
  - Top-Level Windows
  - Widgets
  - GTK Signals

- GTK Geomerty Managers
  - What Is A Geometry Manager?
  - Horizontal And Vertical Box
  - Packer

- GTK Widgets
  - Labels
  - Buttons
  - Text Entries
  - Frames
  - Menu Bars And Menus
  - GTK CList (Tables)

- Glade - A GUI Builder
  - Glade Projects
  - Creating Top-Level Windows
  - Packing Widgets Into Glade
  - Source Generation
  - Adding Your Code
  - Re-opening A Glade Project - Cavits

- UI Design
  - Thinking about the end-user
  - Keeping A Sensible Flow
  - To grey-out or not - that is the question.
  - "Featuritys"

- Network Integration
  - The select() behind the main loop
  - Adding input and output sources
  - Dos and Don'ts when accessing sockets in a GUI

- Multy-Threaded GUIs
  - Rational
  - The GUI thread
  - Command Queues
==

see you there,

--
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Connecting to internet on RH7

2001-05-05 Thread Shaul Karl

> I just installed red-hat 7.0, and I seem to have trouble conecting to the
> internet.
> After some work I managed to get the modem working by installing kernel
> 2.4.2 (isapnp on kernel 2.2.something didn't seem to work, although it
> did before on a debian system.)
> Trying to use the redhat ppp configurator, the modem was
> finalyrecognised,. i then tried to configure the isp detailes, but when it
> tries to connect i get a falided to start net interface message (net is
> the name of the configuration).
> I tried to recompile the kernel, but to no avail.
> On the debian system i used ppp-cofig, and pon, poff which worked great.
> When i try the debug buton, on the setting window, the modem diles, ggets
> a connection to the ISP, doesn''t recognise the user name and password
> request, reports that it was sudenly disconected, and then tries to dial
> in again.
> 
> Any sujestions as to how to tuckle the problem?
> 



`doesn't recognize the user name and password' => 
the contents of the equivalent of /etc/chatscripts/provider is wrong?
I would try to do everything as root, try with minicom, enable debugging, post 
debug info that might be taken from /var/log/{messages,syslog} and 
/var/log/ppp* to the list.



> Thank micha
> [EMAIL PROTECTED]
> 
> 
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 

-- 

Shaul Karl <[EMAIL PROTECTED]>



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: virtual pc for pc

2001-05-05 Thread Stanislav Malyshev a.k.a Frodo

ML>> cares ?) each in its own VEnv on top of ME or 2000. Although the
ML>> price on macs is 70 $ for a PC DOS version, VPC for PCs will
ML>> cost... 299 $. I suppose the price tag will fall by the day.

VMWare WS costs exactly $299. Coincidence? :)

-- 
[EMAIL PROTECTED]  \/  There shall be counsels taken
Stanislav Malyshev  /\  Stronger than Morgul-spells
phone +972-3-9316425/\  JRRT LotR.
http://sharat.co.il/frodo/  whois:!SM8333


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Connecting to internet on RH7

2001-05-05 Thread Micha Feigin

I just installed red-hat 7.0, and I seem to have trouble conecting to the
internet.
After some work I managed to get the modem working by installing kernel
2.4.2 (isapnp on kernel 2.2.something didn't seem to work, although it
did before on a debian system.)
Trying to use the redhat ppp configurator, the modem was
finalyrecognised,. i then tried to configure the isp detailes, but when it
tries to connect i get a falided to start net interface message (net is
the name of the configuration).
I tried to recompile the kernel, but to no avail.
On the debian system i used ppp-cofig, and pon, poff which worked great.
When i try the debug buton, on the setting window, the modem diles, ggets
a connection to the ISP, doesn''t recognise the user name and password
request, reports that it was sudenly disconected, and then tries to dial
in again.

Any sujestions as to how to tuckle the problem?

Thank micha
[EMAIL PROTECTED]


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




virtual pc for pc

2001-05-05 Thread Miki Lewinger

If you haven't read about it: connectix which has quite an expertise in
emulations, and has produced the longest living PC emulator for macs (maybe
not the best anyway...), is releasing in a couple of days VPC for PCs - it
enables you to duplicate hardware addresses such as BIOS in a virtual
environment allowing you to run linux and/or windows 2000/3.11/DOS (who
cares ?) each in its own VEnv on top of ME or 2000. Although the price on
macs is 70 $ for a PC DOS version, VPC for PCs will cost... 299 $. I suppose
the price tag will fall by the day.

http://www.connectix.com

Miki
BGU


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Available for work

2001-05-05 Thread Daniel Feiglin

Hello!

I'm looking for contract programming that can be done largely at home (i.e I
don't want to waste 3 hours a day in trafffic jams.)

Linux C/C++/Java. Prefer solid commercially oriented, stuff. No airy-fairy
projects. Prepared to target to AIX, Solaris.

Regards,


Daniel Feiglin A.K.A. Dilog Computers Ltd.
(053) 869986


begin:vcard 
n:Feiglin;Daniel
tel;cell:972 53 869986
tel;fax:972 9 862 1052
tel;home:972 9 832 0939
tel;work:972 9 861 6204
x-mozilla-html:FALSE
org:Dilog Computers Ltd.
adr:;;POB 36;Shavei Shomron, Mobile Post;;44858;ISRAEL
version:2.1
email;internet:[EMAIL PROTECTED]
title:CC & BW
note:cc: to [EMAIL PROTECTED]
x-mozilla-cpt:;-7424
fn:Daniel Feiglin
end:vcard