Re: [gentoo-user] terminal spreadsheet - sc fork
On Sun, Nov 02, 2014 at 08:16:30PM -0300, Andrés Martinelli wrote Hello there!! I am working on a terminal spreadsheet based on sc, but with some adds like undo/redo.. you can find it here: https://github.com/andmarti1424/scim Any new ideas and/or contribution is always welcome! Thanks! git newbie alert. I'm not a programmer. I Googled for instructions, built git, cloned the scim repo, read the instructions, changed one line in Makefile... prefix=/home/waltdnes/.local ...so that if things went wrong, it wouldn't clobber root. I ran make. I got the familiar gcc screens of text output. But there's nothing installed in ~/.local. Should there be a make install command somewhere? -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [gentoo-user] terminal spreadsheet - sc fork
Hello! Could you please attach the complete make output?? El 04/11/2014, a las 08:36, Walter Dnes waltd...@waltdnes.org escribió: On Sun, Nov 02, 2014 at 08:16:30PM -0300, Andrés Martinelli wrote Hello there!! I am working on a terminal spreadsheet based on sc, but with some adds like undo/redo.. you can find it here: https://github.com/andmarti1424/scim Any new ideas and/or contribution is always welcome! Thanks! git newbie alert. I'm not a programmer. I Googled for instructions, built git, cloned the scim repo, read the instructions, changed one line in Makefile... prefix=/home/waltdnes/.local ...so that if things went wrong, it wouldn't clobber root. I ran make. I got the familiar gcc screens of text output. But there's nothing installed in ~/.local. Should there be a make install command somewhere? -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [gentoo-user] terminal spreadsheet - sc fork
On 11/04/2014 06:36 AM, Walter Dnes wrote: On Sun, Nov 02, 2014 at 08:16:30PM -0300, Andrés Martinelli wrote Hello there!! I am working on a terminal spreadsheet based on sc, but with some adds like undo/redo.. you can find it here: https://github.com/andmarti1424/scim Any new ideas and/or contribution is always welcome! Thanks! git newbie alert. I'm not a programmer. I Googled for instructions, built git, cloned the scim repo, read the instructions, changed one line in Makefile... prefix=/home/waltdnes/.local ...so that if things went wrong, it wouldn't clobber root. I ran make. I got the familiar gcc screens of text output. But there's nothing installed in ~/.local. Should there be a make install command somewhere? There's actually no 'install' command in the Makefile. You should be able to run it by executing the 'scim' binary in src/. It doesn't create any of its own libraries or anything, so you should be able to run the standalone binary anywhere without needing to install; if you would like to install it to your ~/.local, a simple cp src/scim ~/.local/bin/scim should suffice. Alec
Re: [gentoo-user] terminal spreadsheet - sc fork
On 11/02/2014 06:16 PM, Andrés Martinelli wrote: Hello there!! I am working on a terminal spreadsheet based on sc, but with some adds like undo/redo.. you can find it here: https://github.com/andmarti1424/scim Any new ideas and/or contribution is always welcome! Thanks! -- Andrés M. If I can offer some constructive criticism based on my short experience helping Walter: * Your build process could use some work; you shouldn't be hard-coding variable values like LN and CC in a Makefile, these are handled by make. Your Makefile could be shortened by ~150 lines by relying on built-in rules and using some built-in make expressions to list your source files as well. * A bunch of your .c or .h files are marked as executable... why? * No install command. Not really a huge deal as only one important file is produced (src/scim), but would be nice to have If you're unfamiliar with make and have no immediate plans to switch to either the autotools or cmake, I would be more than willing to make some changes to your Makefile and open a pull request. If you would like to email me personally with questions about make, feel free to do that as well. There are a couple things I saw in the code as well: * system(echo -n 'Press enter to return.') * Lot of ignored return values on functions that you should check, like write() and fgets() If these were in the sc code and you know about them but just haven't gotten to fixing them yet, no worries. Alec
Re: [gentoo-user] terminal spreadsheet - sc fork
Hello! Please feel free to modify the Makefile and open a pull request! What you mention about return values not checked, I believe they are part of sc, but please specify them if you can, since there's still a lot of sc for modify. Thanks! Andrés M. 2014-11-04 10:23 GMT-03:00 Alec Ten Harmsel a...@alectenharmsel.com: On 11/02/2014 06:16 PM, Andrés Martinelli wrote: Hello there!! I am working on a terminal spreadsheet based on sc, but with some adds like undo/redo.. you can find it here: https://github.com/andmarti1424/scim Any new ideas and/or contribution is always welcome! Thanks! -- Andrés M. If I can offer some constructive criticism based on my short experience helping Walter: * Your build process could use some work; you shouldn't be hard-coding variable values like LN and CC in a Makefile, these are handled by make. Your Makefile could be shortened by ~150 lines by relying on built-in rules and using some built-in make expressions to list your source files as well. * A bunch of your .c or .h files are marked as executable... why? * No install command. Not really a huge deal as only one important file is produced (src/scim), but would be nice to have If you're unfamiliar with make and have no immediate plans to switch to either the autotools or cmake, I would be more than willing to make some changes to your Makefile and open a pull request. If you would like to email me personally with questions about make, feel free to do that as well. There are a couple things I saw in the code as well: * system(echo -n 'Press enter to return.') * Lot of ignored return values on functions that you should check, like write() and fgets() If these were in the sc code and you know about them but just haven't gotten to fixing them yet, no worries. Alec -- Andrés Martinelli
Re: [gentoo-user] terminal spreadsheet - sc fork
Hi, I'm interested in this project, so I have some considerations: I found that already exist a project called scim (wikipedia.org/wiki/Smart_Common_Input_Method) so you might have problems in the future related to the name. And second, something I care, is about file formats. I never used sc, so I don't know wich file format it saves. But I would like to see SCIM (if it doesn't already) saving files in a way I can open in other softwares. Wikipedia showed me that CSV is the most accepted format, and it is very simple. Regards -- Henrique Lengler https://gitorious.org/~henriqueleng Skype: No way! That's nonfree (freedom-denying) software. Wanna talk with me? Ask me for my TOX ID.
Re: [gentoo-user] terminal spreadsheet - sc fork
Yes. Saving in CSV format is the next to be cleaned from sc and reimplemented! 2014-11-04 13:30 GMT-03:00 Henrique Lengler henriquel...@openmailbox.org: Hi, I'm interested in this project, so I have some considerations: I found that already exist a project called scim (wikipedia.org/wiki/Smart_Common_Input_Method) so you might have problems in the future related to the name. And second, something I care, is about file formats. I never used sc, so I don't know wich file format it saves. But I would like to see SCIM (if it doesn't already) saving files in a way I can open in other softwares. Wikipedia showed me that CSV is the most accepted format, and it is very simple. Regards -- Henrique Lengler https://gitorious.org/~henriqueleng Skype: No way! That's nonfree (freedom-denying) software. Wanna talk with me? Ask me for my TOX ID. -- Andrés Martinelli
Re: [gentoo-user] terminal spreadsheet - sc fork
On Tue, Nov 04, 2014 at 07:57:01AM -0500, Alec Ten Harmsel wrote There's actually no 'install' command in the Makefile. You should be able to run it by executing the 'scim' binary in src/. It doesn't create any of its own libraries or anything, so you should be able to run the standalone binary anywhere without needing to install; if you would like to install it to your ~/.local, a simple cp src/scim ~/.local/bin/scim should suffice. Actually, what I did was... cd ~/bin ln -s ../scim/src/scim scim This way, I'll always be invoking the latest version. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [gentoo-user] terminal spreadsheet - sc fork
On Tue, Nov 04, 2014 at 08:39:56AM -0300, Andrés Martinelli wrote Hello! Could you please attach the complete make output?? As others have pointed out, the scim executable exists in scim/src, and it does run. Anyhow, here is the gzipped output of make /dev/shm/makelog.txt 21 -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications makelog.txt.gz Description: Binary data
Re: [gentoo-user] terminal spreadsheet - sc fork
2014-11-03 7:16 GMT+08:00 Andrés Martinelli andma...@gmail.com: Hello there!! I am working on a terminal spreadsheet based on sc, but with some adds like undo/redo.. you can find it here: https://github.com/andmarti1424/scim Any new ideas and/or contribution is always welcome! Thanks! FYI: the package name collides with an IME framework (albeit largely displaced by ibus and fcitx in recent years). I, as a Chinese user, briefly wondered how you can transform an IME library into a spreadsheet app! :-D
[gentoo-user] terminal spreadsheet - sc fork
Hello there!! I am working on a terminal spreadsheet based on sc, but with some adds like undo/redo.. you can find it here: https://github.com/andmarti1424/scim Any new ideas and/or contribution is always welcome! Thanks! -- Andrés M.