[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::hackers_v1

Title:-={ H A C K E R S }=-
Notice:Write locked - see NOTED::HACKERS
Moderator:DIEHRD::MORRIS
Created:Thu Feb 20 1986
Last Modified:Mon Aug 03 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:680
Total number of notes:5456

427.0. "Special characters in proc/name?" by ARMORY::GLADUG () Tue Mar 17 1987 11:01

    	Is there any way to use characters from the VT125 special/line
    drawing character set in a process name? I can only make them visible
    to myself when I do a 'show user'. Others cannot see them as special
    characters, only as their North American counterparts. 
T.RTitleUserPersonal
Name
DateLines
427.1See note 371FROST::HARRIMANChit,Chat,Chit,Chat,Chit,ChatTue Mar 17 1987 14:551
    
427.2371?ARMORY::GLADUGTue Mar 17 1987 16:069
    
    
    	Note 371 doesn't help. Correct me if I'm wrong, but none of
    the procedures in 371 deal with the VT125 Special Character and
    Line Drawing Character Set. What I want to know is how one would
    use, for lack of a better example, the symbol for 'Pi' - character 
    173 (octal) in the set, in a process name.
                            
    					Gerry
427.3multinationals allowed, ctrls are not37934::ZARLENGABigger they are, Harder they hitTue Mar 17 1987 17:0912
    	You can put 8 bit multinationals in process names.
    
    	They will appear as the multinational characters on VT2xx
    terminals and the 7 bit US/UK on VT1xx terminals.
    
    	To put a superscripted 1, for example, in my process
    name I would type :  SET PROCESS/NAME="ZARLENGA<compose>^1"
    	<compose> = compose-character key
    	^         = carat above the 6

    -mike
         
427.4Yes 371 IS appropriate.FROST::HARRIMANChit,Chat,Chit,Chat,Chit,ChatWed Mar 18 1987 12:0015
    .-1 said it better than I originally did. The point I was trying
    to make is that the basic rules for process naming is set forth
    in note 371. The problem with putting special characters in process
    names is that only terminals which *accept* special characters can
    really see them, and as you know control characters are a no-no.
    
    What this had to do with the 125 is that in order to put graphics
    characters in you would have to SI/SO (control characters...) the
    alternate character set. In general there are VERY few VMS utilities
    which still allow this sort of behavior, it's not considered a
    desirable trait.
    
    /pjh
    
    /pjh
427.5Try This!!!37999::GUNDAVARAMFrom the lab of the Mad Scientist!Thu Mar 19 1987 11:2916
	Hello:

	Try this: in DCL Command Level


	$ Set Control = T
	$ Esc[0,8] == 27
	$ Set Proc/Name = "''Esc'[7mVAX/VMS''Esc'[0m"
	
	Then do a CONTROL-T and see your process name in Reverse Video!



						Regards,

						-- Gundavaram --
427.6video attributes <> ctrl characters\FROST::HARRIMANConversation---Contradiction...Thu Mar 19 1987 13:081
    
427.7re-read .037934::ZARLENGABigger they are, Harder they hitThu Mar 19 1987 15:1417
    	The original question was :

>    	Is there any way to use characters from the VT125 special/line
>    drawing character set in a process name? I can only make them visible
>    to myself when I do a 'show user'. Others cannot see them as special
>    characters, only as their North American counterparts. 

 	SHOW USERS will not display control characters. An <esc> is
    a control-[, so it will be displayed as a period (.). There is
    no way to get SHOW USERS to display a control character, unless
    you patch the check(s) out of the image.
	In order to get VT100 line drawing set or ReGIS goodies, you
    need control characters. For multinational characters you do not.
    They are merely 8 bit extensions to the standard ASCII characters.
    	Lastly, control-T is not SHOW USERS.
    
    -mike
427.8Easy to patch4GL::DIAMONDDave Diamond, DTN 381-2687Thu Mar 19 1987 15:5011
.7>                                                           There is
.7>     no way to get SHOW USERS to display a control character, unless
.7>     you patch the check(s) out of the image.

The way LUSERS gets rid of control characters is to use the !AF directive
with SYS$FAO.  The string returned has control characters translated as
periods.  I suspect that SHOW USERS does it the same way; all you would
need to change is "!AF" -> "!AD", but note that the columns will be messed
up if any one of the characters does not take up a printable column.

Dave