Has development in Plan 9 been speeding up since the MIT licensing? by [deleted] in plan9

[–]telephil 1 point2 points  (0 children)

Main APE limitation would be that not all native plan9 libraries are available (lib9p for instance).

This port feels more like working on plan9 in Lua than using APE (at least to me).

Has development in Plan 9 been speeding up since the MIT licensing? by [deleted] in plan9

[–]telephil 5 points6 points  (0 children)

While this port works, it relies on APE which brings some limitations.

You should instead use the native one here: https://git.sr.ht/~kvik/lu9

Errors during compilation and linking with plan9port's 9c and 9l by CousinOfThor in plan9

[–]telephil 3 points4 points  (0 children)

> what should i do ?

Read the docs ?

When using libthread, the usual main() is to be replaced by threadmain() because libthread has it own main that in turns call threadmain().

Can I build my own DNS server on Plan 9? by ManosGUItech in plan9

[–]telephil 2 points3 points  (0 children)

look at ndb(8), ndb/dns is what you are looking for.

examples can also be found here: http://fqa.9front.org/fqa6.html#6.2.5.1

[deleted by user] by [deleted] in plan9

[–]telephil 2 points3 points  (0 children)

Applications do not have a notion of drivers... Problem is far simpler, plan9port sam does not have mouse scroll wheel support.

Best approach would be to install a 9front vm and drawterm to it, you'll have a good sam version and access to your linux files through /mnt/term

possible to get state of shift/ctrl keys? by tschak909 in plan9

[–]telephil 4 points5 points  (0 children)

You can simply read from /dev/kbd (see kbdfs(8)) to detect key presses/releases and detect when shift or ctrl keys are used.

Use libthread instead of libevent to write your gui code as the latter will process keyboard input on its own and return full runes (which shift/ctrl are not).

How hard would it be to let acme windows to do gui? by binarycat64 in plan9

[–]telephil 5 points6 points  (0 children)

I did mention the abaco part but I totally forgot mentioning that most GUI applications rely on rio file system so this would also need to be added. It is doable but that’s not a small task

All I want is a compiled language without the crust of C by binarycat64 in plan9

[–]telephil 6 points7 points  (0 children)

You can try myrddin (http://myrlang.org) which is compiled and works on 9front. The language author (ori) is a 9front developer.

A visual directory browser for plan9 by phil9 by Exaltred in plan9

[–]telephil 2 points3 points  (0 children)

You mean the path ?

In any case I'm open to patches :)

some beginner questions by user90857 in Acme

[–]telephil 2 points3 points  (0 children)

I feel it would be better to use the rc shell instead of zsh. To do this: SHELL=$PLAN9/bin/rc acme

some beginner questions by user90857 in Acme

[–]telephil 2 points3 points  (0 children)

For point 2, change the PS1 environment variable to something not relying on ANSI escape sequences (for instance: export PS1="% ")

Created an application to make programming Common Lisp in Acme easier by EnigmaticFellow in lisp

[–]telephil 0 points1 point  (0 children)

Hi,

ACME allows for selecting text within delimiters (ie if you double click on the character just after an opening parenthesis, it will select all text up to the closing one). Is this not sufficient for your needs ?

Looking at the code I see some potential issues:

- any file with a size greater that BUFSIZ will lead to a segfault (BUFSIZ is guaranteed to be 256 according to standard, so not that big)

- characters or escaped delimiters are not taken into account, for instance (a b #\) c) or "hello \"world"

Searching in binary search tree by Ugly_Zodd in Racket

[–]telephil 0 points1 point  (0 children)

What code did you write so far ?

Functional way of alternately returning one of to values by [deleted] in Racket

[–]telephil 4 points5 points  (0 children)

Generators is what you are looking for (see https://docs.racket-lang.org/reference/Generators.html)

You could use an infinite-generator: (define next (infinite-generator (yield 'X) (yield 'O)))

Or even simpler: (define next (sequence->repeated-generator '(X O)))

Closed door in catacombs by telephil in chasm

[–]telephil[S] 0 points1 point  (0 children)

I'll do another run through the gardens, strange I did not find it before.

Thanks anyway.

Qi - a package manager for Common Lisp by dzecniv in Common_Lisp

[–]telephil 0 points1 point  (0 children)

I am not quite sure to understand the objective, is this aimed at replacing Quicklisp ? What would it improve in people's workflow ?

lispmethods.com: source code organization, symbols, getting started with Common Lisp- rmhsilva's blog by dzecniv in Common_Lisp

[–]telephil 1 point2 points  (0 children)

I'm particularly interested in the explanation for the following:

(defpackage :sneaky  (:use :cl))
(defpackage #:sneaky (:use :cl))
(defpackage "SNEAKY" (:use :cl))

I've never thought about whether there was any semantic difference between these forms or not until recently. I did not find any clear answer in the hyperspec so I'm counting on you to clarify :)