Skip to main content
news

Re: spreadsheet ergonomics

Chris Ahlstrom
SubjectRe: spreadsheet ergonomics
FromChris Ahlstrom
Date2017-04-02 15:01 (2017-04-02 09:01)
Message-ID<obqsv7$3rv$2@dont-email.me>
Client
Newsgroupscomp.os.linux.advocacy
Followsowl
Followupsowl (7h & 40m)

owl wrote this copyrighted missive and expects royalties:

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?

owl
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 Ahlstrom
Here's an interestic fork of sc:

https://github.com/andmarti1424/sc-im

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

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

Don't really have time to experiment right now, though.

-- "...The name of the song is called 'Haddocks' Eyes'!" "Oh, that's the name of the song, is it?" Alice said, trying to feel interested. "No, you don't understand," the Knight said, looking a little vexed. "That's what the name is called. The name really is, 'The Aged Aged Man.'" "Then I ought to have said "That's what the song is called'?" Alice corrected herself. "No, you oughtn't: that's quite another thing! The song is called 'Ways and Means': but that's only what it is called you know!" "Well, what is the song then?" said Alice, who was by this time completely bewildered. "I was coming to that," the Knight said. "The song really is "A-sitting on a Gate": and the tune's my own invention." -- Lewis Carroll, "Through the Looking Glass"

owl (7h & 40m)