- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Looking for an editing program in VMS??
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
Discussions
Discussions
Forums
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
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-11-2007 10:41 AM
тАО03-11-2007 10:41 AM
Re: Looking for an editing program in VMS??
$edit/edt myfile.txt
*write content or any data and for save file use
ctrl+Z then
:exit
if you dont want to save file then use
ctrl+Z then
:quit
myfile.txt;1 is saved is your current directory.
*when you reopen this file and modify anything then it will automatically saved and create a new version of myfile.txt;2
and you can see
$dir myfile.txt
directory sys$root:[sysmgr]
myfile.txt;1 myfile.txt;2
ok
please give points to all who gives help to you.
thanks
Atul Sardana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2007 10:48 AM
тАО03-11-2007 10:48 AM
Re: Looking for an editing program in VMS??
http://h71000.www7.hp.com/doc/index.html
Why don't you give us an example of how you would do it in vi, then we will understand what you are trying to do.
There are several ways to do what you want.
Here is one.
1. edit memo.template, create the template text and exit the editor. Thsi will create memo.template.
2. When you want to use this as the start of a new memo, for example memo.help, use the command:
$ edit memo.template/out=memo.help
This will load memo.template, but then treat it as if you were editing memo.help. Add the text you want and exit. The file will be saved as memo.help
Please read the documentation; it has examples.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2007 12:43 AM
тАО03-12-2007 12:43 AM
Re: Looking for an editing program in VMS??
or I prefer TPU, because TPU support
split screen editing, like the old EMACs.
If you go edit/tpu and hit PF2, there's a help key, hit any key, it will tell you what it does.
PF4 is the DO key, and it will bring up a command prompt, where you can enter almost
any do command.
At the Do Prompt you can write
DO: Write - (saves changes)
DO: Find
Do: Replace
Do: Quit - (con't save changes.
DO: DCL command
(Does any DCL Command from teh editor.
Regardless, in both EDT or EVE,
You can
EDIT filename
to open an existing file name, or create a new one,
Control-Z exits and writes a copy.
Don't confuse SAVE with Write. Save in TPU saves the customized version of TPU, we've all done that.
Finally, there are free ware versions of VI for VMS, which for you would probably be the best solution. I believe they call one version VIM.
I don't know if it's still available, but there is a wonderful X Window full featured
word processor of publication quality called
DECWRITE, which is a lot like Word on steroids.
Before the current war on terror, there was a much more violent and horrific war, the debates on the best editor in the world.
It is amazing we survived this onslaught.
Then there are those that know for a fact
TECO is the only editor for a real programmer.
Have fun!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2007 05:57 PM
тАО03-12-2007 05:57 PM
Re: Looking for an editing program in VMS??
Also, to reopen MYFILE.TXT to re-edit it again, how would I do that??
Can someone please show me? What if I want to reopen MYFILE.txt to modify and then save the file again?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2007 06:17 PM
тАО03-12-2007 06:17 PM
Re: Looking for an editing program in VMS??
Enjoy!
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2007 06:18 PM
тАО03-12-2007 06:18 PM
Re: Looking for an editing program in VMS??
We can then show you how to translate
your sequence into something that will
work on VMS...
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2007 12:07 AM
тАО03-13-2007 12:07 AM
Re: Looking for an editing program in VMS??
Find the manual, guide to text processing.
It not, find a n old book buyt Terry Shannon,
Introduciton to VMS. This is not s substituate
for reading the documentation.
Or get them to download a free ware copy of VI and your poblems are solved.
In EVE, find PF 4, the do key.
You can get a file and incorporate thet,
you can write out a file with another name, so you have both. It does everything you
Best place to start, though a bit dated.
http://www.a1books.com/cgi-bin/mktSearch?act=showDesc&code=gbase&rel=1&ITEM_CODE=096147291X
Crash guide in introductory text processing
http://books.google.com/books?vid=ISBN1555582796&id=uTXrp9_kG5wC&pg=RA1-PA167&lpg=RA1-PA167&ots=EJ62z6eHUy&dq=vms+guide+to+text+processing&sig=0pXn28JVB3PHUpbZrbFC39IniGUwant.
http://h71000.www7.hp.com/doc/83final/6048/6048pro_088.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2007 01:41 AM
тАО03-13-2007 01:41 AM
Re: Looking for an editing program in VMS??
MAIL, text editing, file naming, DCL programming, and other topics are covered in that document.
This and the other OpenVMS manuals also contain knowledge that could simply never be learned here in the forums.
http://www.hp.com/go/openvms/doc
The next among these documents would likely include the Programming Concepts manual, or the System Manager's manuals, or both -- depending on your particular goals and local requirements.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2007 05:39 PM
тАО03-13-2007 05:39 PM
Re: Looking for an editing program in VMS??
$edit ANDY01.TXT then I wrote my memo and then hit crtl-Z to save....
Now, lastly....
How do I RENAME the file and hoe do I DELETE the ANDY01.TXT completely if I wanted to??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2007 05:48 PM
тАО03-13-2007 05:48 PM
Re: Looking for an editing program in VMS??
Rename it using $ RENAME old new and delete it using $ DELETE ANDY01.TXT;* (;* deletes all versions!).
The DCL interpreter is build along the english language, so the english verb gives a good starting point into HELP.
regards Kalle