config/data files.
I'm talking about binaries in this email. But since you already
answered to put the binary always in /usr/games/, so I don't need to
change PATH anymore.
Thanks a lot.
Beco.
> --
> Craig Small VK2XLZ http://enc.com.au/ csmall at : e
Hi guys,
Is there a simple checklist I can go through while reading the docs?
I'm drowning in deeper and deeper docs, and sometime I feel I'm
disconnected from the path.
A (simple) checklist would really help to give me a north.
Thanks,
Beco.
--
Dr Beco
A.I. researcher
&quo
On 4 October 2013 18:09, Vincent Bernat wrote:
>4 octobre 2013 22:56 CEST, Beco :
>
>
> On Debian, those high scores are usually stored in /var/games/X. The
> file permissions allow a user from the group games to write the
> file. See for example `monsterz`.
> --
hout the root password, so I'm
limited to so many linux commands.
Is this the way to go? And with ".profile" script? Or .bashrc? Or still
another one less usual but functional for this task? (
Thanks,
Beco.
--
Dr Beco
A.I. researcher
"Sometimes the heart sees what is invisible to the eye." (H. Jackson Brown
Jr.)
bin
And you're done!
Thanks!
Beco.
--
Dr Beco
A.I. researcher
"Sometimes the heart sees what is invisible to the eye." (H. Jackson Brown
Jr.)
4.6/plugin/include/intl.h
Still, it won't compile!
I'm using wheezy. Any clues?
Thanks,
Beco.
PS. normal gcc can compile the code flawless.
--
Dr Beco
A.I. researcher
"Sometimes the heart sees what is invisible to the eye." (H. Jackson Brown
Jr.)
On 5 October 2013 22:30, Russ Allbery wrote:
>
>> What would be the standard way to lock the scorefile?
>
> fcntl(fd, F_SETLK). See fcntl(2).
>
> --
> Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/>
Thanks Russ, I'll take a "
rscore_memory();
savescore_memory2file();
}
What would be the standard way to lock the scorefile?
No need for too much details. Just to point the general most accepted solution.
Thanks!
Beco.
--
Dr Beco
A.I. researcher
"Sometimes the heart sees what is invisible to the eye." (H. Jackson Brown Jr
ave such permissions!
Of course one can change the source and recompile, but the new binary wont
have the SGID set (I suppose).
And it is much more difficult to download a source, change the
program, recompile, etc.,
than just let some curious user use "vi", or "nano", or "rm
On 4 October 2013 22:56, Beco wrote:
> Hi mentors,
[snip]
> I suppose that is all I have to do. But myapp still tells me
> "permission denied".
I got it working using something I was trying to avoid. SGID.
chmod g+s mytouch
I think its kind of dangerous. But hell, is t
ar/games/myapp/myapp
I suppose that is all I have to do. But myapp still tells me
"permission denied".
Holding my breath!
Beco.
--
Dr Beco
A.I. researcher
"Sometimes the heart sees what is invisible to the eye." (H. Jackson Brown Jr.)
--
To UNSUBSCRIBE, email to debian
e of permissions?
I tried this simple command under bash:
$ touch /var/games/test.txt
permission denied!
I added myself to group games, but to no avail.
What is the miracle? After installing with root permissions, the game
won't run with root permission, will it?
Please, help clarifying this top
ermann,
While tmp is a good idea for some other things I have here, in the
case of scores it would be better if the file is protected from
accidental deletion.
Thanks!
Cheers,
Beco.
--
Dr Beco
A.I. researcher
"Sometimes the heart sees what is invisible to the eye." (H. Jackson Bro
ing.
Of course, the packaging may have rules to state where do the ".dat"
file goes, so I'm kind of lost here too. But this is a second stage.
For now I just want my program to run in the correct places, write the
data in the correct directory.
Thanks any light here.
Beco.
--
On 2 October 2013 00:58, Beco wrote:
>> #define _( String ) gettext( String )
>>
>> breaks xgettext
>>
>> Is there any trick to get it working with the define?
Solution:
Use -k_ arg. Example:
$xgettext -k_ -d hallo -s -o hallowelt.pot hallowelt.c
Thanks!
Beco.
On 2 October 2013 00:44, Beco wrote:
> On 1 October 2013 19:03, Boris Pek wrote:
[big snip]
>
> $ msgfmt -c -v -o hallo.mo en_US-hallowelt.po pt_BR-hallowelt.po
>
> I get this fatal errors:
>
> pt_BR-hallowelt.po:6: duplicate message definition...
> en_US-hallow
ord, look this HOW-TO I'm doing. (I'll state the problem in the end)
/* --- BEGIN OF FILE hallowelt.c - */
/*
* MINI-HOWTO to translate printf messages using gettext
* By Dr. Beco, (C) 2013, GNU/GPL License.
*/
#include
#include
#include
#include
int main(int argc, c
On 1 October 2013 23:15, Craig Small wrote:
> On Sat, Sep 28, 2013 at 12:42:02AM -0300, Beco wrote:
[snip]
>>PS. Also, hijacking my own thread, I think there is a bug with the short
>>opt "-c" to set license. Is that so? Just the long option is working for
>
On 29 September 2013 23:41, Beco wrote:
> On 29 September 2013 23:35, Martin Eberhard Schauer wrote:
>>> Please, what would be the correct way to translate printf messages (in
>>> a C program) into some other languages?
>>
>> You will have to learn about gettex
On 30 September 2013 03:50, Etienne Millon wrote:
> * Beco [130930 08:41]:
>> Yes, its just a typo. #echo $DEBEMAIL shows correctly.
>
> That was just to check :)
>
> Is the variable correctly exported in the environment using 'export' ?
> You can see if it is
ypo. #echo $DEBEMAIL shows correctly.
I still wonder how to configure dh_make
Tx,
Beco.
--
Dr Beco
A.I. researcher
"Sometimes the heart sees what is invisible to the eye." (H. Jackson Brown Jr.)
--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subj
uch kind of questions welcomed here? Or should I ask debian-devel?
>
> You are right here.
>
Thanks Martin!
--
Dr Beco
A.I. researcher
"Sometimes the heart sees what is invisible to the eye." (H. Jackson Brown Jr.)
--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.de
Hi there,
Please, what would be the correct way to translate printf messages (in
a C program) into some other languages?
Thanks!
Beco.
PS. Is such kind of questions welcomed here? Or should I ask
debian-devel? I thought that debian-devel would be more advanced, so I
tried here first. Please
On 28 September 2013 02:50, AnĂbal Monsalve Salazar wrote:
> On Sat, Sep 28, 2013 at 12:38:26AM -0300, Beco wrote:
>> Its said in the man page that dh_make would use my $DEBEMAIL, but the
>> email I see is another one (I suppose composed of login @ host-name ).
>>
>> I
On 28 September 2013 00:38, Beco wrote:
> Hi there mentors,
>
> Its said in the man page that dh_make would use my $DEBEMAIL, but the
> email I see is another one (I suppose composed of login @ host-name ).
>
> I could use the opt "--email" to set it, but... How to
Hi there mentors,
Its said in the man page that dh_make would use my $DEBEMAIL, but the email
I see is another one (I suppose composed of login @ host-name ).
I could use the opt "--email" to set it, but... How to enforce dh_make to
use the environment variable?
Thanks,
Beco.
--
D
On 23 September 2013 17:12, Paul Gevers wrote:
> Hi Beco,
>
> Welcome.
>
Thanks Paul.
>
> It is our custom on this list to try to just answer questions as they
> come along. So no dedicated mentor is appointed.
Own... That is a pity. I recall someone telling me about dedic
me, and I'll be doing the
stuff I learn with my mentor for a long time, slowly but surely.
If you find yourself qualified for the job, be welcome. Just remember,
I wont pay you a penny. And after you started, you can't quit.
Thanks any answer.
Beco.
PS. My second attempt package, m
28 matches
Mail list logo