Update and harmonization for termkey.nim, for standard use of the source
generator.
designer progression big update for termcurs.nim
I did a test with and without --gc: arc
with the same parameters
DEBUG mode without: the program is smaller but much slower 1.2 MB with: the
program is larger 1.4 MB but much more fluid PROD mode without: 523 KB very
slightly slower with: 602Kb
I did not find a report on the subject !!! can yo
Even the French translation is excellent
Hello
I finally solved (99.9%) the problem of scratching the mouse in the management
of the terminal (in linux)
It was while developing my designer for the terminal that I realized that the
events of the mouse went up at breakneck speed and the buffer was too small, it
piled up in short !
yellow is difficult to read on a white background
designer Advance today part one is validated but I haven't finished. [Code
source
generated](https://github.com/AS400JPLPC/nim_termcurs/blob/master/source_generated.png)
[small
example](https://github.com/AS400JPLPC/nim_termcurs/blob/master/TEST.png)
hello:-d:useMalloc|
---|---
I feel like I'm faster, is true
change terminal key
> ATTN PROC CALL Keyboard simulation done by the program and not by the keyboard
→ ATTN keyboard simulation →Passes program name to application server → PROC
keyboard simulation →Transmits the name of the procedure to be executed in
Internal → CALL keyboard simulation →Trans
Thank you for answer ;)
I make a software, or I would like to give the possibility of putting a proc in
a field, to make a little as I described, that would open important
perspectives.
Thank you for answer ;)
I make a software, or I would like to give the possibility of putting a proc in
a field, to make a little as I described, that would open important
perspectives.
Hello is it possible to encapsulate the name of a PROC in a string field, then
call a proc directly with this field in OS400 it is possible to do ex: call
"pgdate" or call &var directly without making a 'CASE / IF' field etc ...
or example: file field.type (country) field.proc
([pgspecific](htt
In the last answer, the git shows how to make a console on the fly, and the
possibility of executing a program in this console, basically this is what I do
with termVte (in the example it is frozen but it was for my tests)
[https://github.com/rprichard/winpty](https://github.com/rprichard/winpty)
there it gives the possibility of doing the same thing as vte
[https://stackoverflow.com/questions/6673022/windows-gui-console-output-linux-style](https://stackoverflow.com/questions/6673022/windows-gui-console-output-linux-style)
I agree with you, you only need a program that, like Linux, has an open
terminal-type GUI. for a while i made my terminal in C i
[https://download.gnome.org/sources/vte/0.60/](https://download.gnome.org/sources/vte/0.60/)
I also sought to help you, maybe you can compile there is the free vte
if you want to make your own terminal under windows with gtk
[https://github.com/AS400JPLPC/VteTERM](https://github.com/AS400JPLPC/VteTERM)
even if it is under linux you must not have too much problem in C / C ++ after
you can directly call programs made with nim
hello OUHAAA bravo This is what it expects in the vte file in
/pkgs/gintro-0.7.3/gintro/vte.nim
Run
{.warning[UnusedImport]: off.}
import xlib, glib, gdk, gdkpixbuf, cairo, gtk, gobject, pango, gio,
gmodule, atk
const Lib = "libvte-2.91.so.0"
{.pra
yes, with cygwin you should get there
you have to put the lib vte on line for compiled, when I worked with windows, I
recovered lib with .h generally it worked for example postgresql works very
well like that
thank you I get it
Hello when I forward to a proc in the example fldX.name
I wanted to remove the error
Hint: passing 'fldP.name' to a sink parameter introduces an implicit copy;
use 'move (fldP.name)' to prevent it [Performance]
So I used "move", but actually I lost the value and the variable. moreover we
se
hello
example
Vtest = ref object
name : string
let fldx = new(Vtest)
fldx.name = "test"
proc setT( val : string) :string= return val
var x = setT(fldX.name)
Hint: passing 'fldx.name' to a sink parameter introduces an implic
[https://cygwin.com/packages/summary/vte.html](https://cygwin.com/packages/summary/vte.html)
include lib VTE for windows
Project stabilized. 2020-05-02 Unless there is a real bug code cleanups,
harmonization of proc / func plus some practical additions passage in real test
on application (it will be the justice of the peace) Those who forked should
update it
Hello, I'm done. Termcurs it integrates the table (dynamic or static) based on
the philosophy of that of the 5250 OS400
there are examples and pictures
I will write an application with a real data base provided by Posgresql. We
should find the principles of Cobol (for display) or that of RPGILE
Nim allowed me to transcribe in a simple and coherent way, the reproduction of
operation of the 5250.
he wants to help me explain and he will translate.
bonjour, il s'agit de retourver l'apparence du 5250/3270 un type de terminal il
fonctionne sur le principe de fenêtre dans lequel on peut mettre des labels et
fields button(f1...f24 et plus) leurs positionnements des relatif la gestion
est automatisé: des fields leurs contenus / buttons de la mê
hello,
I deposited on github I take again the functions of 5250/3270 and apply that on
a terminal
it's not all over but it works
I finish by incorporating SFLINE a grid type incorporation (readOnly by
experience rarely update) no question of doing GTK ;)
I would like to have feedback on the o
With the latest freshness ... It gets better
I read a lot of fixes on GIT
have problems when you are several hours (8 / 10h) open ... At times I have a
random character that fits
Yet I update very regularly with Manjaro / I clean VSC etc ...
2020-04-20 correctif Key change: enum → to respect enum:adding the table with a
functional suite
I will integrate this into the function, thank you this is more judicious
Thank
Hello,
I need an explanation:
in a procedure (proc) if I put internal procedures
ex:
proc getField (...) =
proc insert () proc delete ()
* * *
Do I have to understand that it's like a class and that none other than the
proc can use internal proc and by that do not put them proc insert
thank
but it's not in the documentation we only talk about the thong that's just
what i wanted to report sorry my english is google
update
Update → 2020-04-16 add proc (key) = getFunc() read touche omit key.Char
supported UTF8 → 2020-04-18 correctif line 572 if key == Key.None : key =
Key.Char { ;) error copy from test}
Hello
In the documentation the unicode page it is mentioned isAlpha (string) and not
isAlpha (Rune) isAlpha is operational with Rune that would have saved me from
going through a string
thank
Looks cool. Thanks for sharing.
super well done ;)
I read very interesting, on the other hand I would like to point out the good
translation in French, no grammatical inconsistency Great
#enthus1ast You are free to use it, your idea is not bad I just finished
(finished) on the Linux side ;)
J'aime beaucoup
hello
termkey.nim
keyboard and mouse management
Linux view conforms to specifications
UTF8
I thank #enthus1ast
[https://github.com/johnnovak/illwill](https://github.com/johnnovak/illwill)
Manages UTF8
all keyboard keys and mouse
It manages the Linux keyboard according to the GNU specificat
bonjour,
#Stefan_Salewski You can add the terminal in your examples.
I hope this helps those looking to learn nim better
I took over what you had done.
Now it works perfectly
this an open and simple terminal, this does not have a terminal for shelling
but for applications in semi-graphics mod
today I don't eat fish (lol) on April 1st
rewrite all that in Python ... and why not in gwbasic with the one
opening on the assembler
hello , But with the tool you work GUI Terminal CGI
excuse me i am a lot dyslexic
Hello, I have tried GUI a lot, for short the most practical GTK. It has a lot
of solution and a screen generator, currently I carry a C ++ application in nim
not only to learn but by conviction of simplicity of maintenance. As for GTK it
becomes very simple to use with the builder option of gtk
thank you Morem
You say less secure than C.
Do you mean to imply that there may be buggers, if that's it it doesn't matter
in itself it's perfectible ...
For the moment Nim has helped me by noting and pointing out small errors not
functional but easy to generate in C / C++ oh no matter in itse
Hello : or is in terms of Nim-Lang security compared to other languages. we
hear a lot about Rust, but I think it's mostly a way of programming that
influences security outside of traditional reasons ...
This is a question for information
hello : help
work sql
type
Date* = ref object of RootObj
Data* : DateTime
Null* : bool
Temps* = ref object of RootObj
Data* : DateTime
Null* : bool
proc sql*(a: Date): string =
if a.Data.format("-MM-dd") =
thank you great
Hello : how to change date from english to french thank you
is var
DefaultLocale* = DateTimeLocale(
MMM: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep",
"Oct",
"Nov", "Dec"],
: ["January", "February", "March", "April", "May", "June", "July"
I worked a lot IBM38 / AS400 / OS400 over 40 years RPG / ILE / C I think I'm
too old (and my health requires it) I worked for a Nim port in github in the
AS400 (DDS) way, I hesitated between starting from the source code "C" Mike
Cowlishaw / IBM, finally for the moment I relied on the "mpdecimal
including decimal in nim not default i think that would be a great thing. of
course i have already tested it was just a suggestion
Thank you for the answer I understand, too bad it would have standardized
bonjour , Hello
Just like float or int, there is indeed in gcc the notion of decimal 128, of
course there are dcml procs for nim but external. I would like to know why
today the decision was not to introduce this type and to close the subject
which would allow in the calculations of financial d
hello
translate nim gintro
Display* display = XOpenDisplay(NULL); int screen = DefaultScreen(display);
thank
'''You mean connection pool? There's an open issue for it, but I'm not planning
on taking on it any time soon. I plan to focus on the migration manager for
Norm.''' yes
Bonjour, Hello
887/5000
I am passionate about DB ...
Did you think, open several connections
so if yes you can have a transactional connection and a logical connection only
for reading ...
I work this way it allows me a lot of flexibility.
I worked on a wrapper (which works in C ++) based
It's a shame not to have UTF8. You did something that holds the road ... In
French the è etc ... oops it's not funny ;)
nim does not substitute for SQL statements
you want to insert the same thing twice then you have duplicate keys you should
read a simple book on sql ;) it doesn't have the wrong program but knowing SQL
would have allowed you to avoid this kind of error.
#!/bin/bash
faStabilo='\033[7m'
fcRouge='\033[31m'
fcJaune='\033[33;1m'
fcCyan='\033[36m'
fcGreen='\033[32m'
#---
# ccontrôle si projet nim
#--
I use for the project a .sh file or a makefile or .bat
for me quite the opposite once the modules are well understood the same
module for all managed like set theory
Bonjour :
42 year pratique : IBM 34/36/38/AS400 -->RPG2/3/4 project using the “AXIAL”
method
* object oriented "RPG-ILE" "C-ILE" language
* C++
traditional project management create L4G type engine
sur pc : 1980: pascal / C 1990 ... 2019: C++ PHP2/3 Javascript creation driver
for pickin
@Stefan_Salewski his examples helped me to put the foot in the stirrup, for me
I got tired of the basic docs, and I went on more concrete examples using an
interactive project that led me to other horizon, type definition, create a
module ... and SQL as all this to have a concrete interactive pr
go on github
I tested back and forth and it works. I even got into the code and it works.
moreover you can use a designer or do everything by hand ...
you have to see it I have the internet receipts but not the debit
I will cancel the donation and redo it
[https://nim-lang.org/donate.html#other-ways-to-donate](https://nim-lang.org/donate.html#other-ways-to-donate)
choice :
> PayPal
on my bank account I do not see the flow
I paid a sum and I do not see the flow
I do not understand I made a donation more than 1 month ago, and soon it will
come to an end at the end of 2019/11, why is it not taken ... I did this on
paypal from the site no phone?
OK it works sorry a thousand times
I missed a function and I had an overflow yet I have a lot to work with
originally "Mike Cowlishaw" in c ++ . in my type functions
`+` * (a, b: DecimalType): DecimalType =
var status: uint32
result = newDecimal ()
mpd_qadd
sorry
import ./decimal/decimal var a= newDecimal("890.12")
a+10 echo $a
a+=10 echo $a
a-10 echo $a
a-=10
echo $a
import ./decimel/decimal
a= newDecimal("890.12")
a+10
echo $a
a+=10
echo $a
a-10
echo $a
a-=10
echo $a
Run
a= newDecimal("890.12")
a+10 echo $a ... 900.12 a+=10 echo $a ... 910.12 a-10 echo $a ... 900.12 a-=10
echo $a ... 890.12
etc
+= -= *= and /= idem + - * /
Run
changed variable in the test I'm doing it's how it works
I understood that as a * 10 = a * = 10 that's why I told you that because
there's no new result coming out
yes
a =12345678901234567890.12
a*10 echo $a 12345678901234567890.12
a =12345678901234567890.12
a*=10
echo $a 12345678901234567891.2
a*10 correct
a*=10 not ok
@mratsim
Hello I adapt Nim-decimal for management, compliant with the AS400. so I test a
maximum I introduced the boundary to be in agreement with the database
(POSTGRESQL but it is identical with DB2) on the other hand significant numbers
are important there are times when we have 20.15 zones
Hello , I've been with NIM for 4 weeks (big full days;))
I come from IBM38 / AS400 43 years of practice and C / C ++ 30 years of
practice, and Pascal I kept the structure and method. my reaction to hot
foundry: Nim is much simpler than one imagines, very often I leave with a
concept C ++, final
hello, I just tested code(example) with 3.22. it works perfectly
as for version 3.22 is that the "stable" at Ubuntu is very difficult to raise
GTK if it is not proposed by Ubuntu (it is a problem that I understand) it
protects the heart of their applications ... I can easily climb for the
compi
thank you
cellDataFunc(column00: ptr TreeViewColumn00; renderer00: ptr
CellRenderer00;
model00: ptr TreeModel00; iter: TreeIter; data: pointer)
{.cdecl.}
Run
that's where my mistake comes from
> as I told you, I have also Manjaro (since 5 years) wh
hello , --passL:-no-pie on linux (ubuntu) the compiler is set to "pie" for
security reasons, but sometimes we need a bridgehead and make an executable,
without having to have a launcher .
hello, I was careful to fork 0.5.5. it works without any problems I work
on a stable xubuntu 18.4.3 sorry to have bothered you, I know how much we
can have at heart that what we publish is correct ... .. I will see how to
evolve my system but apparently I am tied to the stable . th
I am on linux and update regularly I even publish a procedure to automate the
maintenance of the system ubuntu (Xubuntu) a bit like manjaro 03.22.30
the problem of rectangle is recompiling listview.name from a month ago that he
output this message
I thought the forum was there for that
hello:
.nimble/pkgs/gintro-0.6.0/gintro/cairoimpl.nim(614, 22) Error: undeclared
identifier: 'Rectangle'
@Stefan_Salewski
no problem at the moment I did differently, for the validity checks, and I
advance on the implementation to make for example billing .. to give the
sense of the application the goal is to make a kind of excel finally;) just to
make an evaluation of an article price for exam
[https://github.com/nim-lang/RFCs/issues/173](https://github.com/nim-lang/RFCs/issues/173)
that largely answers the question I was asking myself
Hello, I'm blocking on using setCellDataFunc could you give me an example please
everything works I made the change in table.c
the example is not concrete for a beginner but once set up and with data ..
everything rolls finally it's pretty simple
it lacks color in the cells the rest is more than viable
table.c
static void applyColor(GtkTreeModel *m, GtkTreeIter *iter, int
You scare me because investing in learning is not easy, I use GINTRO is well
done, if I am, so tomorrow it may be obsolete houaaa ??? you tell me that I
have to use iup, but it does not include "GRID" management for example, unless
you consider that "NIM-lang" is only reserved for statistics and
I thank you for your work (nim-decimal) it is correct and helps me in my study,
I did more than 40 years of computer science (IBM) and this definition of
decimal was fundamental to treat project as part example, the bank, the
industrial management, or simply the billing of Renault the problem of
I use a Nim-decimal library of IBM origin ... it is licensed apache, is that
why we do not see it in the directory "directorie" is a fundamental lib to
make treatment in Business Management I came there by chance, I was almost to
tell me to do my own lib, and as I'm still too new in "Nim" .
1 - 100 of 119 matches
Mail list logo