03-30-2012
# set DISPLAY=localhost:23
9 More Discussions You Might Find Interesting
1. Programming
hi floks !
i'd like to know how can i transmete a character or a string from my source code to a term and make it interpret or un by the shell wich is running in my term.
I'd like to create a Term from my code (and get its file descriptor) and then transmete each char typed on the keyboard to... (1 Reply)
Discussion started by: the_tical
1 Replies
2. Shell Programming and Scripting
Hi All,
I have an input_file below and i would like to use Perl to search for the term "aaa" and output the 3rd term in the same row as "aaa".For Example, i want to search for the term "ddd" and would want the code to ouput the 3rd term in the same row which is "fff". Can somebody help ?
... (28 Replies)
Discussion started by: Raynon
28 Replies
3. Solaris
Hello freinds.
Recently installed solaris 10 on a "sun ultra 10" with all the included features in the 5 CD set except sendmail support which i never needed.
I am trying to ssh into the servers at my school which I can very easily do using linux. It seems that there is something wrong with the... (2 Replies)
Discussion started by: aijazbaig1
2 Replies
4. Solaris
Hello Expert! :b:
Question for you guys, Can anyone tell me how to use terminal emulator on Windows XP to view Solaris config? I have no idea on Solaris and the only thing I could do is to boot it up. Honestly, I have given a tasked to delete all the files and some necessary memory information... (2 Replies)
Discussion started by: katsloko
2 Replies
5. OS X (Apple)
Hello,
I am using Tiger 10.4.11
I am trying out the GIMP, so I installed the X11 package from "Optional Installs" on the cd.
Whenever I open X11, I get an error:
xterm: could not exec /dev/null: Permission denied
I have chmodded /dev/null to 777, as well as the /tmp directory.
I deleted... (2 Replies)
Discussion started by: Ricardo-san
2 Replies
6. Solaris
Greetings Forumers!
I'm posting a solution to an Issue I ran into this week: Getting applications to display on another through X11 and SSH. I have run into this issue many years ago and finally found my notes. Some of you may already know the answer to this issue but it took me a while to... (1 Reply)
Discussion started by: bluescreen
1 Replies
7. Virtualization and Cloud Computing
Failed to open the CD/DVD image /usr/lib/virtualbox/additions/VBoxGuestAdditions.iso.
Could not get the storage format of the medium '/usr/lib/virtualbox/additions/VBoxGuestAdditions.iso' (VERR_NOT_SUPPORTED).
Result Code: VBOX_E_IPRT_ERROR (0x80BB0005)
Component: Medium
Interface: IMedium... (9 Replies)
Discussion started by: upvan111
9 Replies
8. UNIX for Advanced & Expert Users
We have a production file system which has 6+ million files with more than 1 tera byte in size. When trying to delete selective files through a weekly script files are not deleted.
Please advise with ideas. (5 Replies)
Discussion started by: kppublicmail
5 Replies
9. UNIX for Beginners Questions & Answers
i keep getting this error when i ssh using my id - any idea (2 Replies)
Discussion started by: tariq_m
2 Replies
LEARN ABOUT HPUX
xhpsetinputdevice
XHPSetInputDevice(3X) XHPSetInputDevice(3X)
NAME
XHPSetInputDevice - Open a device for X input.
SYNOPSIS
#include <X11/XHPlib.h>
int XHPSetInputDevice (display, deviceid, mode)
Display *display;
XID deviceid;
int mode;
ARGUMENTS
display Specifies the connection to the X server.
deviceid Specifies the ID of the desired device.
mode Specifies the desired mode of access.
DESCRIPTION
This request is part of an HP-proprietary extension to X. Its functionality has been superseded by the standard X input device extension
XOpenDevice request. You should use XOpenDevice instead of XHPSetInputDevice if possible.
This request is provided to support input devices other than the X keyboard device and the X pointer device.
Client programs use the XHPSetInputDevice to open an input device for extended input and to close the device. XHPSetInputDevice requires a
mode parameter that specifies the request being requested (ON or OFF) and, if the request is ON, whether the device should be opened as an
extension to the X keyboard or pointer (SYSTEM_EVENTS), or as an independently selectable device (DEVICE_EVENTS). The value of the mode
parameter is set by ORing together the above constants, which may be obtained by including the file <X11/XHPlib.h>.
To open an input device as a device whose input can be selected independent of the X keyboard and X pointer, the client program would use
the mode ON OR'd with the mode DEVICE_EVENTS. To open an input device as an extension of the X keyboard or X pointer, the client program
would use the mode ON or'd with the mode SYSTEM_EVENTS. Valid values for the mode parameter are:
ON | SYSTEM_EVENTS
ON | DEVICE_EVENTS
OFF
This request will fail with a BadMode error if some other client is already using the device with a different mode.
DIAGNOSTICS
BadMode An invalid mode was specified.
BadDevice An invalid device ID was specified.
RETURN VALUE
none
FILES
/usr/include/X11/XHPlib.h
ORIGIN
Hewlett-Packard Company
SEE ALSO
XHPListInputDevices(3x)
XHPGetExtEventMask(3x)
XHPSelectExtensionEvent(3x)
X Version 11 Release 5 XHPSetInputDevice(3X)