Re: [HelenOS-devel] The 100th HelenOS project meeting

2018-11-24 Thread Jaroslav Jindrák
Hi,

I have no problem with the suggested date.

Cheers,
Dzejrou


On Sat, 24 Nov 2018 at 21:00, Jakub Jermář  wrote:

> Hi,
>
> we are going to have our 100th HelenOS project meeting before Christmas.
> Please let me know if December 20 is fine or if some other date works
> better for you.
>
> Thanks,
> Jakub
>
> ___
> HelenOS-devel mailing list
> HelenOS-devel@lists.modry.cz
> http://lists.modry.cz/listinfo/helenos-devel
>
___
HelenOS-devel mailing list
HelenOS-devel@lists.modry.cz
http://lists.modry.cz/listinfo/helenos-devel


Re: [HelenOS-devel] Build from source ...

2018-07-27 Thread Jaroslav Jindrák
Not a problem, should you require further (possibly interactive) assistance,
I'm frequenting the #helenos channel on freenode (as are others from the
project).

S pozdravem,
Jaroslav Jindrak

On 27 July 2018 at 22:42,  wrote:

> Hello Jaroslav
>
>
>
> Thx++ for the very speedy reply.
>
>
>
> With sudo things look AOK:
>
>
>
> >>> Cross-compiler for i686-pc-linux-gnu installed.
>
> moi@ubuntu:~/test/HelenOS/tools$
>
>
>
> moi@ubuntu:~/test/HelenOS$ make PROFILE=ia32
>
> …
>
>
>
> moi@ubuntu:~/test/HelenOS$ ls
>
> abi   config.h  HelenOS.config  Makefile.common  tools
>
> autotool  contrib   image.iso   Makefile.config  uspace
>
> boot  defaults  kernel  README.md    version
>
> common.h  doxygen   Makefile
>
>
>
> BR.
>
>
>
> Jerry.
>
>
>
> *From:* Jaroslav Jindrák 
> *Sent:* 27 July 2018 15:31
> *To:* g...@novadsp.com; HelenOS development mailing list <
> helenos-devel@lists.modry.cz>
> *Subject:* Re: [HelenOS-devel] Build from source ...
>
>
>
> Hi Jerry,
>
> > mkdir: cannot create directory '/usr/local/cross': Permission denied
>
> you need to be able to create the directory the cross compiler is
> installed in, in this case that'd be /usr/local, so you need the root
> rights.
>
> If you cannot use sudo, the CROSS_PREFIX variable can be used as specified
> in the tutorial you linked.
>
>
>
>
> S pozdravem,
>
> Jaroslav Jindrak
>
>
>
> On 27 July 2018 at 16:20,  wrote:
>
> Greetings. A very interesting project but running into a few problems using
> http://www.helenos.org/wiki/UsersGuide/CompilingFromSource
>
> ~/test/HelenOS/tools$ uname -a
> Linux ubuntu 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018
> x86_64 x86_64 x86_64 GNU/Linux
>
> Running toolchain.sh fails - should this be run under sudo/as root? See
> below.
>
> Thanks.
>
> Jerry.
>
> :~/test/HelenOS/tools$ ./toolchain.sh ia32
> IMPORTANT NOTICE:
>
> For a successful compilation and use of the cross-compiler
> toolchain you need at least the following dependencies.
>
> Please make sure that the dependencies are present in your
> system. Otherwise the compilation process might fail after
> a few seconds or minutes.
>
>  - SED, AWK, Flex, Bison, gzip, bzip2, Bourne Shell
>  - gettext, zlib, Texinfo, libelf, libgomp
>  - GNU Make, Coreutils, Sharutils, tar
>  - native C and C++ compiler, assembler and linker
>  - native C and C++ standard library with headers
>
> 10 9 8 7 6 5 4 3 2 1
> >>> Downloading sources
> Cloning into 'binutils-2.30'...
> remote: Counting objects: 30888, done.
> remote: Compressing objects: 100% (24734/24734), done.
> remote: Total 30888 (delta 8355), reused 18287 (delta 5130), pack-reused 0
> Receiving objects: 100% (30888/30888), 53.63 MiB | 2.64 MiB/s, done.
> Resolving deltas: 100% (8355/8355), done.
> Checking connectivity... done.
> Checking out files: 100% (31147/31147), done.
> Cloning into 'gdb-8.1'...
> remote: Counting objects: 30829, done.
> remote: Compressing objects: 100% (24688/24688), done.
> remote: Total 30829 (delta 8339), reused 18268 (delta 5121), pack-reused 0
> Receiving objects: 100% (30829/30829), 53.62 MiB | 1.94 MiB/s, done.
> Resolving deltas: 100% (8339/8339), done.
> Checking connectivity... done.
> Checking out files: 100% (31091/31091), done.
> Cloning into 'gcc-7.3.0'...
> remote: Counting objects: 78672, done.
> remote: Compressing objects: 100% (63505/63505), done.
> remote: Total 78672 (delta 17278), reused 48941 (delta 13759), pack-reused
> 0
> Receiving objects: 100% (78672/78672), 98.79 MiB | 1.62 MiB/s, done.
> Resolving deltas: 100% (17278/17278), done.
> Checking connectivity... done.
> Checking out files: 100% (75320/75320), done.
> Current branch binutils-2_30-helenos is up to date.
> Current branch gdb-8_1-helenos is up to date.
> Current branch 7_3_0-helenos is up to date.
> >>> Downloading GCC prerequisites
> 2018-07-27 15:15:34 URL:
> ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 [2383840] ->
> "./gmp-6.1.0.tar.bz2" [1]
> 2018-07-27 15:15:39 URL:
> ftp://gcc.gnu.org/pub/gcc/infrastructure/mpfr-3.1.4.tar.bz2 [1279284] ->
> "./mpfr-3.1.4.tar.bz2" [1]
> 2018-07-27 15:15:42 URL:
> ftp://gcc.gnu.org/pub/gcc/infrastructure/mpc-1.0.3.tar.gz [669925] ->
> "./mpc-1.0.3.tar.gz" [1]
> 2018-07-27 15:15:45 URL:
> ftp://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2 [1626446] ->
> "./isl-0.16.1.tar.bz2" [1]
> gmp-6.1.0.tar.bz2: OK
> mpfr-3.1.4.tar.bz2: OK
> mpc-1.0.3.tar.gz: OK
> isl-0.16.1.tar.bz2: 

Re: [HelenOS-devel] Build from source ...

2018-07-27 Thread Jaroslav Jindrák
Hi Jerry,

> mkdir: cannot create directory '/usr/local/cross': Permission denied

you need to be able to create the directory the cross compiler is installed
in, in this case that'd be /usr/local, so you need the root rights.
If you cannot use sudo, the CROSS_PREFIX variable can be used as specified
in the tutorial you linked.


S pozdravem,
Jaroslav Jindrak

On 27 July 2018 at 16:20,  wrote:

> Greetings. A very interesting project but running into a few problems using
> http://www.helenos.org/wiki/UsersGuide/CompilingFromSource
>
> ~/test/HelenOS/tools$ uname -a
> Linux ubuntu 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018
> x86_64 x86_64 x86_64 GNU/Linux
>
> Running toolchain.sh fails - should this be run under sudo/as root? See
> below.
>
> Thanks.
>
> Jerry.
>
> :~/test/HelenOS/tools$ ./toolchain.sh ia32
> IMPORTANT NOTICE:
>
> For a successful compilation and use of the cross-compiler
> toolchain you need at least the following dependencies.
>
> Please make sure that the dependencies are present in your
> system. Otherwise the compilation process might fail after
> a few seconds or minutes.
>
>  - SED, AWK, Flex, Bison, gzip, bzip2, Bourne Shell
>  - gettext, zlib, Texinfo, libelf, libgomp
>  - GNU Make, Coreutils, Sharutils, tar
>  - native C and C++ compiler, assembler and linker
>  - native C and C++ standard library with headers
>
> 10 9 8 7 6 5 4 3 2 1
> >>> Downloading sources
> Cloning into 'binutils-2.30'...
> remote: Counting objects: 30888, done.
> remote: Compressing objects: 100% (24734/24734), done.
> remote: Total 30888 (delta 8355), reused 18287 (delta 5130), pack-reused 0
> Receiving objects: 100% (30888/30888), 53.63 MiB | 2.64 MiB/s, done.
> Resolving deltas: 100% (8355/8355), done.
> Checking connectivity... done.
> Checking out files: 100% (31147/31147), done.
> Cloning into 'gdb-8.1'...
> remote: Counting objects: 30829, done.
> remote: Compressing objects: 100% (24688/24688), done.
> remote: Total 30829 (delta 8339), reused 18268 (delta 5121), pack-reused 0
> Receiving objects: 100% (30829/30829), 53.62 MiB | 1.94 MiB/s, done.
> Resolving deltas: 100% (8339/8339), done.
> Checking connectivity... done.
> Checking out files: 100% (31091/31091), done.
> Cloning into 'gcc-7.3.0'...
> remote: Counting objects: 78672, done.
> remote: Compressing objects: 100% (63505/63505), done.
> remote: Total 78672 (delta 17278), reused 48941 (delta 13759), pack-reused
> 0
> Receiving objects: 100% (78672/78672), 98.79 MiB | 1.62 MiB/s, done.
> Resolving deltas: 100% (17278/17278), done.
> Checking connectivity... done.
> Checking out files: 100% (75320/75320), done.
> Current branch binutils-2_30-helenos is up to date.
> Current branch gdb-8_1-helenos is up to date.
> Current branch 7_3_0-helenos is up to date.
> >>> Downloading GCC prerequisites
> 2018-07-27 15:15:34 URL:
> ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 [2383840] ->
> "./gmp-6.1.0.tar.bz2" [1]
> 2018-07-27 15:15:39 URL:
> ftp://gcc.gnu.org/pub/gcc/infrastructure/mpfr-3.1.4.tar.bz2 [1279284] ->
> "./mpfr-3.1.4.tar.bz2" [1]
> 2018-07-27 15:15:42 URL:
> ftp://gcc.gnu.org/pub/gcc/infrastructure/mpc-1.0.3.tar.gz [669925] ->
> "./mpc-1.0.3.tar.gz" [1]
> 2018-07-27 15:15:45 URL:
> ftp://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2 [1626446] ->
> "./isl-0.16.1.tar.bz2" [1]
> gmp-6.1.0.tar.bz2: OK
> mpfr-3.1.4.tar.bz2: OK
> mpc-1.0.3.tar.gz: OK
> isl-0.16.1.tar.bz2: OK
> All prerequisites downloaded successfully.
> >>> Removing previous content
> mkdir: cannot create directory '/usr/local/cross': Permission denied
> ./toolchain.sh: line 167: cd: /usr/local/cross/i686-pc-linux-gnu: No such
> file or directory
>
>
>
> ___
> HelenOS-devel mailing list
> HelenOS-devel@lists.modry.cz
> http://lists.modry.cz/listinfo/helenos-devel
>
___
HelenOS-devel mailing list
HelenOS-devel@lists.modry.cz
http://lists.modry.cz/listinfo/helenos-devel


