Sponsored Content
Operating Systems Linux GUI for a Linux router - WWW or ncurses Dialog ? Post 302303000 by jack2 on Wednesday 1st of April 2009 03:07:51 PM
Old 04-01-2009
GUI for a Linux router - WWW or ncurses Dialog ?

Hi,

Linux router is my only "full" Linux application.
I native compiled and installed Linux Unix dialog utility.
Dialog comes with a limited set of objects, called widgets.
Some work fine, some need improvements.

But what I really need is graphical interface to shell scripts run on my Linux machine (no monitor).

I can connect to my Linux with putty in telnet session
and can run installed applications.

Some examples from dialog get flicked on data refresh
but I need flick-free graphical interface (full screen)
to let me enter some data , parameters to a modem
and get response, some transfer statistics and the like.

MDMA application is a good example.

I get used to write some basic programs with GUI, using Visual Basic,
and its form + objects I put on a form, set attributes,
wrote some code and got application working.

In my case I am not looking for client side application,
just ncurses based dialog widgets with some more options to let
me design nice graphical interface, full screen.

I can use some dialog widgets, trying to stick them together
but a number of options is not great (about 15 objects)
and each object is pure graphics, as no multithreading, multiprocessing.

So I planned to loop widgets with new parameters entered
to get some data refresh feature, like in VB.

Unfortunately refresh time is 1 s min.
so flickering is seen.

So please tell me about another basic flicker-free GUI solution to work with my Linux over putty.

I will attach some dialog widgets code asking for advice, if it is possible
to build a new widgets in due time, or a task is far too complicated for me.

Another solution is www interface, but I need GUI to refresh data
in flicker-free mode.

Jack
 

3 More Discussions You Might Find Interesting

1. IP Networking

accessing WWW from non GUI terminal

how would I go about accessing the internet from a regular non-gui terminal.... . would I have to configure the settings or is there an application or uitliity that I can use that will do this..?? than in advance moxxx68 (2 Replies)
Discussion started by: moxxx68
2 Replies

2. Shell Programming and Scripting

Unix / Linux Dialog Utility - how to open 2+ more dialog windows ?

Hi, example of Unix / Linux dialog utility is below. I am going to use dialog as simple GUI for testing of a modem. So I need to combine some dialog boxes into one. I need to have input box, output box, info box, dialog box, radiobox as in any standard program with graphical user... (2 Replies)
Discussion started by: jack2
2 Replies

3. UNIX for Advanced & Expert Users

How to control remotely "full" Linux router in GUI ?

Hi, I mean Unix Linux general solution, so please don't move my question, as it's Unix specific. I would like to remotely control my "full" Linux router. Already succeeded to compile Linux Unix dialog, running some tests. The issue is dialog comes with a limited number of widget boxes for... (4 Replies)
Discussion started by: jack2
4 Replies
Popup(3)						User Contributed Perl Documentation						  Popup(3)

NAME
Tk::Wm::Popup - popup dialog windows. SYNOPSIS
$dialog->Popup(qw/ -popover => 'cursor' | $widget | undef, -overanchor => c | n | ne | e | se | s | sw | w | nw, -popanchor => c | n | ne | e | se | s | sw | w | nw, /); DESCRIPTION
You've probably had occasion to use a Dialog (or DialogBox) widget. These widgets are derived from a Toplevel (which is a subclass of Tk::Wm, the window manager) and spend most of their time in a withdrawn state. It's also common to use Toplevels as containers for custom built popup windows. Menus, too, are dialogs derived from the window manager class. For this discussion, we'll use the simple term dialog to refer any widget that pops up and awaits user interaction, whether it be a Menu, a special purpose Toplevel, or any of the dialog-type widgets, including, but not limited to, ColorEditor, Dialog, DialogBox, ErrorDialog, FileSelect, FBox, getOpenFile and getSaveFile. When it's time to display these dialogs, we call the Perl/Tk window manager Popup method. Popup accepts three special purpose options that specify placement information in high-level terms rather than numerical coordinates. It is Popup's responsibility to take our human specifications and turn them into actual screen coordinates before displaying the dialog. We can direct the dialog to appear in two general locations, either over another window (e.g. the root window (screen) or a particular widget), or over the cursor. This is called the popover location. Once we've made this decision we can further refine the exact placement of the dialog relative to the popover location by specifying the intersection of two anchor points. The popanchor point is associated with the dialog and the overanchor point is associated with the popover location (whether it be a window or the cursor). The point where the two anchor points coincide is the popup locus. Anchor points are string values and can be c (for center), or any of the eight cardinal compass points: n, ne, e, se, s, sw, w or nw. For example, if -popover specifies a widget, -popanchor is sw, and -overanchor is ne, the the dialog's southwest corner pops up at the widget's northeast corner. OPTIONS
The options recognized by Popup are as follows: -popover Specifies whether the dialog "pops over" a window or the cursor. It may be the string cursor, a widget reference, or undef for the root window. -popanchor Specifies the anchor point of the dialog. For instance, if e is specified, the right side of the dialog is the anchor. -overanchor Specifies where the dialog should anchor relative to the popover location. For instance, if e is specified the dialog appears over the right side of the popover location and if it's ne the the dialog is positioned at the upper-right corner of the popover location. AUTHOR
Nick Ing-Simmons, Steve Lidie This code is distributed under the same terms as Perl. perl v5.16.3 2014-06-10 Popup(3)
All times are GMT -4. The time now is 06:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy