9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file. But i am facing the below error.
#! /bin/sh
errExit ()
{
errMsg=`cat... (1 Reply)
Discussion started by: sarathy_a35
1 Replies
2. Solaris
I've installed Solaris 10 on P4 machine but, I don't like the current desktop e.g. CDE & JDS so I'd like to replace these with fvwm that comes from sunfreeware packages.
It's on /opt/sfw.
Please give me the steps to configure and run Xorg & fvwm as we do on Linux (with other wms). (8 Replies)
Discussion started by: vectrum
8 Replies
3. Solaris
I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet.
... (2 Replies)
Discussion started by: christr
2 Replies
4. UNIX for Dummies Questions & Answers
im kinda new to shell scripting so i need some help
i try to run this script and get the error code
> 5 ")syntax error: operand expected (error token is "
the code for the script is
#!/bin/sh
#
# script to see if the given value is correct
#
# Define errors
ER_AF=86 # Var is... (4 Replies)
Discussion started by: metal005
4 Replies
5. AIX
--------------------------------------------------------------------------------
Hello, help me please.
I am trying to create a mksysb bakup using nim. I am geting this error, how to correct it ? :
Command : failed stdout: yes stderr: no... (9 Replies)
Discussion started by: astjen
9 Replies
6. UNIX for Advanced & Expert Users
I encounters a VSIFAX related error:
vfxstat: Cannot login to server on rsac3: Connect error to host 172.16.1.45: Invalid argument
It started happening last night with a core dump. Then we can't start VSIFAX again.
I am runing VSI-FAX 4.2 on AIX box (0 Replies)
Discussion started by: b_jin
0 Replies
7. UNIX for Dummies Questions & Answers
hi there
i write one awk script file in shell programing
the code is related to dd/mm/yy to month, day year format
but i get an error
please can anybody help me out in this problem ??????
i give my code here including error
awk `
# date-month -- convert mm/dd/yy to month day,... (2 Replies)
Discussion started by: Herry
2 Replies
8. UNIX for Dummies Questions & Answers
Hey guys, need some help. Running AIX Version 5.2 and one of our cron jobs is writing errors to a log file. Any ideas on the following error message.
Error: Internal system error: Unable to initialize standard output file
I'm guessing more info might be needed, so let me know.
Thanks (2 Replies)
Discussion started by: firkus
2 Replies
9. UNIX for Dummies Questions & Answers
I was looking at previews of XScreenSaver and the desktop froze. I am unsure how to restart the FVWM. I downloaded putty and can connect via ssh. I tried to shut the machine down by using the "shutdown -h now" command , but it will not power off.
If I knew the process number I could kill it. ... (1 Reply)
Discussion started by: noobie_doo
1 Replies
FVWM-THEMES-MENUAPP(1) FVWM Utility FVWM-THEMES-MENUAPP(1)
NAME
fvwm-themes-menuapp - fvwm-themes menus utility
SYNOPSIS
fvwm-themes-menuapp --build-menu or --com-mode or--help or --version [ --site] [ --menu-files [file1,file2,...] ] [ --remove-popup] [
--com-name name]
DESCRIPTION
This script is not a user script. It is used by Fvwm-Themes to do differrent task concerning menu and other related things. This scripts
can do the following:
Parse and rebuild FVWM configuration files to build a clean menu from them: application not in the path are removed, certain unuseful sub
menus and separator are removed (--build-menus option).
It can work in a locked way and communicate (via fvwm-themes-com) with FvwmScript-Menus or any other programs (--com-mode option). See
below for the list of query that you can ask to fvwm-themes-menuapp via fvwm-themes-com.
Plan for the future: use an application data base and parse and build (Mini)Icon Styles.
OPTIONS
You must use (only) one of the following four options:
--help - show the help and exit
--version - show the version and exit
--build-menus - Cause fvwm-themes-menuapp to build clean menus.
--com-mode Run fvwm-themes-menuapp under the "communication mode".
--menu-files [file1,file2,...] - files which are read and written by fvwm-themes-menuapp. By default, fvwm-themes-menuapp will read
$FT_DATADIR/themes/default/menus-programs with the --site option. Without the --site option fvwm-themes-menuapp will read menus-programs
and menus-extra (if found) in the fvwm-themes personal dir: $FVWM_USERDIR/themes/personal. If menus-programs is not found in this direc-
tory the site's menus-programs file is used (the one under $FT_DATADIR). Moreover, if menus-extra is not found, a virtual such file is cre-
ated so that the "personal" menus can be created (MenuFvwmPersonal) in it.
--site - Change the default for the --menu-files option.
--remove-popup - Remove the sub menu popup that popup empty menu (only useful with --build-menus). In fact only certain sub menu popup are
removed.
--com-name name - use name as name for communication with fvwm-themes-com. By default, "appmenu" is used, but you should use "app-
menu-pid" as name where pid is the pid of the program that want to talk to fvwm-themes-menuapp so that fvwm-themes-menuapp can exit if this
program exit and so that fvwm-themes-menuapp can kill the program if an internal error happen in fvwm-themes-menuapp. On the other hand, if
you want to talk with fvwm-themes-menuapp in, say, a terminal you must not give an name as "menuapp-an_integer" as name.
COMMUNICATION COMMANDS
Start fvwm-themes-menuapp as:
fvwm-themes-menuapp --com-mode [--com-name=menuapp-pid ...]
Then use fvwm-themes-com as:
fvwm-themes-com --name menuapp[-pid] [--lock-and-get] --message="Command"
where Command is one of the following. All this commands are "lock and get" but the exit command. A return value of 0 indicate an error.
menus-list - List of the menus.
root-menus-list - List of the "root" menus.
root-menus i - ith root menu.
menu-items menu_name - List of the items of the menu menu_name.
item menu_name:i - Information on the ith item of the menu menu_name.
remove menu_name:i - Remove the ith item of the menu menu_name.
move-up menu_name:i - Move up the ith item of the menu menu_name.
move-down menu_name:i - Move down the ith item of the menu menu_name.
add-or-edit-item X --it='menu_name:i' --t='type' --n='name' --mi='menu-icon' --wd='working dir or window title' where X is either A
for add or E for edit, see the code for details :)
selection-items - List of the items in the selection.
add-item-to-selection menu_name:i - Add the ith item of the menu menu_name to the selection.
remove-sel-item i - Remove the ith item of the selection.
remove-all-sel-item - Remove all the selection items.
copy-sel-item menu_name:i:j - Copy the jth item of the selection after the ith item of the menu menu_name.
copy-all-sel menu_name:i - Copy all the selection after the ith item of the menu menu_name.
try - Out put the contents of the files (as soon as possible will run the good fvwm-themes-config command).
save - wrote back the files
exit - Stop fvwm-themes-menuapp.
USAGE
When fvwm-themes is installed, fvwm-themes-menuapp is run as:
fvwm-themes-menuapp --site --build-menus --remove-popup
FvwmScript-Menus used (and in fact is based on) fvwm-themes-menuapp. See this FvwmScript script for examples with the com-mode option.
AUTHORS
Olivier Chapuis <olivier.chapuis@free.fr>, 5 May 2000.
COPYING
The script is distributed by the same terms as fvwm itself. See GNU General Public License for details.
BUGS
Report bugs to fvwm-themes-devel@lists.sourceforge.net.
perl v5.8.0 2003-06-05 FVWM-THEMES-MENUAPP(1)