PDA

View Full Version : [TUT] Scripting in Linux!



PoPC0rN
12-23-2008, 05:35 PM
Hey guys! I just did this on my computer, and I have to admit its a ton easier than SCAR :)
although in SCAR you can test..

Wizzup said that none of this is needed, as every linux comes with VIM.

There is a better editor than Notepad++ available, called VI iMproved.
http://www.vim.org/

The version GVIM is the graphical version of it, but normally you use it inside a terminal. I don't there is any program that supports as much highlighting as vim does, it has highlights for most config-file types you can think of, or just generally any known language you can think of.

I think every linux comes with VIM by standard.

You can continue with this tutorial if you wish. :P


Okeh well first of all.. Get SciTE.

What is SciTE?

SciTE is a SCIntilla based Text Editor. Originally built to demonstrate Scintilla, it has grown to be a generally useful editor with facilities for building and running programs. It is best used for jobs with simple configurations.

HOMEPAGE: http://www.scintilla.org/SciTE.html

Dowload: http://prdownloads.sourceforge.net/scintilla/gscite177.tgz?download TGZ VERSION

or on Ubuntu (8.10, Idk about other versions) Type this into terminal:

sudo apt-get install scite

(alternatively just open a package manager and search scite)

Once installed, fire it up.
Make sure you set the language to Pascal.

http://i44.tinypic.com/xksvat.png

EDIT: YOU CANNOT COMPILE OR EXECUTE SCRIPTS IN THIS! IT IS MERELY TO WRITE SCRIPTS! NOT USE THEM! USE SCAR ON A VM OR WINE FOR THAT!

And there you go! How to script in linux!

Once you script is done, save it as a .scar and share it with the community!


-PoPC0rN(h)

jakeyboy29
12-23-2008, 05:42 PM
give us a demo maybe?

PoPC0rN
12-23-2008, 05:46 PM
okay. one min :P ill post a little video on it ;)

EDIT: nvm. my youtube got banned. SS up :)

mastaraymond
12-23-2008, 06:14 PM
Just to be clear: This is a way to WRITE scripts, not to execute them.


Other than that, I'm pretty sure Wizzup? is going to post here and say "VIM IS WAY BETTER".

PoPC0rN
12-23-2008, 06:16 PM
Just to be clear: This is a way to WRITE scripts, not to execute them.


Other than that, I'm pretty sure Wizzup? is going to post here and say "VIM IS WAY BETTER".

i didnt say you COULD execute them. its just easier to script in this than notepad or whatever.

mastaraymond
12-23-2008, 06:17 PM
i didnt say you COULD execute them. its just easier to script in this than notepad or whatever.
Yes I know, but your post is causing confusing. Most people read "scripting" as "load\edit\make a .scar script and run it".

Wizzup?
12-23-2008, 06:24 PM
Just to be clear: This is a way to WRITE scripts, not to execute them.


Other than that, I'm pretty sure Wizzup? is going to post here and say "VIM IS WAY BETTER".

There is a better editor than Notepad++ available, called VI iMproved.
http://www.vim.org/

The version GVIM is the graphical version of it, but normally you use it inside a terminal. I don't there is any program that supports as much highlighting as vim does, it has highlights for most config-file types you can think of, or just generally any known language you can think of.

I think every linux comes with VIM as it's standard editor. (Next to nano)