openbsd-ports/x11/gnome/moserial/patches/patch-src_SettingsDialog_c
jasper af530959b2 import moserial 2.32.1
moserial is a clean, friendly gtk-based serial terminal for the gnome
desktop. It is written in Vala for extra goodness.

 - ASCII and HEX views of incoming and outgoing data
 - Logging to file of incoming and/or outgoing data
 - Support for x, y, and z-modem file send and receive
 - Support for profile files, to load/save common configurations
 - Easier to use than the alternatives
 - Supports i18n

feedback/ok aja@
2011-07-04 10:00:38 +00:00

18 lines
792 B
Plaintext

$OpenBSD: patch-src_SettingsDialog_c,v 1.1.1.1 2011/07/04 10:00:38 jasper Exp $
Remove Linux device names in favor of what BSD uses.
--- src/SettingsDialog.c.orig Thu May 19 17:13:24 2011
+++ src/SettingsDialog.c Sat Jul 2 15:45:16 2011
@@ -178,8 +178,8 @@ static void moserial_settings_dialog_populateDevices (
GtkTreeIter iter = {0};
g_return_if_fail (self != NULL);
deviceTypes = NULL;
- deviceTypes = g_list_append (deviceTypes, g_strdup ("/dev/ttyS"));
- deviceTypes = g_list_append (deviceTypes, g_strdup ("/dev/ttyUSB"));
+ deviceTypes = g_list_append (deviceTypes, g_strdup ("/dev/cua0"));
+ deviceTypes = g_list_append (deviceTypes, g_strdup ("/dev/cuaU"));
deviceTypes = g_list_append (deviceTypes, g_strdup ("/dev/rfcomm"));
gtk_list_store_clear (self->priv->ls);
{