Re: [HelenOS-devel] The 99th HelenOS project meeting

2018-07-02 Thread Jaroslav Jindrák
Hi,
count me in!

S pozdravem,
Jaroslav Jindrak

On 3 July 2018 at 00:12, Jakub Jermář  wrote:

> Hi!
>
> The 99th HelenOS project meeting will take place on Thursday of Jul 12,
> shortly after 18:00 preferably in the beer garden in Riegrovy sady[0].
> In case of bad weather, we can try [1]. Please let me know if you are
> attending.
>
> Jakub
>
> [0] http://www.restauraceriegrovysady.cz/zahradky/
> [1] http://www.restauraceriegrovysady.cz/
>
> ___
> HelenOS-devel mailing list
> HelenOS-devel@lists.modry.cz
> http://lists.modry.cz/listinfo/helenos-devel
>
___
HelenOS-devel mailing list
HelenOS-devel@lists.modry.cz
http://lists.modry.cz/listinfo/helenos-devel


Re: [HelenOS-devel] 98th HelenOS project meeting

2018-05-04 Thread Jaroslav Jindrák
Hi,

I'm up and have no real preference.

S pozdravem,
Jaroslav Jindrak

On 4 May 2018 at 16:25, Jakub Jermář  wrote:

> Hi!
>
> The 98th HelenOS project meeting will take place on Thursday of May
> 11, shortly after 18:00 somewhere in Prague, Czech Republic. Please let
> me know whether you plan to come so that I can make a reasonable
> reservation, no later than by morning of May 9. Also, do let me know
> whether you have any preferences for the venue of the meeting.
>
> Jakub
>
> ___
> HelenOS-devel mailing list
> HelenOS-devel@lists.modry.cz
> http://lists.modry.cz/listinfo/helenos-devel
>
___
HelenOS-devel mailing list
HelenOS-devel@lists.modry.cz
http://lists.modry.cz/listinfo/helenos-devel


[HelenOS-devel] Held CTRL modifier not applied in terminal.c

2017-12-18 Thread Jaroslav Jindrák
Hi,

this question is mainly aimed at Jiri Svoboda as he is the author of most
of the keyboard
input code in HelenOS, but if anybody has any pointers for me, I'd
appreciate your input.

While working on the C++ io system, I was testing this code:

std::string str{};
while (std::cin >> str)
std::cout << str << std::endl;

This is a common way to implement a cat-like behavior as the while loop
runs until
(in most cases) std::cin encounters EOF. However, the current HelenOS does
not provide
me with a way to send EOF to the standard input and so this program would
loop endlessly.

Because of this, I tried to make CTRL+D to send EOF to the standard input
by modifying
the term_read function in uspace/lib/gui/terminal.c . The problem is, both
the LCTRL and RCTRL
(and LALT/RALT for that matter) do not make their way to this function
(while others like
LSHIFT/RSHIFT or NUM_LOCK do). After checking the code of both the termnal
and the
HID server (which does actually set the CTRL flag) I cannot see where the
CTRL flag could be
cleared. Got any ideas (even general ideas for where I should look)?

The part of actually inserting EOF on a key combination is easy (currently
have it mapped
to LSHIFT + NUM1 for testing), it's just the dissappearance of CTRL that
confuses me :)

​dzejrou
___
HelenOS-devel mailing list
HelenOS-devel@lists.modry.cz
http://lists.modry.cz/listinfo/helenos-devel


Re: [HelenOS-devel] [HelenOS] C++ Port Thesis

2017-10-11 Thread Jaroslav Jindrák
st interest of maintainability to keep changes from
> upstream code to a minimum. For example, conditional sections
> should not be removed unless it's necessary, and it might be
> better to provide pthreads API implemented using fibrils, than
> to change the caller directly. Currently, libposix has empty stubs
> for pthread API, but having a fibril-backed libpthread as a
> separate library is something I'd like to have.
>
> For compiler support, I'm currently reviving clang (see my latest
> commits to mainline), so if possible, you should strive to support
> cross-gcc and clang. You can safely ignore everything else.
>
> Last, but not least, I'm available most afternoons/evenings on
> our IRC channel, so I invite you to pop in anytime and ask any
> questions. My nickname on IRC is jzr.
>
>
> -- jzr
>
>
> On 10 October 2017 at 16:06, Jaroslav Jindrák <dzej...@gmail.com> wrote:
> > Hi Martin,
> >
> > I'm sending you a research/progress file I've written so far that
> documents
> > my progress.
> > It includes information on the things I have already done, possible
> porting
> > sources, discussion
> > of the portability of the different modules (i.e. standard headers) and
> > section 6 contains a few
> > questions I wanted to ask you (mostly regarding the direction you'd like
> > this thesis to take - if you
> > do have preference).
> >
> > PS. Since HelenOS is a community project, I decided to CC the
> helenos-devel
> > mailing list in the
> > case somebody else would be interested (or would want to voice their
> > preference in the matters
> > discussed). (Although I'm not sure how that'd be incorporated into the
> > thesis.)
> >
> > If you prefer to meet in person to discuss this, let me know and I'll
> come
> > to MS.
> >
> > S pozdravem,
> > Jaroslav Jindrak
> >
> > ___
> > HelenOS-devel mailing list
> > HelenOS-devel@lists.modry.cz
> > http://lists.modry.cz/listinfo/helenos-devel
> >
>
>
> ___
> HelenOS-devel mailing list
> HelenOS-devel@lists.modry.cz
> http://lists.modry.cz/listinfo/helenos-devel
>
>
> ___
> HelenOS-devel mailing list
> HelenOS-devel@lists.modry.cz
> http://lists.modry.cz/listinfo/helenos-devel
>
>
___
HelenOS-devel mailing list
HelenOS-devel@lists.modry.cz
http://lists.modry.cz/listinfo/helenos-devel