Package Details: cutecom-legacy 0.22.0-4

Git Clone URL: https://aur.archlinux.org/cutecom-legacy.git (read-only, click to copy)
Package Base: cutecom-legacy
Description: Old Cutecom, QT4 based, graphical serial terminal, with some improvements taken from patches not officially commited
Upstream URL: http://cutecom.sourceforge.net
Licenses: GPL2
Conflicts: cutecom, cutecom-patched
Submitter: danitool
Maintainer: danitool
Last Packager: danitool
Votes: 3
Popularity: 0.000000
First Submitted: 2016-12-10 18:53 (UTC)
Last Updated: 2016-12-10 18:53 (UTC)

Latest Comments

danitool commented on 2016-11-29 21:02 (UTC)

Thanks kowal for reporting this info. Probably I'll change the name of this package to cutecom-legacy. Since there is another AUR maintainer of cutecom, it makes more sense to update that package to the new QT5 based.

kowal commented on 2016-11-29 20:33 (UTC)

There is newer version of cutecom on github (repo seems to belong to the original author), here is the link: https://github.com/neundorf/CuteCom This version is ported to QT5 and contains most of the patches applied here (along with almost completely redone UI)

danitool commented on 2015-12-29 10:47 (UTC)

Thanks very much novotny. Fix committed.

novotny commented on 2015-12-28 23:59 (UTC) (edited on 2015-12-29 00:01 (UTC) by novotny)

ok, i lost my diff in my /tmp directory :-) so i hope redo it .. here is new 00-improvements.diff http://pastebin.ca/3306894

danitool commented on 2015-12-28 11:18 (UTC)

Hi novotny, looks like your patch got unformatted here, can you use pastebin for posting the patch?

novotny commented on 2015-12-27 23:38 (UTC) (edited on 2015-12-27 23:41 (UTC) by novotny)

Hello Can you please add this patch to 00-improvements.diff It fills device listbox from config, and then rescan devices, and add live devices. Then it unique and sort that list. it is very important for me, cause i use many devices that are not plugged int when i start cutecom. Unpatched cutecom have problems with "saving" device history, and your patch doesn't take care about AllDevices variable in config. it is my first patch ever :-) so i hope, it is right. diff -up 00-improvements.diff 00-improvements1.diff ********************************************************* --- 00-improvements.diff 2015-12-14 01:22:49.000000000 +0100 +++ 00-improvements1.diff 2015-12-28 00:34:27.403054613 +0100 @@ -905,17 +905,18 @@ int historyCount=m_oldCmdsLb->count(); if (historyCount>50) -@@ -346,12 +330,36 @@ +@@ -346,13 +331,41 @@ { resize(x,y); } + /* scan for modem devices */ - + - bool entryFound = settings.contains("/cutecom/AllDevices"); - QStringList devices=settings.value("/cutecom/AllDevices").toStringList(); - if (!entryFound) - { - devices<<"/dev/ttyS0"<<"/dev/ttyS1"<<"/dev/ttyS2"<<"/dev/ttyS3"; +- } + int n; + + QDir dir("/dev"); @@ -941,12 +942,17 @@ + QFileInfoList list = dir.entryInfoList(); + QStringList devices; + ++ bool entryFound = settings.contains("/cutecom/AllDevices"); ++ devices=settings.value("/cutecom/AllDevices").toStringList(); + for (n = 0; n != list.size(); n++) { -+ QFileInfo fileInfo = list.at(n); -+ devices << (QString("/dev/") + fileInfo.fileName()); - } - ++ QFileInfo fileInfo = list.at(n); ++ devices << (QString("/dev/") + fileInfo.fileName()); ++ } ++ devices.removeDuplicates(); ++ devices.sort(); + m_deviceCb->insertItems(0, devices); + @@ -381,6 +389,13 @@ void QCPPDialogImpl::sendFile() *********************************************************