Questions tagged [s-lang]

S-Lang is a library designed to allow cross-platform development. It includes features supporting screen display and user input, as well as an embedded interpreter that can be used to make a program extensible.

4 questions
3
votes
0 answers

jed in s-lang: always wrap long lines in all buffers

(NOTE: I don't have a high enough score here to create a jed tag on this question, even though it would be ideal to have that tag here.) I'm using the s-lang-based jed editor, and I want it to automatically wrap lines at the wrap column whenever jed…
HippoMan
  • 2,119
  • 2
  • 25
  • 48
2
votes
1 answer

Does SLsmg_Char_Type represent bytes of the screen?

Who has used the S-lang library - how the system used this structure? Does each byte of the screen is represented by this struct? I use the library newt and the last one used S-lang. typedef struct { unsigned int nchars; SLwchar_Type…
Maxim Gusev
  • 213
  • 3
  • 10
0
votes
0 answers

How to configure S-Lang (and ncurses) to read a1, c1, etc. keypad keys?

I want to be able to bind a1,c1,a3,etc. keys in Midnight Commander. However, the keys are not being treated specially when numlock is off – they should map to the given symbols ("a1",etc.) in the keymap file, however instead, they resolve to "home",…
psprint
  • 349
  • 1
  • 10
0
votes
1 answer

How do terminal multiplexers spoof keyboard input for S-Lang-based console apps?

I am experimenting with wrapping console applications into a synthetic environment like I though multiplexers do. But I've noticed that apps like mc (midnight commander) written with the use of S-Lang library are able to get partial keyboard state…
Grief
  • 1,839
  • 1
  • 21
  • 40