zdavkeos / gtkterm Goto Github PK
View Code? Open in Web Editor NEWGtkTerm Serial Terminal
License: GNU General Public License v3.0
GtkTerm Serial Terminal
License: GNU General Public License v3.0
(Migrated from FedoraHosted. Reported by 'mavati')
All is in the title... Could be interesting, when you want to use the serial port with another software, and then get back to gtkterm (without having to run it again, and losing all the current display !)
Really usefull, and available in hyperterminal ! ;-)
Could be added in the configuration menu (displaying "Close port" if port opened, displaying "Open port" if port closed). Else and later in a future toolbar ?
(Migrated from FedoraHosted. Reported by 'dcb')
I just ran static analysis tool "cppcheck" over the source code of gtkterm-0.99.7
It said
[term_config.c:1400]: (error) Resource leak: f
Source code is
f = fopen(cfg_file, "w");
Suggest call fclose before call to fopen.
(Migrated from FedoraHosted. Reported by 'arpi')
If a configuration is saved with the name of an existing configuration with only the lower/uppercase is different the configuration is saved additionally to the old one. After that the configuation file can not be read again by gtkterm and has to be adapted by hand.
Cause: term_config.c uses strcmp and parsecfg.c uses strcasecmp
Suggested solution: change in term_config.c so that lower-upper-case is ignored.
I changed the current GIT sources and compiled on Ubuntu 14.04 which solved the bug for me.
diff --git a/src/term_config.c b/src/term_config.c
index ae7a754..fd9cb28 100644
--- a/src/term_config.c
+++ b/src/term_config.c
@@ -762,7 +762,7 @@ void save_config(GtkDialog *Fenetre, gint id, GtkWidget *edit)for(i = 0; i < max; i++) {
if(!strcmp(config_name, cfgSectionNumberToName(i)))
if(!strcasecmp(config_name, cfgSectionNumberToName(i))) { GtkWidget *message_dialog; message_dialog = gtk_message_dialog_new_with_markup(GTK_WINDOW(Fenetre),
@@ -780,7 +780,7 @@ void save_config(GtkDialog *Fenetre, gint id, GtkWidget *edit)
NULL);if (gtk_dialog_run(GTK_DIALOG(message_dialog)) == GTK_RESPONSE_ACCEPT)
really_save_config(Fenetre, GTK_RESPONSE_ACCEPT, (gpointer)config_name);
really_save_config(Fenetre, GTK_RESPONSE_ACCEPT, (gpointer)cfgSectionNumberToName(i)); gtk_widget_destroy(message_dialog);
I am using Ubuntu 14.04 64-bit
GTKTerm version 0.99.7-rc1 (installed via software download GUI)
Whenever I try to copy and paste a long command into the terminal, it is truncated. It seems it is only capable of pasting in 64 characters at a time despite allowing me to enter as many characters by hand as I want at a time.
(Migrated from FedoraHosted. Reported by 'warmcat')
Recent minicom auto-reopens the serial device if it reappears... this would be a good thing to copy.
Nowadays a lot of serial devices are USB, and if you are developing the "other side", they are appearing and disappearing frequently.
It'd be cool (especially when combined with a /dev/serial/by-id address) if the gtkterm session stayed "nailed up".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.