HX on OSX Hints and Tips

From Higher Intellect wiki
Jump to: navigation, search

Original document can be seen at https://cdn.preterhuman.net/texts/computing/hotline_info/hxHints.txt

Hints and Tips for Using hx on OS X
v1.0
by Matt O'Hara 

Loggin In:
After installing hx you should just be able to type 'hx' into a Terminal window to launch the app.  Once it is launched you can type 
'/server -l hxuser -p password -n nickname coolserver.dhs.org'
where 'hxuser' is your login, 'password' is your password, 'nickname' is the nick you will have upon login, and 'coolserver.dhs.org' is the address of the server you wish to connect to.  Then you hit Enter and should log in to the server you specified.

Creating Bookmarks:
A bookmark file in for hx is basically just a .txt file with a line containing your login info for a particular server.  So if you open up TextEdit, first change your preferences so that the default format is Plain Text, not Rich Text. Then make a new file, with your hx login information minus the first '/'.

Example:
server -l hxuser -p password -n nickname coolserver.dhs.org

where 'hxuser' is your login, 'password' is your password, 'nickname' is the nick you will have upon login, and 'coolserver.dhs.org' is the address of the server you wish to connect to.

I suggest saving this file into an invisible folder you make in your home directory.  Call the folder something like '.hotline', and save the file as something short like 'cool'.

Now when you open up hx in a Terminal window you can type '-l ~/.hotline/cool' and hx will look in your home directory for a folder named '.hotline' and then it will look inside that for a file named 'cool'.

Creating Aliases: (the cool part)
Now make a new text file and in it put
hxcool     ~/.hotline/cool
where the spaces in between 'cool' and '~/.hotline/cool' is a Tab, or 5 spaces.
Now save as something like 'aliases.mine' in ~/Library/init/tcsh
Now you have made tcsh, your default shell, be able to recognize the command 'hxcool' when it initializes.  tcsh also knows that 'hxcool' points to a file called '~/.hotline/cool' and so it opens up your Bookmark.

Other commands:
/exec  --> allows you to perform command-line functions outside of hx
example: /exec -o uptime
/away xxxx --> publishes the fact that you are away
example: /away sleeping
/back xxxx --> publishes the fact that you are back
example: /back yay i'm home from work
/nick xxxx --> changes your nickname
example /nick fARKING IDJIT


Check out /help for the rest of the basic commands and their uses.


Share your opinion