Hello,
new to geany and the list. I have 3 questions about the terminal:
-1- settings It does not take at startup the appearance settings: I need to go preferences and "apply".
-2- length It seems the terminal has a very short capacity. Usually the output of my progs are truncated (I get only the end). Is there a way to set this parameter?
-3- restart How to restart the terminal automatically on run -- so that hte terminal holds only the output of last run? Otherwise I have to restart it (with context menu) before each trial.
Thank you, denis
------ la vida e estranya
On Tue, 13 Jan 2009 12:23:00 +0100, spir denis.spir@free.fr wrote:
Hello,
new to geany and the list. I have 3 questions about the terminal:
Welcome!
-1- settings It does not take at startup the appearance settings: I need to go preferences and "apply".
Uh, what version of Geany and libvte are you using? I hoped we eliminated those kinds of bugs :(.
-2- length It seems the terminal has a very short capacity. Usually the output of my progs are truncated (I get only the end). Is there a way to set this parameter?
Check the setting "Scrollback Lines" in the preferences dialog, VTE tab. This defines the amount of lines which can be scrolled in the terminal.
-3- restart How to restart the terminal automatically on run -- so that hte terminal holds only the output of last run? Otherwise I have to restart it (with context menu) before each trial.
Hmm, the only solution I can think of is to change the Run command from: "./%e" to clear && "./%e"
(Above example is for filetype C, the idea is to simply prepend the Run command with 'clear &&'.) But this is not very nice and need to be done for every filetype you want to execute.
Regards, Enrico
Le Wed, 14 Jan 2009 18:18:01 +0100, Enrico Tröger enrico.troeger@uvena.de a écrit :
On Tue, 13 Jan 2009 12:23:00 +0100, spir denis.spir@free.fr wrote:
Hello,
new to geany and the list. I have 3 questions about the terminal:
Welcome!
-1- settings It does not take at startup the appearance settings: I need to go preferences and "apply".
Uh, what version of Geany and libvte are you using? I hoped we eliminated those kinds of bugs :(.
I have geany 0.13, which is the default version delivered with ubuntu 8.04. Actually, the intalled version is called 0.13-0ubuntu1, so I suspect there is some modif to let it comply with the distribution. When I try to install geany 0.15, I get the following from ./configure: configure:2990: error: C compiler cannot create executables The last line of config.log is: configure: exit 77
-2- length It seems the terminal has a very short capacity. Usually the output of my progs are truncated (I get only the end). Is there a way to set this parameter?
Check the setting "Scrollback Lines" in the preferences dialog, VTE tab. This defines the amount of lines which can be scrolled in the terminal.
Right, thank -- hadn't noticed that.
-3- restart How to restart the terminal automatically on run -- so that hte terminal holds only the output of last run? Otherwise I have to restart it (with context menu) before each trial.
Hmm, the only solution I can think of is to change the Run command from: "./%e" to clear && "./%e"
(Above example is for filetype C, the idea is to simply prepend the Run command with 'clear &&'.) But this is not very nice and need to be done for every filetype you want to execute.
I use it only for python. <<clear && python "%f">> works fine, thank you.
Regards, Enrico
Thanks again, Denis
------ la vida e estranya
Le Thu, 15 Jan 2009 11:20:09 +0100, spir denis.spir@free.fr a écrit :
Le Wed, 14 Jan 2009 18:18:01 +0100, Enrico Tröger enrico.troeger@uvena.de a écrit :
On Tue, 13 Jan 2009 12:23:00 +0100, spir denis.spir@free.fr wrote:
Hello,
new to geany and the list. I have 3 questions about the terminal:
Welcome!
-1- settings It does not take at startup the appearance settings: I need to go preferences and "apply".
Uh, what version of Geany and libvte are you using? I hoped we eliminated those kinds of bugs :(.
I have geany 0.13, which is the default version delivered with ubuntu 8.04. Actually, the intalled version is called 0.13-0ubuntu1, so I suspect there is some modif to let it comply with the distribution. When I try to install geany 0.15, I get the following from ./configure: configure:2990: error: C compiler cannot create executables The last line of config.log is: configure: exit 77
-2- length It seems the terminal has a very short capacity. Usually the output of my progs are truncated (I get only the end). Is there a way to set this parameter?
Check the setting "Scrollback Lines" in the preferences dialog, VTE tab. This defines the amount of lines which can be scrolled in the terminal.
Right, thank -- hadn't noticed that.
-3- restart How to restart the terminal automatically on run -- so that hte terminal holds only the output of last run? Otherwise I have to restart it (with context menu) before each trial.
Hmm, the only solution I can think of is to change the Run command from: "./%e" to clear && "./%e"
(Above example is for filetype C, the idea is to simply prepend the Run command with 'clear &&'.) But this is not very nice and need to be done for every filetype you want to execute.
I use it only for python. <<clear && python "%f">> works fine, thank you.
Hem. It has worked fine at start, clearing the terminal (including last prompt command line) before writing prog output. Now, it does not clear the terminal, writes 14 blank lines instead, before prog output. I would loves to help more, but am a bit allergic to C code (to complicated for my little head).
Denis
------ la vida e estranya
On Thu, 15 Jan 2009 12:37:12 +0100, spir denis.spir@free.fr wrote:
-3- restart How to restart the terminal automatically on run -- so that hte terminal holds only the output of last run? Otherwise I have to restart it (with context menu) before each trial.
Hmm, the only solution I can think of is to change the Run command from: "./%e" to clear && "./%e"
(Above example is for filetype C, the idea is to simply prepend the Run command with 'clear &&'.) But this is not very nice and need to be done for every filetype you want to execute.
I use it only for python. <<clear && python "%f">> works fine, thank you.
Hem. It has worked fine at start, clearing the terminal (including last prompt command line) before writing prog output. Now, it does not clear the terminal, writes 14 blank lines instead, before prog output. I would loves to help more, but am a bit allergic to C code (to complicated for my little head).
Not sure what's going on there but it seems unrelated to Geany itself. It might be a bug in libvte or your shell or whatever. Or it is related to Geany but might be already fixed in newer versions. Geany 0.13 is just too old, please try to upgrade.
Regards, Enrico
On Thu, 15 Jan 2009 11:20:09 +0100, spir denis.spir@free.fr wrote:
-1- settings It does not take at startup the appearance settings: I need to go preferences and "apply".
Uh, what version of Geany and libvte are you using? I hoped we eliminated those kinds of bugs :(.
I have geany 0.13, which is the default version delivered with ubuntu
And very old, as well as Ubuntu 8.04. You can get Geany 0.14 from www.getdeb.net. Or even better update your system to 8.10...:)
8.04. Actually, the intalled version is called 0.13-0ubuntu1, so I suspect there is some modif to let it comply with the distribution. When I try to install geany 0.15, I get the following from ./configure: configure:2990: error: C compiler cannot create executables The last line of config.log is: configure: exit 77
The related error message appears earlier in config.log, either search for it or attach your config.log to a response to this mail (or upload it somewhere). Anyway, this seems like you are missing some development packages on your system. Try running: sudo apt-get build-dep geany
and then ./configure again. 'apt-get build-dep geany' will install all necessary packages you need to build Geany from source.
Regards, Enrico
Le Thu, 15 Jan 2009 17:18:08 +0100, Enrico Tröger enrico.troeger@uvena.de a écrit :
On Thu, 15 Jan 2009 11:20:09 +0100, spir denis.spir@free.fr wrote:
-1- settings It does not take at startup the appearance settings: I need to go preferences and "apply".
Uh, what version of Geany and libvte are you using? I hoped we eliminated those kinds of bugs :(.
I have geany 0.13, which is the default version delivered with ubuntu
And very old, as well as Ubuntu 8.04. You can get Geany 0.14 from www.getdeb.net. Or even better update your system to 8.10...:)
8.04. Actually, the intalled version is called 0.13-0ubuntu1, so I suspect there is some modif to let it comply with the distribution. When I try to install geany 0.15, I get the following from ./configure: configure:2990: error: C compiler cannot create executables The last line of config.log is: configure: exit 77
The related error message appears earlier in config.log, either search for it or attach your config.log to a response to this mail (or upload it somewhere). Anyway, this seems like you are missing some development packages on your system. Try running: sudo apt-get build-dep geany
and then ./configure again. 'apt-get build-dep geany' will install all necessary packages you need to build Geany from source.
You were right about build dependances. I could install geany 0.15 properly. Now, I will check whether terminal cleaning before run works fine.
Thanks, denis
Regards, Enrico
------ la vida e estranya
On Thu, 15 Jan 2009 19:31:24 +0100, spir denis.spir@free.fr wrote:
Le Thu, 15 Jan 2009 17:18:08 +0100, Enrico Tröger enrico.troeger@uvena.de a écrit :
On Thu, 15 Jan 2009 11:20:09 +0100, spir denis.spir@free.fr wrote:
-1- settings It does not take at startup the appearance settings: I need to go preferences and "apply".
Uh, what version of Geany and libvte are you using? I hoped we eliminated those kinds of bugs :(.
I have geany 0.13, which is the default version delivered with ubuntu
And very old, as well as Ubuntu 8.04. You can get Geany 0.14 from www.getdeb.net. Or even better update your system to 8.10...:)
8.04. Actually, the intalled version is called 0.13-0ubuntu1, so I suspect there is some modif to let it comply with the distribution. When I try to install geany 0.15, I get the following from ./configure: configure:2990: error: C compiler cannot create executables The last line of config.log is: configure: exit 77
The related error message appears earlier in config.log, either search for it or attach your config.log to a response to this mail (or upload it somewhere). Anyway, this seems like you are missing some development packages on your system. Try running: sudo apt-get build-dep geany
and then ./configure again. 'apt-get build-dep geany' will install all necessary packages you need to build Geany from source.
You were right about build dependances. I could install geany 0.15 properly. Now, I will check whether terminal cleaning before run works fine.
Any results?
Regards, Enrico
Le Sat, 17 Jan 2009 17:02:17 +0100, Enrico Tröger enrico.troeger@uvena.de a écrit :
On Thu, 15 Jan 2009 19:31:24 +0100, spir denis.spir@free.fr wrote:
Le Thu, 15 Jan 2009 17:18:08 +0100, Enrico Tröger enrico.troeger@uvena.de a écrit :
On Thu, 15 Jan 2009 11:20:09 +0100, spir denis.spir@free.fr wrote:
-1- settings It does not take at startup the appearance settings: I need to go preferences and "apply".
Uh, what version of Geany and libvte are you using? I hoped we eliminated those kinds of bugs :(.
I have geany 0.13, which is the default version delivered with ubuntu
And very old, as well as Ubuntu 8.04. You can get Geany 0.14 from www.getdeb.net. Or even better update your system to 8.10...:)
8.04. Actually, the intalled version is called 0.13-0ubuntu1, so I suspect there is some modif to let it comply with the distribution. When I try to install geany 0.15, I get the following from ./configure: configure:2990: error: C compiler cannot create executables The last line of config.log is: configure: exit 77
The related error message appears earlier in config.log, either search for it or attach your config.log to a response to this mail (or upload it somewhere). Anyway, this seems like you are missing some development packages on your system. Try running: sudo apt-get build-dep geany
and then ./configure again. 'apt-get build-dep geany' will install all necessary packages you need to build Geany from source.
You were right about build dependances. I could install geany 0.15 properly. Now, I will check whether terminal cleaning before run works fine.
Any results?
All works fine, except for clearing the terminal before running.
clear && python "%f"
as "execution command" (? not sure of the proper words, I have geany speaking french) does not do the job, but is explicitely written instead Example of a session with two sucessive runs (it's a prototype of a custom config parser):
=== result tree: config section header:c bloc bond_line str:d str:31 bond_line str:e str:32 === config: (c:(e:32 d:31)) === config tree: <card> c: e:32 d:31 ********* end of previous run *********************************** spir@o:~/prog/ospyp/samples$ clear && python "simplest_indent.py"
item section:[header:c bloc:[link_line:[d 31] link_line:[e 32]]] section-- header bloc: c [link_line:[d 31] link_line:[e 32]] item link_line:[d 31] link-- name value: d 31 item link_line:[e 32] link-- name value: e 3
Regards, Enrico
Thank you for your extensive answer about search & replace. Denis
PS: I may help for the french translation if ever there is a need. [Auch falls die Ursprache Deutsch ist.] (denis dot spir at free dot fr)
------ la vida e estranya
On Sat, 17 Jan 2009 20:00:51 +0100, spir denis.spir@free.fr wrote:
Hey,
You were right about build dependances. I could install geany 0.15 properly. Now, I will check whether terminal cleaning before run works fine.
Any results?
All works fine, except for clearing the terminal before running.
clear && python "%f"
as "execution command" (? not sure of the proper words, I have geany
It's Run command but doesn't matter at all :).
speaking french) does not do the job, but is explicitely written instead Example of a session with two sucessive runs (it's a prototype of a custom config parser):
Hmm, I can't reproduce this. I also used clear && python "%f" as Run command and it works as expected. Maybe your problem is related to libvte (the library which provides the terminal widget). I'm using Debian's libvte 0.16.14 ad this works pretty fine. Maybe you are using an older version (there were some bugs fixed in 0.16.14). Otherwise, I'm not sure what could be wrong.
PS: I may help for the french translation if ever there is a need.
According to http://i18n.geany.org/, the French translation is in a good shape but anyway, updates won't hurt :). I suggest to talk to Frank and/or Jean-Philippe Moal for further details.
Regards, Enrico