LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-31-2016, 01:35 AM   #16
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225

Quote:
Originally Posted by ReaperX7 View Post
Using a line editor like vim, nano, etc. isn't always advised when you CCP text.

Kwrite/Kate, Gedit, mousepad, leafpad, etc. are text editors, not line editors. If you want to CCP large blocks of text, like rc.firewall, use a text editor.
What?

I'm not a huge vi/vim fan, but you certainly can insert multiple lines of text with vi without it adding automatic line wrap and what not.

ed is what I consider a line editor.
 
Old 05-31-2016, 02:18 AM   #17
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Quote:
Originally Posted by Richard Cranium View Post
What?

I'm not a huge vi/vim fan, but you certainly can insert multiple lines of text with vi without it adding automatic line wrap and what not.

ed is what I consider a line editor.
I've never had favorable multiline with editors using a terminal. Mostly why I group them in with line editors like ed. Just my experience and point of view, but it's just that only.
 
Old 05-31-2016, 03:17 AM   #18
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Quote:
Originally Posted by ReaperX7 View Post
Using a line editor like vim, nano, etc. isn't always advised when you CCP text.
For vim
Code:
:set paste
 
Old 05-31-2016, 09:26 AM   #19
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Quote:
Originally Posted by astrogeek View Post
...
Code:
bash-4.2# cd /etc/rc.d/rc.firewall
bash: cd: /etc/rc.d/rc.firewall: Not a directory
(twice)
You must try to understand what you expect each step to do, and you must read, and understand the messages returned by each command. Otherwise your result is just gibberish.
...
+1

If OP did all that stuff as root, I think he needs a lot of reading about the Linux basics.
http://wiki.linuxquestions.org/wiki/Main_Page
 
Old 05-31-2016, 10:36 AM   #20
Belikewater
Member
 
Registered: Mar 2016
Location: Orlando Fl
Distribution: Slackware/Peppermint
Posts: 164

Original Poster
Rep: Reputation: Disabled
Alright I get it. I need to study. Thanks for the input. Slackware is a tough crowd indeed.
 
Old 05-31-2016, 11:49 AM   #21
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Quote:
Originally Posted by Belikewater View Post
Alright I get it. I need to study. Thanks for the input.
Yes, as I'm studying and learning every day too.


Quote:
Slackware is a tough crowd indeed.
No, they are really friendly, what happens is Slackware is not a 'hold your hand' type of distro,
so some hours of read, search and experiment is expected.


Break your Slackware install as many times you need. You will learn a lot trying to fix it (as I do )
 
Old 05-31-2016, 11:54 AM   #22
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by Belikewater View Post
Alright I get it. I need to study. Thanks for the input. Slackware is a tough crowd indeed.
Your intention to study more, read more and learn more, expressed more than once in this thread, is a noble one.

But it does nothing - absolutely nothing - to solve the problem which is the subject of this thread, namely the problem of setting up a firewall on Slackware. A thread started by none other than yourself.

There's no need for high drama or gnashing of teeth regarding this problem. Just show us the content that was generated when you visited Eric's Easy Firewall Generator page; then tell us how you tried to save it to /etc/rc.d/; and, finally, tell us how you made that file executable and what errors, if any, came up when you restarted the computer.

Answering just those very simple questions will get you a lot farther, a lot faster, than all those solemn posts of yours about how you intend to study more widely and more deeply some time in the never-never. Try to focus systematically on just the problem at hand, namely, the firewall problem, and the specific steps you have taken or are about to take to resolve this one problem in your effort to learn Slackware. List the specific steps you have taken and post the content of any files you have created or edited along the way, and your firewall problem will be solved before evening.
 
1 members found this post helpful.
Old 05-31-2016, 12:20 PM   #23
Belikewater
Member
 
Registered: Mar 2016
Location: Orlando Fl
Distribution: Slackware/Peppermint
Posts: 164

Original Poster
Rep: Reputation: Disabled
Thanks Gezley. I will look into it when I get out of work. I'll figure it out on my own. Ill just read the instructions more carefully which I plan to do during my break here shortly. We can close this thread.
 
Old 06-03-2016, 08:11 AM   #24
Belikewater
Member
 
Registered: Mar 2016
Location: Orlando Fl
Distribution: Slackware/Peppermint
Posts: 164

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
Using a line editor like vim, nano, etc. isn't always advised when you CCP text.

Kwrite/Kate, Gedit, mousepad, leafpad, etc. are text editors, not line editors. If you want to CCP large blocks of text, like rc.firewall, use a text editor.
Thank you Reaper and notKlaatu. I used a text editor and it worked
 
  


Reply



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
Firewall Setup 2UCowpoke Linux - Newbie 2 01-22-2015 11:53 AM
Firewall Setup (IPTABLES) on a Virtual Server in a LVS Setup justemail Linux - Networking 1 06-24-2009 12:00 AM
pppoe-setup masquerade firewall vs custom firewall matters Slackware 12 03-06-2009 04:50 AM
help with client side NFS-firewall setup and server side NIS-firewall setup niverson Linux - Networking 3 02-02-2004 08:52 AM
Firewall setup HELP! vous Linux - Software 9 05-20-2003 06:27 PM

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

All times are GMT -5. The time now is 06:49 PM.

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
Open Source Consulting | Domain Registration