SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
vim isn't in color? I can't figure that out, and its acting like its a differen't program.. the 'i' key doesn't make the cursor insert.. the delete key doesnt work...
also apache is compiled with mod_ssl, where is mod_perl and CPAN?? did i get a chance to compile those?? do I have to roll my own? what good is this operating system? why do some people swear by it??
Do you have a ~/.vimrc file? That is how you get the context highlighting, and other configuration settings. If you used a different Linux before it may have had a default .vimrc and you wouldn't have had to set it up.
Slackware is a very plain distro, if you want everything done for you and aren't interested in learning a whole lot about how Linux works and is configured, then I suggest you try something like Mandrake.
Any Linux is hard to learn, but I never learned and understood Linux until I started on Slack. I've used just about all of them and still once and a while try a different disto but always end up back with Slackware. Just a little bit each day and a lot of research and you'll get the hang of it; tackle one issue at a time.
I think you'll probably have to roll your own mod_perl and CPAN, but I don't think that'll be to hard. Then again, I've never used Apache (use of Apache would be a violation of my ISP TOS blah blah blah) so I can't tell you. I think you can dynamically load those into Apache, though.
By default, no. The default "vi" clone on Slack is Elvis.
You have a default .vimrc example file in the vim directory. Copy this to your /home and you are all set.
Also, change the "vi" link from elvis to vim and you will be able to use vim every time you enter "vi file_name".
This is something I do on every Slack machine that I have.
Quote:
also apache is compiled with mod_ssl, where is mod_perl and CPAN??
Sorry, you'll have to re-compile Apache with these modules in, I guess (I have never used Apache, sorry).
Quote:
what good is this operating system? why do some people swear by it??
Slackware is NOT for you, unless you are willing to learn and experiment. It's a true UNIX in that sense: it assumes you will RTFM and do your homework.
It can be frustrating, but the result is a super-stable Linux machine, one which you end up knowing intimately, and the advantage that YOU are in control, not Red Hat, or SuSE, or anybody else.
The vimrc_example.vim n gvimrc_example.vim residing in /usr/share/vim/vim61 . Copy them to ~/.gvimrc n ~/.vimrc then u have ur color on vim. But I always backup my .vimrc .gvimrc .bashrc .bash_profile regulary. So I don't use them.
I have also these in ~/.bash_profile, but not so sure for wut they are good, the first is likely to tell programs with console view to behave like VIM like instead of emacs..
Originally posted by linuxJaver The vimrc_example.vim n gvimrc_example.vim residing in /usr/share/vim/vim61 . Copy them to ~/.gvimrc n ~/.vimrc then u have ur color on vim. But I always backup my .vimrc .gvimrc .bashrc .bash_profile regulary. So I don't use them.
I have also these in ~/.bash_profile, but not so sure for wut they are good, the first is likely to tell programs with console view to behave like VIM like instead of emacs..
They are both standard environment variables:
EDITOR specifies a default non-GUI text editor
VISUAL specifies a default GUI editor
Not all programs use these "standard" variables. You could also add (if this isn't already set for you):
export PAGER=/usr/bin/less (I think the path is right)
This basically says "Use less when having to page files, such as in 'man'"
As others have said, VIM does do color in slackware, it's a matter of tweaking your .vimrc.
Keep the faith. Put in the effort. The payoff in the end is worth it. Three weeks elapsed now since I installed and began configuring my hardware, and except for sound (which I have not begun to work on), I have the perfect desktop going. And it's a slack box... it takes work, but now I have a stable, usable slackware install, and the effort has been worth it. I feel like I've climbed a mountain to get here, but the view is spectacular and I'd do it again in a heartbeat. It is a MUCH better feeling than having a Red Hat box running.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.