Re: X11/xterm with Wireless Keyboard: configuring key definitions
Re: X11/xterm with Wireless Keyboard: configuring key definitions
- Subject: Re: X11/xterm with Wireless Keyboard: configuring key definitions
- From: email@hidden
- Date: Mon, 17 Nov 2003 11:34:59 -0500
>Continuing the VMS digression...
>
>You could halve the number of commands:
>
>$ set message/noseverity/notext/noid/nofac ! Suppress ALL error output
>$ mcr decw$utils:xmodmap
>$ mcr decw$utils:xmodmap
>[...]
>$ set mess/severity/text/id/facility
Not! Xmodmap is written in C and reports errors with fprintf(). It does
signal an error in normal VMS fashion which your suggestion would suppress.
The only way to hide the output is the temporary single image execution re-
definition of SYS$OUTPUT to NLA0:.
However, if $ SET MESSAGE would work, the proper command syntax would have
been:
$ save_message := 'F$environment("MESSAGE")
$ set message/noseverity/notext/noidentification/facility
$
...
$ set message 'save_message
>This takes advantage of the fact that if you turn off all the pieces of a VMS error messgage,
>no errors are output.
Next time you're on a VMS machine, try it out. Also, take a look at $ HELP
SHOW DEFAULT EXAMPLE (example #4). Or, take a look at the web on-line help
at:
http://h71000.www7.hp.com/doc/731FINAL/9996/9996pro_068.html#brass_103
#4
http://h71000.www7.hp.com/doc/731FINAL/9996/9996pro_078.html#brass_130
#1 and #2
Shameless plugs... ;)
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM
"Well my son, life is like a beanstalk, isn't it?"
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.