LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-04-2003, 09:05 PM   #1
dexter_modem
Member
 
Registered: Oct 2002
Location: Chicago
Distribution: slackware > redhat
Posts: 69

Rep: Reputation: 15
slackware is making me sick


grrrr i am getting frustraited with slackware.

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??
 
Old 07-04-2003, 09:44 PM   #2
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
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.
 
Old 07-04-2003, 10:00 PM   #3
init1
LQ Newbie
 
Registered: Jul 2003
Distribution: Gentoo and Slackware
Posts: 8

Rep: Reputation: 0
Oops, see next message below.

Last edited by init1; 07-04-2003 at 10:02 PM.
 
Old 07-04-2003, 10:01 PM   #4
init1
LQ Newbie
 
Registered: Jul 2003
Distribution: Gentoo and Slackware
Posts: 8

Rep: Reputation: 0
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.
 
Old 07-05-2003, 12:08 AM   #5
dexter_modem
Member
 
Registered: Oct 2002
Location: Chicago
Distribution: slackware > redhat
Posts: 69

Original Poster
Rep: Reputation: 15
You are right.. I am just a little overwhelmed... I am going to stick with it and continue to RTFM.. this is a lot better then being a redhat n00b
 
Old 07-05-2003, 12:50 AM   #6
SocialParasite
Member
 
Registered: Feb 2003
Distribution: Slackware 10
Posts: 38

Rep: Reputation: 15
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.
 
Old 07-05-2003, 02:46 AM   #7
Noryungi
Member
 
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware
Posts: 284

Rep: Reputation: 39
Quote:
vim isn't in color?
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.
 
Old 07-05-2003, 03:00 AM   #8
linuxJaver
Member
 
Registered: Jul 2003
Location: Jakartax, ID
Distribution: slack9.1+,9.1,rh9
Posts: 203

Rep: Reputation: 30
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..

export EDITOR=/use/bin/vim
export VISUAL=/usr/bin/vi
 
Old 07-09-2003, 01:46 PM   #9
ppearson
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
Quote:
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..

export EDITOR=/use/bin/vim
export VISUAL=/usr/bin/vi
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'"
 
Old 07-09-2003, 07:32 PM   #10
linuxJaver
Member
 
Registered: Jul 2003
Location: Jakartax, ID
Distribution: slack9.1+,9.1,rh9
Posts: 203

Rep: Reputation: 30
My ~/.bash_profile look like this, but it is still always subjected to modification ..
-----

# .bash_profile

echo -e "\nSource $HOME/bash_profile"

# Get the general environment, functions, aliases
[ -f ~/.bashrc ] && . ~/.bashrc

## standard initialization
VISUAL="/usr/bin/vi"
EDITOR="/usr/bin/vim"
EXINIT='set ai noto aw redraw|map map! map g G'
#LESS="-c -E -q -i -w -M -X" # display more-like ouput
LESS="-c -E -Q -i -W -X -P ?f%f:-. ?mFile\:%iof%m ?lLine\:%lb/%L:\
?bbByte\:%bb/%B.. ?p%pb\%. ?e<EOF> ?xNext\:%x..:?lLine\:%lb/%L. \
?bbByte\:%bb/%B. ?p%pb\%.. $"
LESSCHARSET=latin1 # Westeurope 8Bit-output
PAGER=less # used by man, wenn no MANPAGER
MANPAGER=less # better, blank lines will be squeezed
export VISUAL EDITOR EXINIT LESS LESSCHARSET PAGER MANPAGER

HISTSIZE=2000 # def: remember 500 commands
HISTFILE=~/tmp/.bash_history # def: ~/.bash_history
#HISTFILESIZE=3000 # def: truncated lines above 500
export HISTSIZE HISTFILE

#[ $CDPATH ] || { }
export CDPATH=.:~:~/java:~/etc:~/z:/mnt/uti:/opt:/usr/local:/etc

# My specific environment for java-SDK, redudance proofed
[ -f ~/etc/.javarc ] && . ~/etc/.javarc

# Read my specific aliases
[ -f ~/etc/.bash_alias ] && . ~/etc/.bash_alias

mesg n

echo -e "Eof $HOME/bash_profile\n"
 
Old 07-09-2003, 08:27 PM   #11
jlangelier
Member
 
Registered: Jun 2003
Location: Denver, CO
Distribution: Debian
Posts: 95

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a Slackware package.... ivoencarnacao Slackware 5 02-25-2005 07:21 AM
Making a slackware 10 DVD. Nicolae Slackware 11 08-29-2004 03:31 PM
making a router in slackware kmail Slackware 6 06-20-2004 09:12 PM
Making Slackware a router wenberg Linux - Networking 4 01-03-2004 07:56 PM
Making a slackware 9.0 2.4.22 router kleptophobiac Slackware 3 09-07-2003 09:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration