Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-31-2005, 09:13 AM
|
#1
|
Member
Registered: May 2005
Posts: 275
Rep:
|
Getting a live cd distro of knoppix
Where do I go to download a live cd version of knoppix?
|
|
|
05-31-2005, 09:22 AM
|
#2
|
Member
Registered: Mar 2005
Location: West Texas
Distribution: Sidux - Mint - PC Linux - Ubuntu 7.04 - Mepis 7 Beta5 - DreamLinux 2.2
Posts: 234
Rep:
|
|
|
|
05-31-2005, 10:34 AM
|
#3
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,903
|
|
|
|
05-31-2005, 10:41 AM
|
#4
|
Member
Registered: May 2005
Posts: 275
Original Poster
Rep:
|
what text editor does knoppix use and how do you access it.
|
|
|
05-31-2005, 11:00 PM
|
#5
|
Member
Registered: Dec 2004
Location: Georgetown, DE
Distribution: Gentoo (Kernel-2.6.18-gentoo-r5, customized :))
Posts: 101
Rep:
|
Knoppix gives you a choice of text editors: It simply depends on what you want to do.
For instance, if you wan't to word process (like you would do in word on a windoze machine), you should probably go with OpenOffice. It can be accessed by going to:
Start (the big K with the gear, I don't know how new you are ) --> Office --> OpenOffice.Org Writer
To run a nice simple text editor intended mostly for editing of .configs or .txts, you could use Kwrite:
I usually open it like this:
Alt-F2 ---> and then type: Kwrite
--Or--
Start ---> Editors ---> Text Editor (KWrite)
Does that help?
P.S. Have you burned a knoppix disc yet? Do you know how?
|
|
|
05-31-2005, 11:49 PM
|
#6
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
Originally posted by mrobertson
what text editor does knoppix use and how do you access it.
|
I am sure it has VI/M and maybe emacs as well as the graphical ones like kwrite and KATE.
|
|
|
06-01-2005, 07:17 AM
|
#7
|
Member
Registered: May 2005
Posts: 275
Original Poster
Rep:
|
Well I have the following vb6 code for a server:
Code:
Option Explicit
Dim sServerMsg As String
Private Sub Form_Load()
'Address must be input as a string
Dim Address As String
'Set the address equal to the web address of the pickle line camera
Address = "http://pl7cam2/operator/image_test.shtml?camNo=1&squarepixel=0&resolution=4CIF&compression=35&color=yes&rotation=0&overlayimage=0&overlaypos=0x0&date=1&clock=1&text=1&textstring=%237%20Pickle%20Exit%20Camera&textcolor=white&textbackgroundcolor=black&textpos=top&duration=NaN&fps=0kkkkkkkkkkkkkkk"
'tells the browser window to display whatever is on the web page of the address
WebBrowser1.Navigate Address
'The port number is arbitrary.
' it's best to use a fairly high number
' because the low numbers are used for
' standard services: 21 for FTP, 23 for telnet,
' 80 for HTTP etc...
Winsock1(0).LocalPort = 10119
'start listening for a connection
Winsock1(0).Listen
'Define the message and show the connection in the list box
sServerMsg = "Listening to port: "
List1.AddItem (sServerMsg)
End Sub
Private Sub Winsock1_ConnectionRequest(Index As Integer, ByVal requestID As Long)
'the winsock control has to be in a closed state
' before it can do anything else. (like accept a connection)
Winsock1(Index).Close
'Let the winsock close
DoEvents
'accept the connection request
Winsock1(Index).Accept requestID
'Define the message and display it in the list box
sServerMsg = "Serving client!"
List1.AddItem (sServerMsg)
End Sub
Private Sub Winsock1_Close(Index As Integer)
'When the other end has closed the connection,
' close server end too
Winsock1(Index).Close
'to continue listening for another connection
Winsock1(Index).Listen
'show the connection in the list box
sServerMsg = "Listening to port: "
List1.AddItem (sServerMsg)
End Sub
Private Sub Winsock1_DataArrival(Index As Integer, ByVal bytesTotal As Long)
Dim strTemp As String
'Dim strTemp2 As String
Dim a As Integer
'This event fires when the process on the other end of the connection(i.e the client)
'sends data
'retreive data from socket
Winsock1(Index).GetData strTemp
'Winsock1(Index).GetData strTemp2
'The following code separates each part of the string based on the comma
'that is present in the incoming string and parses it out into its
'respective textbox
a = InStr(strTemp, ",")
txtcoilid.Text = Left(strTemp, a - 1)
'after the first parse you must refine the string as everthing after the comma and
'repeat the process throughout the entire string
strTemp = Mid(strTemp, a + 1)
a = InStr(strTemp, ",")
txtwidth.Text = Left(strTemp, a - 1)
strTemp = Mid(strTemp, a + 1)
a = InStr(strTemp, ",")
txtlinespeed.Text = Left(strTemp, a - 1)
strTemp = Mid(strTemp, a + 1)
a = InStr(strTemp, ",")
txtexitcoillength.Text = Left(strTemp, a - 1)
End Sub
I need to convert this code to a linux language. Would I use a visual text editor for something like this or something like vi? If vi is best, how do I access it in knoppix? Any suggestions on what language to use........the server will be passed data from a vb6 client.....compatability will be an issue.....vb6 communicating with linux?
Last edited by XavierP; 06-01-2005 at 01:37 PM.
|
|
|
06-01-2005, 08:23 AM
|
#8
|
Member
Registered: May 2005
Posts: 275
Original Poster
Rep:
|
I need to start coding a server in knoppix. Where and what would I use to do this. Also how would I save and compile my code when I feel its neccessary? I am new to linux and need to know some of the basics. How do I get to whatever it is that i need to begin typing my code?
|
|
|
06-01-2005, 01:38 PM
|
#9
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
mrobertson - I edited your code listing slightly to put [code ][/ code] around it - without it the screen was very misshapen. No other changes were made.
|
|
|
06-01-2005, 05:22 PM
|
#10
|
Member
Registered: Dec 2004
Location: Georgetown, DE
Distribution: Gentoo (Kernel-2.6.18-gentoo-r5, customized :))
Posts: 101
Rep:
|
I think I understand your question better now. You would probably have better luck with this post in the Programming forum (although I know you've already posted there):
http://www.linuxquestions.org/questi...p?s=&forumid=9
The text editor you'll most likely want is Vi or Vim, although Emacs might be an option.
As I haven't coded in VB on a linux machine (On *NIX machines I generally use C++ or C, although just a little, as I'm not a very good programmer.) I wouldn't know how to port VB6 Code
Python is probably a good choice for a beginner to programming (and It's quite powerful, I've used it a bit, but you don't look like a beginner
On another note, there is a program to bring VB code over to Linux, its called Real Basic (You can get a free demo, but after that expires you have to pay) Here's the site:
http://www.realsoftware.com/
|
|
|
All times are GMT -5. The time now is 07:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|