Subject | Re: spreadsheet ergonomics |
From | Chris Ahlstrom |
Date | 04/02/2017 15:01 (04/02/2017 09:01) |
Message-ID | <obqsv7$3rv$2@dont-email.me> |
Client | |
Newsgroups | comp.os.linux.advocacy |
Follows | owl |
Followups | owl (7h & 40m) |
owlCool stuff. I wonder if one can use Put function to write data to stdout, redirected to a named pipe (created by mkfifo) that the other instance(s) of sc would read from.
Chris Ahlstrom <OFeem1987@teleworm.us>wrote:Chris Ahlstromowl
owl wrote this copyrighted missive and expects royalties:owlChris Ahlstrom
https://vid.me/UgNo
Spread your work out how you want it with sc. There are two views of the main sheet (green), and two sets (yellow and blue) of other sheets. Data enterened into any of the auxilliary sheets gets totaled and sent to the main sheet.
Pretty cool. I assume you're using pipes to communicate between the sc's?
Sort of. I use @ext() mostly along with an update script that sends "@" to the window.
Example:
In main.sc, you might have
let F9 = @ston(@ext("sc -Wb16:b16 /home/anon/code/sc/otherin3.sc 2>/dev/null",0))
Then in the update script, there would be:
xdotool type --window <windowid>"@"
where <windowid>is the window id of the xterm running the main.sc
You can get the window id like this (the sleep is usually necessary, and varies with load time for whatever app):
anon@lowtide:~/code/sc$ cat testy #!/bin/bash xterm -title boo & sleep .25 windowid=$(xwininfo -tree -root |grep boo |awk '{print $1}') echo ${windowid} anon@lowtide:~/code/sc$Chris Ahlstromowl
Here's an interestic fork of sc:
https://github.com/andmarti1424/sc-im
I tried out one fork of sc (not sure if that was it) and it turned out to be really buggy. I do like the idea that people are adding features to this great program.