11-08-2001
these functions are generally available in two locations in HP-UX.
1. the $HOME/.dt/dtwmrc which is meant and customized to the user
2. /usr/dt/dtwmrc. this is the default one.
whenever you boot your system, it first looks for the customized one as in 1 otherwise it takes 2. I think you have got some problem with your system.
better check it out.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Here's a question I have for anyone that might be able to help me:
I can write a html script that will allow the user to return to the previous page using the back button, and I can write a script that will allow the user to return to the previous page using the close button, but...is there a... (1 Reply)
Discussion started by: mdgibson
1 Replies
2. Shell Programming and Scripting
Hello all,
I'm hoping to get a little insight from some of the wily veterans amongst you.
I've written a script to check for new outgoing files to our vendors located on our ssl server. It seems to be working ok, but the final question here, will be one of logic, and/or a better way to... (4 Replies)
Discussion started by: mph
4 Replies
3. Solaris
Hello,
On one of our Solaris machines the user has managed to destroy his mouse key bindings. Usally if he clicks the middle button it presents some applications but now it just minimises the CDE panel to the top. I have compared his /usr/dt/config/C/sys.dtwmrc with another machine that is... (0 Replies)
Discussion started by: Mr Pink
0 Replies
4. UNIX for Dummies Questions & Answers
Hi, I'm using rxvt in Cygwin and I'm wondering how to change my mouse bindings from the middle button for pasting to the right button. The main reason why I want to do this is because my laptop doesn't have a middle mouse button. Thanks for any help! (2 Replies)
Discussion started by: sayeo
2 Replies
5. Shell Programming and Scripting
Problem:
I am trying to create a menu in a menu script and I am running into an issue with the calculator portion of the script. I am first presented with the ==Options Menu== which all 5 options working correctly. Now comes the fun part. I select option 1 which takes me to my ==Calculator... (1 Reply)
Discussion started by: iDdraig
1 Replies
6. Hardware
I have no idea what happened, but my middle mouse button stopped working since yesterday. I checked the settings for the mouse, everything seems fine. Reconnected mouse , restarted PC, nothing works.
What kind of issue this could be, anyone experienced something like this before?
If you have... (4 Replies)
Discussion started by: zdorian
4 Replies
7. Shell Programming and Scripting
hi all i am a newbie to this
is there any examples on creating a main menu with 3 sub menu
main menu -> option a , b and c
a menu -> option 1 ,2 and 3
b menu -> option 1 ,2
c menu -> option 1 ,2
i am getting headache as my code kept getting unexpected EOF
---------- Post... (0 Replies)
Discussion started by: chercm
0 Replies
8. Red Hat
Hello,
I have Centos 5.8 installed in a Virtual box. I want to edit the menu which appears when the right button of the mouse is clicked on the desktop.
I found this procedure for gnome "window manager":
Place any script, link or binary (must be executable) in the folder
... (0 Replies)
Discussion started by: tyanata
0 Replies
9. UNIX for Beginners Questions & Answers
I installed CentOS 8 with Gnome 3.28.2 and I noticed that the "switch user" menu item disappeared from under the system menu of Gnome classic (Both X11 & Wayland). I checked google and this problem seems to have a history going back several releases of Gnome.
Unfortunately, I never found a... (1 Reply)
Discussion started by: bodisha
1 Replies
LEARN ABOUT HPUX
setnetlp
setnetlp(1M) setnetlp(1M)
NAME
setnetlp - configure the LP spooling system for network printers
SYNOPSIS
/usr/sbin/setnetlp
/usr/sbin/setnetlp -p printer [options]
/usr/sbin/setnetlp -x printer
DESCRIPTION
The command configures network printers in the LP spooling systems with specified printer model interface file. It is used to add and
remove specified printer that is referred as a LP destinations, change configuration of the printer if the printer exists.
Network printers that support lpd protocol or JetDirect interface can be configured by The command is a shell procedure. It calls lpad-
min(1M) command for lpd printer configuration. It may also call addqueue(1) and removequeue(1) commands for configuring printers with Jet-
Direct interface when the optional software HP JetDirect Printer Installer for Unix is installed on the system.
Exactly one of the -p, -x options or no options must be present for every legal invocation of
-p printer Names a printer to which all of the options below refer. If printer does not exist, it will be created.
-x printer Removes the printer from the LP spooling system. The printer is a LP destination configured in the LP spooling sys-
tem. No other options are allowed with -x.
The following options are required for -p and can appear in any order.
-orm machine The name of the remote machine or IP address of the network printer is machine.
-om model This option selects a printer model interface program for printer. The model is one of the model file name at
/usr/lib/lp/model/* supplied with the LP software or generated by psmsgen(1M). Refer to lpadmin(1M) Models for
details.
One and only one of the following options is required for -p and can appear in any order.
-orp rprinter The name of the remote printer queue that has configured on the remote machine is rprinter. This option is required
to configure lpd printer and can not be used with -jd option.
-jd When this option is specified, configures the printer using commands provided by HP JetDirect Printer Install-
er for Unix
Interactive terminal user interface (TUI) will be invoked when is invoked without any options. At the TUI, values of all options described
above can be set. In addition, for some printer model, defaults of model interface options also can be customized. When HP JetDi-
rect Printer Installer for Unix is available on the system, some recommended initial values for options may be provided for some printer
model. The model customization support feature by is available only for TUI. No customization is performed by non-interactive invocation
of To customize model options for a printer without the TUI, pre-customized model file needs to be generated before running for configuring
the printer.
EXAMPLES
Assuming a LIPS printer supported lpd protocol on a network as remote printer host name lphost and remote printer name lipslp the command:
/usr/sbin/setnetlp -p netlp -orm lphost -orp lipslp -om LIPS4
causes the spool system to use the local printer netlp and the local model file LIPS4.
FILES
SEE ALSO
lpadmin(1M), addqueue(1), removequeue(1), psmsgen(1M)
setnetlp(1M)