I've got an aix-box somewhere on the network and a PC on my desk. Nothing fancy so far.
The PC is made dual-boot:
- windowsXP with putty & winSCP
or
- slackware 13 with xfce4 installed.
The aix-box runs DB2 v8.2 and I've installed db2top to monitor the database.
db2top is a character based app (like top) and can display a lot of usefull information in a nice way.
So I try to figure out how I can present this info on my screen
1) linux character based (tty1, tty2, etc): Just ssh to aix and start you app. Does not work because aix is not aquinted with "TERM=linux". So you overrule this by typing "export TERM=dtterm" and all is good: nice colors and nice line-draws.
When you start GNU-screen first and then ssh to aix, you font is suddenly not able anymore to display lines. Strange...
2) linux grahical: on your xfce desktop you start Terminal (the standard xfce4 term app) and ssh to aix.
Now you do not get your colors (TERM=xterm) so you try TERM=dtterm. Now you do not get your lines drawn (same as GNU-screen mentioned earlier)
The next option is "TERM=aixterm" That looks better:
Colors? Yes!
Lines? Yes!
Perfect? No! The lines are not aligned.... A screen-row with a line starting on a position > 1 is aligned right.
Windows+putty give the same results as xfce-terminal: not perfect.
I thought that installing linux on my desktop would give me a perfect user-interface to my aix-boxes.
Was I too optimistic?
Anyone has experience or study with Text User Interface and Curses::UI using Perl?
- What is the criteria to decide which method is better for a console based UI?
- Which DTL (dialog tag language) is supported by these?
The background is that I want to write a wrapper over some UNIX tools... (0 Replies)
I want to print only the lines that meet the criteria : "worde:" and "wordo;"
I got this far:
sed -n '/\(*\)\1e:\1o;/p;'
But it doesn't quite work.
Can someone please perfect it and tell me exactly how its a fixed version/what was wrong with mine?
Thanks heaps, (1 Reply)
Hi,
I have written a shell script that does the job of downloading a build file and upgrading a application on my test linux system.
This shell is a interactive script where the user needs to enter certain info like the remote system on which the upgrade has to be performed and the build number... (2 Replies)
Hi all
I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface?
If you have any ideas, please tell me then. Thank you (2 Replies)
I have to create a user interface in which user can easily update ,delete or insert a new record which is pointing to a file in AIX Server?
Using awk,sed ican update ,modify the file.
how to create a link to userlike GUI(without using Tomcat,IIS) (3 Replies)
XFCE4-DICT(1)XFCE4-DICT(1)NAME
xfce4-dict -- a client program to query different dictionaries
SYNOPSIS
xfce4-dict [option] [text ...]
DESCRIPTION
xfce4-dict allows you to search different kinds of dictionary services for words or phrases and shows you the result. Currently you can
query a "Dict" server(RFC 2229), any online dictionary service by opening a web browser or search for words using a spell check program
like aspell, ispell or enchant.
Homepage: http://goodies.xfce.org/projects/applications/xfce4-dict
OPTIONS
If called without any arguments, the xfce4-dict main window is shown. Any passed text argument(s) are used as search text.
-d, --dict
Search the given text using a Dict server(RFC 2229).
-w, --web Search the given text using a web-based search engine.
-t, --text-field
Grab the focus on the text field in the panel (has no effect if panel plugin is not loaded).
-s, --spell
Check the given text with a spellchecker.
-i, --ignore-plugin
Start stand-alone application even if the panel plugin is loaded.
-c, --clipboard
Grabs the PRIMARY selection content (X selection clipboard), uses it as search text and performs a search. This is useful when
you want to create keyboard shortcuts for this command. The search method can be specified with the -d, -w and -s options, if
not specified the default search method is used. If the PRIMARY clipboard doesn't contain any text, the normal clipboard is
used.
-v, --verbose
Be verbose (print useful status messages).
-V, --version
Show version information.
-?, --help
Show help information and exit.
xfce4-dict supports all generic GTK options, a list is available on the help screen.
BUGS
There is a limitation of max. 12 characters in passing a search term to xfce4-dict when the panel plugin is loaded. That is, if you pass a
search term as command line argument(s) to xfce4-dict which is longer than 12 characters, it is truncated. To be exact, the limit is 12
bytes so if the search term contains any non-ASCII characters it might be even less than 12 characters. To work around this limitation,
you can add the command line '-i' so that xfce4-dict will start a single stand-alone application. Then all passed text is used as search
term.
AUTHOR
This manual page was written by Enrico Troeger. Permission is granted to copy, distribute and/or modify this document under the terms of
the GNU General Public License, Version 2, or (at your option) any later version.
xfce4-dict 0.6.0 December 31, 2009 XFCE4-DICT(1)