| RDi | MiWorkplace | ILEditor | IBMiCmd | VSCode | Orion | SEU/ADTS | |
|---|---|---|---|---|---|---|---|
| Run on Mac/Linux | x | x | x | x | x | ||
| File System Explorer | x | x | x | x | x | ||
| Compile From Editor | x | x | x | x | x | ||
| Integrated Debugger | x | x | x | ||||
| Edit IFS Files | x | x | x | x | x | x | |
| Edit SRCPF Members | x | x | x | x | x |
This is a dumping ground for notes on adding IBM i (#IBM) native support for xterm and other termcap/nscurses supported terminals.
$ infocmp
xterm-256color|xterm with 256 colors, am, bce, ccc, km, mc5i, mir, msgr, npc, xenl, colors#256, cols#80, it#8, lines#24, pairs#32767, acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=^M,
**** semantic_markup_options for as500:
I'm on a quest for a replacement for UIM source. It's old & ugly & has little tool support. A lightweight markup language seems like a good fit.
UIM refreshers (hastily put together): 1 https://hannagoodbar.com/posts/2017/01/prism-language-definition-for-ibm-uim-2017-version/ 2 https://blog.lightlyseared.online/2013/01/24/adding-help-text-to-cl-commands/ 3 https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_74/apis/uim1a.htm
| #Cross-platform file watcher. Originally forked from: | |
| #https://stackoverflow.com/questions/182197/how-do-i-watch-a-file-for-changes/49007649#49007649 | |
| import os | |
| import sys | |
| import time | |
| import importlib | |
| class Watcher(object): | |
| running = True | |
| refresh_delay_secs = 1 |
| #!/QOpenSys/usr/bin/ksh | |
| set -e | |
| export LC_ALL=C LANG=C | |
| OPENSSL=$(which openssl 2> /dev/null) | |
| if [ "$OPENSSL" = "" ] | |
| then | |
| echo "openssl not found" |
There 3 sources here.. the program, the stored proc wrapper, and a test script.
Program:
**FREE
// C-sytle printf API, to send messages to the joblog, etc.
// can be called either through normal RPG calls or as
// as stored procedure, since the indicator DS is ignored.
// I didn't create a copybook with the procedure interface however.
// right now I only care about the stored proc.
| #!/usr/bin/env python | |
| # | |
| # Copyright 2001 Google Inc. All Rights Reserved. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
| Ma and Pa Kuhlman keep a list of animals that live on their farm. | |
| They don't have good memories anymore, so if it's not on the list then it's probably been forgotten. | |
| Often busy, they don't get a chance to communicate right away, so each keeps a seperate list. | |
| They start with Dog, since loyal Fluffy is always at their feet. | |
| At the end of the first day, Ma's list has Dog & Cat. Pa's list has Dog. After staring at eachother for a while, | |
| they can't decide whether Ma discovered that they own a cat, or if Pa discovered that their cat had passed away. Neither one |