* editing linux conf files on windows?
@ hank
` Humberto Rodriguez
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: hank @ UTC (permalink / raw)
To: Linux for blind general discussion
[-- Attachment #1: Type: text/plain, Size: 309 bytes --]
hello is there a windows text editor that will save and edit conf files eg I want to log in via sftp grab a conf file from linux box configure it on windows then save it in the unix format that it came in put it back in the dir on my linux box
there a editor that I can edit my conf files with?
thanks
hank
[-- Attachment #2: Type: text/html, Size: 756 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: editing linux conf files on windows?
editing linux conf files on windows? hank
@ ` Humberto Rodriguez
` hank
` Tim Chase
` editing linux conf files on windows? John Heim
2 siblings, 1 reply; 12+ messages in thread
From: Humberto Rodriguez @ UTC (permalink / raw)
To: 'Linux for blind general discussion'
[-- Attachment #1: Type: text/plain, Size: 882 bytes --]
Yes, EditPad, NoteTab and now TextPal, to name a few. All these allow
you to save the file in Unix format.
Jamal, the author of TextPal, just announced that very improvement to
his software today and gave the download link:
<http://www.empowermentzone.com/palsetup.exe>
http://www.empowermentzone.com/palsetup.exe
HTH,
Humberto
_____
From: blinux-list-bounces@redhat.com
[mailto:blinux-list-bounces@redhat.com] On Behalf Of hank
Sent: Saturday, May 06, 2006 6:13 PM
To: Linux for blind general discussion
Subject: editing linux conf files on windows?
hello is there a windows text editor that will save and edit conf
files eg I want to log in via sftp grab a conf file from linux box
configure it on windows then save it in the unix format that it came
in put it back in the dir on my linux box
there a editor that I can edit my conf files with?
thanks
hank
[-- Attachment #2: Type: text/html, Size: 2600 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: editing linux conf files on windows?
` Humberto Rodriguez
@ ` hank
0 siblings, 0 replies; 12+ messages in thread
From: hank @ UTC (permalink / raw)
To: Linux for blind general discussion
[-- Attachment #1: Type: text/plain, Size: 1708 bytes --]
thanks
----- Original Message -----
From: Humberto Rodriguez
To: 'Linux for blind general discussion'
Sent: Saturday, May 06, 2006 4:53 PM
Subject: RE: editing linux conf files on windows?
Yes, EditPad, NoteTab and now TextPal, to name a few. All these allow you to save the file in Unix format.
Jamal, the author of TextPal, just announced that very improvement to his software today and gave the download link:
http://www.empowermentzone.com/palsetup.exe
HTH,
Humberto
------------------------------------------------------------------------------
From: blinux-list-bounces@redhat.com [mailto:blinux-list-bounces@redhat.com] On Behalf Of hank
Sent: Saturday, May 06, 2006 6:13 PM
To: Linux for blind general discussion
Subject: editing linux conf files on windows?
hello is there a windows text editor that will save and edit conf files eg I want to log in via sftp grab a conf file from linux box configure it on windows then save it in the unix format that it came in put it back in the dir on my linux box
there a editor that I can edit my conf files with?
thanks
hank
__________ NOD32 1.1523 (20060505) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
------------------------------------------------------------------------------
_______________________________________________
Blinux-list mailing list
Blinux-list@redhat.com
https://www.redhat.com/mailman/listinfo/blinux-list
__________ NOD32 1.1523 (20060505) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
[-- Attachment #2: Type: text/html, Size: 4132 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: editing linux conf files on windows?
editing linux conf files on windows? hank
` Humberto Rodriguez
@ ` Tim Chase
` Geoff Shang
` Humberto Rodriguez
` editing linux conf files on windows? John Heim
2 siblings, 2 replies; 12+ messages in thread
From: Tim Chase @ UTC (permalink / raw)
To: Linux for blind general discussion
> hello is there a windows text editor that will save and
> edit conf files eg I want to log in via sftp grab a conf
> file from linux box configure it on windows then save it
> in the unix format that it came in put it back in the dir
> on my linux box there a editor that I can edit my conf
> files with?
You've got a couple options:
1) you can ssh into the remote box and edit it with a linux
editor. This is usually the approach I take, and it works
quite well for me.
2) you can do as you describe, and FTP the file, then use a
Unix-aware editor on Windows, and then FTP the file back.
In addition to the editors mentioned by Humberto, there's
vim/gvim. The nice thing about learning this beast is that
it runs on both Windows and Linux (and BSD, and MacOS, and...)
3) you can use a network/sftp aware editor. Vim has the
"netrw" plugin which allows you to directly edit files over
FTP, SFTP, HTTP, DAV, RCP, rsync and others. There's plenty
of online help in Vim on the netrw plugin at
:help netrw
I'm afraid, being a vim-user, I don't know of any other
editors that allow this. I presume emacs can do the same,
but I wouldn't know where to start, using it.
4) lastly, you can do exactly as you're currently doing,
only exploit FTP's built-in ability to do DOS-to-UNIX
line-ending conversion. If you FTP the file in ASCII mode
(rather than BINARY mode), it will translate the
line-endings to your local (Windows) scheme. You can then
edit the file with whatever editor you like. Then, when you
FTP it back, just make sure that it's in ASCII mode again,
and FTP will do the translation from DOS line-endings to
UNIX line-endings as it uploads the file
Hope this gives you some options to explore on how to work best.
-tim
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: editing linux conf files on windows?
` Tim Chase
@ ` Geoff Shang
` Humberto Rodriguez
1 sibling, 0 replies; 12+ messages in thread
From: Geoff Shang @ UTC (permalink / raw)
To: Linux for blind general discussion
Hi,
In addition to all the other suggestions, you can also use fromdos and
todos from the sysutils package to transllate files on the LInux side.
Geoff.
--
Geoff Shang <geoff@hitsandpieces.net>
Phone: +61-418-96-5590
MSN: geoff@acbradio.org
Make sure your E-mail can be read by everyone!
http://www.betips.net/etc/evilmail.html
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: editing linux conf files on windows?
` Tim Chase
` Geoff Shang
@ ` Humberto Rodriguez
` hank
1 sibling, 1 reply; 12+ messages in thread
From: Humberto Rodriguez @ UTC (permalink / raw)
To: 'Linux for blind general discussion'
To add something to the excellent explanation given to you by Tim, let
me tell you how I do it.
I use Samba. Samba allows you to map a drive letter to the remote
Unix machine and reach it from your Windows machine as if it were a
drive in your own computer. That way, from my Windows computer, I
open a file in my Unix server, lets say for example, from my text
editor, I open t:\home\abc\cgi-bin\whatever\myscript.pl then edit it
and save it with Unix line endings. It is as easy as editing a file
in Windows. Similarly, I may create a new Unix file in the server. I
could also copy files to and from the server, as easily as copying
from one folder to another. I never use FTP. Samba usually comes
with Linux.
Using Telnet, I take care of the permissions. You could also do it
with SSH or FTP, but I use Telnet.
Beware however, that both Telnet and Samba are security risks and need
to be restricted. I have mine restricted only to certain static IPs.
HTH,
Humberto
-----Original Message-----
From: blinux-list-bounces@redhat.com
[mailto:blinux-list-bounces@redhat.com] On Behalf Of Tim Chase
Sent: Sunday, May 07, 2006 9:07 AM
To: Linux for blind general discussion
Subject: Re: editing linux conf files on windows?
> hello is there a windows text editor that will save and
> edit conf files eg I want to log in via sftp grab a conf
> file from linux box configure it on windows then save it
> in the unix format that it came in put it back in the dir
> on my linux box there a editor that I can edit my conf
> files with?
You've got a couple options:
1) you can ssh into the remote box and edit it with a linux
editor. This is usually the approach I take, and it works
quite well for me.
2) you can do as you describe, and FTP the file, then use a
Unix-aware editor on Windows, and then FTP the file back.
In addition to the editors mentioned by Humberto, there's
vim/gvim. The nice thing about learning this beast is that
it runs on both Windows and Linux (and BSD, and MacOS, and...)
3) you can use a network/sftp aware editor. Vim has the
"netrw" plugin which allows you to directly edit files over
FTP, SFTP, HTTP, DAV, RCP, rsync and others. There's plenty
of online help in Vim on the netrw plugin at
:help netrw
I'm afraid, being a vim-user, I don't know of any other
editors that allow this. I presume emacs can do the same,
but I wouldn't know where to start, using it.
4) lastly, you can do exactly as you're currently doing,
only exploit FTP's built-in ability to do DOS-to-UNIX
line-ending conversion. If you FTP the file in ASCII mode
(rather than BINARY mode), it will translate the
line-endings to your local (Windows) scheme. You can then
edit the file with whatever editor you like. Then, when you
FTP it back, just make sure that it's in ASCII mode again,
and FTP will do the translation from DOS line-endings to
UNIX line-endings as it uploads the file
Hope this gives you some options to explore on how to work best.
-tim
_______________________________________________
Blinux-list mailing list
Blinux-list@redhat.com
https://www.redhat.com/mailman/listinfo/blinux-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: editing linux conf files on windows?
` Humberto Rodriguez
@ ` hank
` Humberto Rodriguez
` Samba (was: editing linux conf ( John Heim
0 siblings, 2 replies; 12+ messages in thread
From: hank @ UTC (permalink / raw)
To: Linux for blind general discussion
is it easy to set up?
----- Original Message -----
From: "Humberto Rodriguez" <sub@hrfinancial.com>
To: "'Linux for blind general discussion'" <blinux-list@redhat.com>
Sent: Sunday, May 07, 2006 3:32 PM
Subject: RE: editing linux conf files on windows?
> To add something to the excellent explanation given to you by Tim, let
> me tell you how I do it.
>
> I use Samba. Samba allows you to map a drive letter to the remote
> Unix machine and reach it from your Windows machine as if it were a
> drive in your own computer. That way, from my Windows computer, I
> open a file in my Unix server, lets say for example, from my text
> editor, I open t:\home\abc\cgi-bin\whatever\myscript.pl then edit it
> and save it with Unix line endings. It is as easy as editing a file
> in Windows. Similarly, I may create a new Unix file in the server. I
> could also copy files to and from the server, as easily as copying
> from one folder to another. I never use FTP. Samba usually comes
> with Linux.
>
> Using Telnet, I take care of the permissions. You could also do it
> with SSH or FTP, but I use Telnet.
>
> Beware however, that both Telnet and Samba are security risks and need
> to be restricted. I have mine restricted only to certain static IPs.
>
> HTH,
>
> Humberto
>
>
> -----Original Message-----
> From: blinux-list-bounces@redhat.com
> [mailto:blinux-list-bounces@redhat.com] On Behalf Of Tim Chase
> Sent: Sunday, May 07, 2006 9:07 AM
> To: Linux for blind general discussion
> Subject: Re: editing linux conf files on windows?
>
>> hello is there a windows text editor that will save and
>> edit conf files eg I want to log in via sftp grab a conf
>> file from linux box configure it on windows then save it
>> in the unix format that it came in put it back in the dir
>> on my linux box there a editor that I can edit my conf
>> files with?
>
> You've got a couple options:
>
> 1) you can ssh into the remote box and edit it with a linux
> editor. This is usually the approach I take, and it works
> quite well for me.
>
> 2) you can do as you describe, and FTP the file, then use a
> Unix-aware editor on Windows, and then FTP the file back.
> In addition to the editors mentioned by Humberto, there's
> vim/gvim. The nice thing about learning this beast is that
> it runs on both Windows and Linux (and BSD, and MacOS, and...)
>
> 3) you can use a network/sftp aware editor. Vim has the
> "netrw" plugin which allows you to directly edit files over
> FTP, SFTP, HTTP, DAV, RCP, rsync and others. There's plenty
> of online help in Vim on the netrw plugin at
>
> :help netrw
>
> I'm afraid, being a vim-user, I don't know of any other
> editors that allow this. I presume emacs can do the same,
> but I wouldn't know where to start, using it.
>
> 4) lastly, you can do exactly as you're currently doing,
> only exploit FTP's built-in ability to do DOS-to-UNIX
> line-ending conversion. If you FTP the file in ASCII mode
> (rather than BINARY mode), it will translate the
> line-endings to your local (Windows) scheme. You can then
> edit the file with whatever editor you like. Then, when you
> FTP it back, just make sure that it's in ASCII mode again,
> and FTP will do the translation from DOS line-endings to
> UNIX line-endings as it uploads the file
>
> Hope this gives you some options to explore on how to work best.
>
> -tim
>
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
> __________ NOD32 1.1523 (20060505) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: editing linux conf files on windows?
` hank
@ ` Humberto Rodriguez
` hank
` Samba (was: editing linux conf ( John Heim
1 sibling, 1 reply; 12+ messages in thread
From: Humberto Rodriguez @ UTC (permalink / raw)
To: 'Linux for blind general discussion'
It is not hard, but I don't know how to do it. My son set it up for
me. It has to be set up at the server and in your computer. Maybe
someone else here in the list can help you. Remember about the
security precautions and restrict the access. I do have a static IP
from my DSL.
Regards,
Humberto
-----Original Message-----
From: blinux-list-bounces@redhat.com
[mailto:blinux-list-bounces@redhat.com] On Behalf Of hank
Sent: Sunday, May 07, 2006 7:23 PM
To: Linux for blind general discussion
Subject: Re: editing linux conf files on windows?
is it easy to set up?
----- Original Message -----
From: "Humberto Rodriguez" <sub@hrfinancial.com>
To: "'Linux for blind general discussion'" <blinux-list@redhat.com>
Sent: Sunday, May 07, 2006 3:32 PM
Subject: RE: editing linux conf files on windows?
> To add something to the excellent explanation given to you by Tim,
let
> me tell you how I do it.
>
> I use Samba. Samba allows you to map a drive letter to the remote
> Unix machine and reach it from your Windows machine as if it were a
> drive in your own computer. That way, from my Windows computer, I
> open a file in my Unix server, lets say for example, from my text
> editor, I open t:\home\abc\cgi-bin\whatever\myscript.pl then edit it
> and save it with Unix line endings. It is as easy as editing a file
> in Windows. Similarly, I may create a new Unix file in the server.
I
> could also copy files to and from the server, as easily as copying
> from one folder to another. I never use FTP. Samba usually comes
> with Linux.
>
> Using Telnet, I take care of the permissions. You could also do it
> with SSH or FTP, but I use Telnet.
>
> Beware however, that both Telnet and Samba are security risks and
need
> to be restricted. I have mine restricted only to certain static
IPs.
>
> HTH,
>
> Humberto
>
>
> -----Original Message-----
> From: blinux-list-bounces@redhat.com
> [mailto:blinux-list-bounces@redhat.com] On Behalf Of Tim Chase
> Sent: Sunday, May 07, 2006 9:07 AM
> To: Linux for blind general discussion
> Subject: Re: editing linux conf files on windows?
>
>> hello is there a windows text editor that will save and
>> edit conf files eg I want to log in via sftp grab a conf
>> file from linux box configure it on windows then save it
>> in the unix format that it came in put it back in the dir
>> on my linux box there a editor that I can edit my conf
>> files with?
>
> You've got a couple options:
>
> 1) you can ssh into the remote box and edit it with a linux
> editor. This is usually the approach I take, and it works
> quite well for me.
>
> 2) you can do as you describe, and FTP the file, then use a
> Unix-aware editor on Windows, and then FTP the file back.
> In addition to the editors mentioned by Humberto, there's
> vim/gvim. The nice thing about learning this beast is that
> it runs on both Windows and Linux (and BSD, and MacOS, and...)
>
> 3) you can use a network/sftp aware editor. Vim has the
> "netrw" plugin which allows you to directly edit files over
> FTP, SFTP, HTTP, DAV, RCP, rsync and others. There's plenty
> of online help in Vim on the netrw plugin at
>
> :help netrw
>
> I'm afraid, being a vim-user, I don't know of any other
> editors that allow this. I presume emacs can do the same,
> but I wouldn't know where to start, using it.
>
> 4) lastly, you can do exactly as you're currently doing,
> only exploit FTP's built-in ability to do DOS-to-UNIX
> line-ending conversion. If you FTP the file in ASCII mode
> (rather than BINARY mode), it will translate the
> line-endings to your local (Windows) scheme. You can then
> edit the file with whatever editor you like. Then, when you
> FTP it back, just make sure that it's in ASCII mode again,
> and FTP will do the translation from DOS line-endings to
> UNIX line-endings as it uploads the file
>
> Hope this gives you some options to explore on how to work best.
>
> -tim
>
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
> __________ NOD32 1.1523 (20060505) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
_______________________________________________
Blinux-list mailing list
Blinux-list@redhat.com
https://www.redhat.com/mailman/listinfo/blinux-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: editing linux conf files on windows?
` Humberto Rodriguez
@ ` hank
` Humberto Rodriguez
0 siblings, 1 reply; 12+ messages in thread
From: hank @ UTC (permalink / raw)
To: Linux for blind general discussion
what dsl you with?
msn doesn't offer statick ip with there dsl powered buy qwest
----- Original Message -----
From: "Humberto Rodriguez" <sub@hrfinancial.com>
To: "'Linux for blind general discussion'" <blinux-list@redhat.com>
Sent: Sunday, May 07, 2006 4:38 PM
Subject: RE: editing linux conf files on windows?
> It is not hard, but I don't know how to do it. My son set it up for
> me. It has to be set up at the server and in your computer. Maybe
> someone else here in the list can help you. Remember about the
> security precautions and restrict the access. I do have a static IP
> from my DSL.
> Regards,
> Humberto
>
>
> -----Original Message-----
> From: blinux-list-bounces@redhat.com
> [mailto:blinux-list-bounces@redhat.com] On Behalf Of hank
> Sent: Sunday, May 07, 2006 7:23 PM
> To: Linux for blind general discussion
> Subject: Re: editing linux conf files on windows?
>
> is it easy to set up?
> ----- Original Message -----
> From: "Humberto Rodriguez" <sub@hrfinancial.com>
> To: "'Linux for blind general discussion'" <blinux-list@redhat.com>
> Sent: Sunday, May 07, 2006 3:32 PM
> Subject: RE: editing linux conf files on windows?
>
>
>> To add something to the excellent explanation given to you by Tim,
> let
>> me tell you how I do it.
>>
>> I use Samba. Samba allows you to map a drive letter to the remote
>> Unix machine and reach it from your Windows machine as if it were a
>> drive in your own computer. That way, from my Windows computer, I
>> open a file in my Unix server, lets say for example, from my text
>> editor, I open t:\home\abc\cgi-bin\whatever\myscript.pl then edit it
>> and save it with Unix line endings. It is as easy as editing a file
>> in Windows. Similarly, I may create a new Unix file in the server.
> I
>> could also copy files to and from the server, as easily as copying
>> from one folder to another. I never use FTP. Samba usually comes
>> with Linux.
>>
>> Using Telnet, I take care of the permissions. You could also do it
>> with SSH or FTP, but I use Telnet.
>>
>> Beware however, that both Telnet and Samba are security risks and
> need
>> to be restricted. I have mine restricted only to certain static
> IPs.
>>
>> HTH,
>>
>> Humberto
>>
>>
>> -----Original Message-----
>> From: blinux-list-bounces@redhat.com
>> [mailto:blinux-list-bounces@redhat.com] On Behalf Of Tim Chase
>> Sent: Sunday, May 07, 2006 9:07 AM
>> To: Linux for blind general discussion
>> Subject: Re: editing linux conf files on windows?
>>
>>> hello is there a windows text editor that will save and
>>> edit conf files eg I want to log in via sftp grab a conf
>>> file from linux box configure it on windows then save it
>>> in the unix format that it came in put it back in the dir
>>> on my linux box there a editor that I can edit my conf
>>> files with?
>>
>> You've got a couple options:
>>
>> 1) you can ssh into the remote box and edit it with a linux
>> editor. This is usually the approach I take, and it works
>> quite well for me.
>>
>> 2) you can do as you describe, and FTP the file, then use a
>> Unix-aware editor on Windows, and then FTP the file back.
>> In addition to the editors mentioned by Humberto, there's
>> vim/gvim. The nice thing about learning this beast is that
>> it runs on both Windows and Linux (and BSD, and MacOS, and...)
>>
>> 3) you can use a network/sftp aware editor. Vim has the
>> "netrw" plugin which allows you to directly edit files over
>> FTP, SFTP, HTTP, DAV, RCP, rsync and others. There's plenty
>> of online help in Vim on the netrw plugin at
>>
>> :help netrw
>>
>> I'm afraid, being a vim-user, I don't know of any other
>> editors that allow this. I presume emacs can do the same,
>> but I wouldn't know where to start, using it.
>>
>> 4) lastly, you can do exactly as you're currently doing,
>> only exploit FTP's built-in ability to do DOS-to-UNIX
>> line-ending conversion. If you FTP the file in ASCII mode
>> (rather than BINARY mode), it will translate the
>> line-endings to your local (Windows) scheme. You can then
>> edit the file with whatever editor you like. Then, when you
>> FTP it back, just make sure that it's in ASCII mode again,
>> and FTP will do the translation from DOS line-endings to
>> UNIX line-endings as it uploads the file
>>
>> Hope this gives you some options to explore on how to work best.
>>
>> -tim
>>
>>
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>>
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>>
>> __________ NOD32 1.1523 (20060505) Information __________
>>
>> This message was checked by NOD32 antivirus system.
>> http://www.eset.com
>>
>>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
> __________ NOD32 1.1523 (20060505) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: editing linux conf files on windows?
` hank
@ ` Humberto Rodriguez
0 siblings, 0 replies; 12+ messages in thread
From: Humberto Rodriguez @ UTC (permalink / raw)
To: 'Linux for blind general discussion'
I am with DSLI (www.DSLI.com) and they do offer static IPs. Bell
South and Atlantic Broadband also offer it, for extra charge.
Humberto
-----Original Message-----
From: blinux-list-bounces@redhat.com
[mailto:blinux-list-bounces@redhat.com] On Behalf Of hank
Sent: Sunday, May 07, 2006 7:45 PM
To: Linux for blind general discussion
Subject: Re: editing linux conf files on windows?
what dsl you with?
msn doesn't offer statick ip with there dsl powered buy qwest
----- Original Message -----
From: "Humberto Rodriguez" <sub@hrfinancial.com>
To: "'Linux for blind general discussion'" <blinux-list@redhat.com>
Sent: Sunday, May 07, 2006 4:38 PM
Subject: RE: editing linux conf files on windows?
> It is not hard, but I don't know how to do it. My son set it up for
> me. It has to be set up at the server and in your computer. Maybe
> someone else here in the list can help you. Remember about the
> security precautions and restrict the access. I do have a static IP
> from my DSL.
> Regards,
> Humberto
>
>
> -----Original Message-----
> From: blinux-list-bounces@redhat.com
> [mailto:blinux-list-bounces@redhat.com] On Behalf Of hank
> Sent: Sunday, May 07, 2006 7:23 PM
> To: Linux for blind general discussion
> Subject: Re: editing linux conf files on windows?
>
> is it easy to set up?
> ----- Original Message -----
> From: "Humberto Rodriguez" <sub@hrfinancial.com>
> To: "'Linux for blind general discussion'" <blinux-list@redhat.com>
> Sent: Sunday, May 07, 2006 3:32 PM
> Subject: RE: editing linux conf files on windows?
>
>
>> To add something to the excellent explanation given to you by Tim,
> let
>> me tell you how I do it.
>>
>> I use Samba. Samba allows you to map a drive letter to the remote
>> Unix machine and reach it from your Windows machine as if it were a
>> drive in your own computer. That way, from my Windows computer, I
>> open a file in my Unix server, lets say for example, from my text
>> editor, I open t:\home\abc\cgi-bin\whatever\myscript.pl then edit
it
>> and save it with Unix line endings. It is as easy as editing a
file
>> in Windows. Similarly, I may create a new Unix file in the server.
> I
>> could also copy files to and from the server, as easily as copying
>> from one folder to another. I never use FTP. Samba usually comes
>> with Linux.
>>
>> Using Telnet, I take care of the permissions. You could also do it
>> with SSH or FTP, but I use Telnet.
>>
>> Beware however, that both Telnet and Samba are security risks and
> need
>> to be restricted. I have mine restricted only to certain static
> IPs.
>>
>> HTH,
>>
>> Humberto
>>
>>
>> -----Original Message-----
>> From: blinux-list-bounces@redhat.com
>> [mailto:blinux-list-bounces@redhat.com] On Behalf Of Tim Chase
>> Sent: Sunday, May 07, 2006 9:07 AM
>> To: Linux for blind general discussion
>> Subject: Re: editing linux conf files on windows?
>>
>>> hello is there a windows text editor that will save and
>>> edit conf files eg I want to log in via sftp grab a conf
>>> file from linux box configure it on windows then save it
>>> in the unix format that it came in put it back in the dir
>>> on my linux box there a editor that I can edit my conf
>>> files with?
>>
>> You've got a couple options:
>>
>> 1) you can ssh into the remote box and edit it with a linux
>> editor. This is usually the approach I take, and it works
>> quite well for me.
>>
>> 2) you can do as you describe, and FTP the file, then use a
>> Unix-aware editor on Windows, and then FTP the file back.
>> In addition to the editors mentioned by Humberto, there's
>> vim/gvim. The nice thing about learning this beast is that
>> it runs on both Windows and Linux (and BSD, and MacOS, and...)
>>
>> 3) you can use a network/sftp aware editor. Vim has the
>> "netrw" plugin which allows you to directly edit files over
>> FTP, SFTP, HTTP, DAV, RCP, rsync and others. There's plenty
>> of online help in Vim on the netrw plugin at
>>
>> :help netrw
>>
>> I'm afraid, being a vim-user, I don't know of any other
>> editors that allow this. I presume emacs can do the same,
>> but I wouldn't know where to start, using it.
>>
>> 4) lastly, you can do exactly as you're currently doing,
>> only exploit FTP's built-in ability to do DOS-to-UNIX
>> line-ending conversion. If you FTP the file in ASCII mode
>> (rather than BINARY mode), it will translate the
>> line-endings to your local (Windows) scheme. You can then
>> edit the file with whatever editor you like. Then, when you
>> FTP it back, just make sure that it's in ASCII mode again,
>> and FTP will do the translation from DOS line-endings to
>> UNIX line-endings as it uploads the file
>>
>> Hope this gives you some options to explore on how to work best.
>>
>> -tim
>>
>>
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>>
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>>
>> __________ NOD32 1.1523 (20060505) Information __________
>>
>> This message was checked by NOD32 antivirus system.
>> http://www.eset.com
>>
>>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
> __________ NOD32 1.1523 (20060505) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
_______________________________________________
Blinux-list mailing list
Blinux-list@redhat.com
https://www.redhat.com/mailman/listinfo/blinux-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: editing linux conf files on windows?
editing linux conf files on windows? hank
` Humberto Rodriguez
` Tim Chase
@ ` John Heim
2 siblings, 0 replies; 12+ messages in thread
From: John Heim @ UTC (permalink / raw)
To: Linux for blind general discussion
At 05:13 PM 5/6/2006, hank wrote:
>hello is there a windows text editor that will save and edit conf files eg
>I want to log in via sftp grab a conf file from linux box configure it on
>windows then save it in the unix format that it came in put it back in the
>dir on my linux box
>there a editor that I can edit my conf files with?
>thanks
I use UltraEdit for this.
Another thing you can do is mount your linux hard drive as a Windows
network share via samba and then use TextPad to edit the files. TextPad
does not support sftp but I have found it easier to use and less buggy than
UltraEdit.
So I do both things. Sometimes I edit config files via UltraEdit and sftp.
Sometimes I log into a machine, copy the config file to the samba share,
edit it with TextPad, and then copy it back. The second technique may seem
like a lot of work but it has the added benefit of being safer. You're
making a copy before you edit (which you should do anyway).
^ permalink raw reply [flat|nested] 12+ messages in thread
* Samba (was: editing linux conf (
` hank
` Humberto Rodriguez
@ ` John Heim
1 sibling, 0 replies; 12+ messages in thread
From: John Heim @ UTC (permalink / raw)
To: Linux for blind general discussion
At 06:23 PM 5/7/2006, hank wrote:
>is it easy to set up?
Samba is notoriously difficult to set up. Well, everybody I've ever talked
to struggled with it at first. After you get to know it, you're like, "Why
did this seem so hard?"
I'll admit, I've gotten impatient with people who are struggling with samba
because it seems so easy now. But I remember spending an entire weekend
working on it the first time I set it up.
For me, the key was to calmly and carefully go through the
troubleshooting guide on the samba.org web site. If you just keep poking,
you're never going to figure it out. But the troubleshooting guide walks
you through each possible failure point so that you're sure each level is
working before moving on to the next.
It's well worth the effort though. Samba is a very, very important tool.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
editing linux conf files on windows? hank
` Humberto Rodriguez
` hank
` Tim Chase
` Geoff Shang
` Humberto Rodriguez
` hank
` Humberto Rodriguez
` hank
` Humberto Rodriguez
` Samba (was: editing linux conf ( John Heim
` editing linux conf files on windows? John Heim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).