Skip to main content
news

Re: spreadsheet ergonomics

owl
SubjectRe: spreadsheet ergonomics
Fromowl
Date04/02/2017 07:00 (04/02/2017 05:00)
Message-ID<b90a.hz3oo@rooftop.invalid>
Client
Newsgroupscomp.os.linux.advocacy
FollowsChris Ahlstrom
FollowupsChris Ahlstrom (8h) > owl

Chris Ahlstrom <OFeem1987@teleworm.us>wrote:

Chris Ahlstrom
owl wrote this copyrighted missive and expects royalties:

owl
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.

Chris Ahlstrom
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$

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.