Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Jul 2015, 11:23
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Moderators: Flash, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count_1  
Author Message

Joined: 19 Feb 2010
Posts: 99
Location: Florida

PostPosted: Sun 04 Nov 2012, 16:57    Post_subject:  Puppy DECTERM
Sub_title: Bringing OpenVMS commands to Puppy!

I recently had the idea to bring the old VMS commands to Puppy Linux and felt like posting about the project.

I started things off with the simple alias command to get it off the ground.


EDIT: 11:44:16 AM 11/05/12 Added a few more aliases.
EDIT: 09:52:20 PM 11/04/12 Very slowly moving along with this. I used the if statement and some functions to make the commands with more than one word work. (I have yet too add them all)



PS1="$ "

echo "+---------------------------------------+"
echo "|OpenVMS commands now work in Linux!    |"
echo "|For SHOW and SET use lowercase letters |"
echo "|Enjoy!                                 |"
echo "+---------------------------------------+"
echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"

   echo "%DCL-W-IVVERB, unrecognized command verb - check validity and spelling."

   if [[ $@ == "default" ]]
   elif [[ $@ == "device" ]]
   elif [[ $@ == "logical" ]]
   elif [[ $@ == "process" ]]
      ps aux
   elif [[ $@ == "/queue" ]]
   elif [[ $@ == "status" ]]
   elif [[ $@ == "time" ]]
   elif [[ $@ == "users" ]]
   elif [[ $@ == "system" ]]

alias append='cat'
alias dir='ls'
alias copy='cp'
alias delete='rm'
alias create='>>'
alias edit='nano'
alias cls='reset'
alias stop='kill'
alias print='lpr'
alias mail='defaultemail'
alias backup='tar'
alias dump='od'
alias exchange='dd'

This is a separate files that is linked into the .bashrc.

. /root/.OpenVMS_CMDSET

This is just that start to the project. I'll soon be adding scripts to give it more of a DECTERM feel.

All contributions are welcome!

Puppy Packages
My Website
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0420s ][ Queries: 11 (0.0031s) ][ GZIP on ]