- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Line Graphics
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 01:07 AM
03-16-2006 01:07 AM
Hopefully, this is a very quick question for you ....
I remember back in my ops analyst days, that you could use alternate characters to produce boxes, lines, etc via a normal DCL "write sys$output" command. The result looked similar to the old Digital logo.
Can anyone remember how to get the graphic characters ?
Thanks,
Paul.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 01:14 AM
03-16-2006 01:14 AM
Solutioncharacters l q k x m j are good at drawing boxes
quick example:
$ WRITE SYS$OUTPUT "
$ WRITE SYS$OUTPUT "mqqqqqqqqqqj
The VT220 programmer pocket guide is a good ref. sorry don't have a useful link, only a paperback copy.
Kind Regards
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 01:16 AM
03-16-2006 01:16 AM
Re: Line Graphics
I use a very simple commandfile to create a one line file with some text as required.
$ READ/PROMPT="Enter String >>> "/ERROR=clean_up/END_OF_FILE=clean_up SYS$COMMAND string
$ OPEN/WRITE out c_a.txt
$ esc[0,8] = 27
$ end_char = "''esc'(0x''esc'(B"
$ line1_start = "''esc'#3''esc'[1;7m" + end_char
$ line2_start = "''esc'#4''esc'[1;7m" + end_char
$ line_end = "''end_char'''esc'[m"
$ out_line1 = "''line1_start'"
$ out_line2 = "''line2_start'"
$!
$ cnt = 0
$ len = F$LENGTH(string)
$loop:
$ IF cnt .LT. (len-1)
$ THEN
$ out_line1 = out_line1 + F$EXTRACT(cnt,1,string) + end_char
$ out_line2 = out_line2 + F$EXTRACT(cnt,1,string) + end_char
$ cnt = cnt + 1
$ GOTO loop
$ ELSE
$ out_line1 = out_line1 + F$EXTRACT(cnt,1,string) + line_end
$ out_line2 = out_line2 + F$EXTRACT(cnt,1,string) + line_end
$ GOTO finnish
$ ENDIF
$finnish:
$ WRITE out ""
$ WRITE out "''out_line1'"
$ WRITE out "''out_line2'"
$ CLOSE out
$ TYPE c_a.TXT
$clean_up:
$ EXIT
It creates a file with the name c_a.txt in your default directory. You have to do some customization on this file, so that the string looks as you like
Regards
Heinz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 01:17 AM
03-16-2006 01:17 AM
Re: Line Graphics
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 01:17 AM
03-16-2006 01:17 AM
Re: Line Graphics
I knew it would be an easy one to answer !!
Many thanks,
Paul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 01:26 AM
03-16-2006 01:26 AM
Re: Line Graphics
later) programming manual, as this capability
is really a property of the terminal (or
terminal emulator) being used, rather than
anything about the sending program itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 01:55 AM
03-16-2006 01:55 AM
Re: Line Graphics
and for those who are really obessed about escape sequences
http://bjh21.me.uk/all-escapes/all-escapes.txt
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 02:37 AM
03-16-2006 02:37 AM
Re: Line Graphics
The attached document is a collet of escape sequences for ANSI VT100.
Saludos.
Daniel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 02:39 AM
03-16-2006 02:39 AM
Re: Line Graphics
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 05:13 PM
03-16-2006 05:13 PM
Re: Line Graphics
It may produce simple ASCII text, VT100 or PCL sequences.
E.g. if the input looks like
#######
#1#2#3#
#######
the output in textmode looks like
+-+-+-+
|1|2|3|
+-+-+-+
and in VT100 mode accordingly.
If you no not have a FORTRAN compiler I may send you an object file.
I wrote it 20 years ago, so please do not look at the code too close...
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 08:30 PM
03-16-2006 08:30 PM
Re: Line Graphics
Paul.