Re: text editor
On getting vim text editor (vi improved) for FreeBSD, you can either pkg_add or use the ports system, where you build from source code with a convenient setup. You can check http://www.freebsd.org/ and check the documentation, including the handbook and ports system. I've heard of Cygwin but never run it because I don't have MS-Windows installed. From what I read, it creates a Unix-like environment under MS-Windows. I hear that MS is getting rid of 16-bit DOS compatibility, so you might not be able to run DOS software under Win 7. But you can go to http://www.dosbox.com/ DOSBox can run under current Unix-like OSes and also MS-Windows. You may be able to download a win32 installer, I just found it there, would that run on 64-bit Windows? I have run (Borland) Quattro Pro 5 for DOS under Linux, NetBSD and FreeBSD with DOSBox. Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Tue, 28 Aug 2012 22:41:52 + Robin, Michael ro...@chapman.edu wrote: What is VIM? Where could it be downloaded? What is CLI? I am looking for GUI/command prompt text editor for Windows 7/8. The notepad plus program lacks start/end block setting option even though it have a lot of hot keys. You might want to check out SciTE as well (GUI editor). It's available from ports in editors/scite and the Windows version can be downloaded from: http://www.scintilla.org/SciTEDownload.html My top priority is setting start/end block option which was available for old DOS-based text editor, but I have not seen any window-based text editor for this option. 16-bit DOS text editor program will not run on 64-bit operating system. Please advise. Thank you. None of the current 64bit versions of Windows include NTVDM (the DOS emulator). Michael Programmer Analyst -Original Message- From: Devin Teske [mailto:devin.te...@fisglobal.com] On Behalf Of dte...@freebsd.org Sent: Tuesday, August 28, 2012 3:25 PM To: Robin, Michael; freebsd-questions@freebsd.org Subject: RE: text editor -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Robin, Michael Sent: Tuesday, August 28, 2012 3:10 PM To: 'freebsd-questions@freebsd.org' Subject: text editor Which text editor program will run 64-bit operating system On FreeBSD? In the GUI? or on the CLI? with following features: * Support 100 percent of hot keys How many is that? If a program has programmable hot keys, would that suffice? * Hot keys available for setting start/end block to be copied, moved or deleted without requiring any mouse lock. It is not possible to use mouse lock or to hold shift key combined with navigating key at the same time without accidently dese4lcing. A challenge, no-doubt. * Support special ASCII characters Less of a challenge. Most editors are good about special ASCII characters (the ones that don't are in the minority, imho). ... I'd honestly recommend vim (CLI) or gvim (GUI). NOTE: Assuming FreeBSD here. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
[ dte...@freebsd.org wrote on Tue 28.Aug'12 at 16:42:06 -0700 ] -Original Message- From: Robin, Michael [mailto:ro...@chapman.edu] Sent: Tuesday, August 28, 2012 3:42 PM To: 'dte...@freebsd.org'; freebsd-questions@freebsd.org Subject: RE: text editor What is VIM? A _much_ improved version of vi (vi is the ubiquitous UNIX text editor written by Bill Joy in 1976), vim itself being born in 1991 by a man named Bram Moolenaar. Where could it be downloaded? As Polytropon mentioned, FreeBSD has a built-in software acquisition system. Executing: pkg_add -r vim will install the VIM text editor (immediately after-which you can type rehash -- if using [t]csh -- and then vim FILE to start editing files). However, I recognize the need to sometimes know where your food comes from, so below are some links. NOTE: You need to know what version of FreeBSD you're using... For recent versions of FreeBSD: ftp://ftp.freebsd.org/pub/FreeBSD/releases/ For older versions of FreeBSD: ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/ Then under there, you'll have to select i386 for 32-bit builds, or amd64 for 64-bit builds (etc.). Then under there, you'll have to select your appropriate version (e.g., 8.1-RELEASE). Then under there, you'll navigate to packages then either All or a specific sub-category. In there, you'll find vim-VERSION (ending in either .tgz, .tbz, or .txz, depending on your version of FreeBSD; mind you the suffix matters not to your ability to install the software). You'll also find gvim-VERSION there too. Please keep in-mind that this is _NOT_ the recommended way of electively installing software on FreeBSD. I'm merely explaining this so that you know where software for FreeBSD comes from (loosely; I'm leaving out a lot and choosing to focus on the consumer-side of things for the benefit of clarity). What is CLI? Before Windows and Apple, computers were told what to do without a mouse. This interface was called the command line. It has a very rich history and is still common-place in server environments. I am looking for GUI/command prompt text editor for Windows 7/8. I'd recommend getting to know something called Cygwin. It will allow you to run software such as VIM on Windows. The main website for Cygwin is: http://cygwin.com/ You can even run gVIM (the graphical version of VIM designed to run in the GUI) on Windows. Surely, you can run special versions of VIM on Windows _without_ Cygwin (link below), but I recommend Cygwin if you're going to program on UNIX at all (conflating your Windows environment with a UNIX-compatible environment is a convenience that many find helpful in making work more efficient). [g]VIM for MS-DOS and/or MS-Windows: http://www.vim.org/download.php#pc NOTE: There are downloads for self-installing executables for added convenience. The notepad plus program lacks start/end block setting option even though it have a lot of hot keys. My top priority is setting start/end block option which was available for old DOS-based text editor, but I have not seen any window-based text editor for this option. 16-bit DOS text editor program will not run on 64-bit operating system. Have you tried compatibility mode? Win7 has a compatibility mode that it can run executables in. I think it has a compat mode that will run 16-bit DOS programs, but I must admit that I've not tried. -- Devin Please advise. Thank you. Michael Programmer Analyst -Original Message- From: Devin Teske [mailto:devin.te...@fisglobal.com] On Behalf Of dte...@freebsd.org Sent: Tuesday, August 28, 2012 3:25 PM To: Robin, Michael; freebsd-questions@freebsd.org Subject: RE: text editor -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Robin, Michael Sent: Tuesday, August 28, 2012 3:10 PM To: 'freebsd-questions@freebsd.org' Subject: text editor Which text editor program will run 64-bit operating system On FreeBSD? In the GUI? or on the CLI? with following features: * Support 100 percent of hot keys How many is that? If a program has programmable hot keys, would that suffice? * Hot keys available for setting start/end block to be copied, moved or deleted without requiring any mouse lock. It is not possible to use mouse lock or to hold shift key combined with navigating key at the same time without accidently dese4lcing. A challenge, no-doubt. * Support special ASCII characters Less of a challenge. Most editors are good about special ASCII characters (the ones that don't are in the minority, imho). ... I'd honestly recommend vim (CLI) or gvim (GUI). NOTE: Assuming FreeBSD here. -- Devin
text editor
Which text editor program will run 64-bit operating system with following features: * Support 100 percent of hot keys * Hot keys available for setting start/end block to be copied, moved or deleted without requiring any mouse lock. It is not possible to use mouse lock or to hold shift key combined with navigating key at the same time without accidently dese4lcing. * Support special ASCII characters Please advise. Thank you. Michael Programmer Analyst ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: text editor
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Robin, Michael Sent: Tuesday, August 28, 2012 3:10 PM To: 'freebsd-questions@freebsd.org' Subject: text editor Which text editor program will run 64-bit operating system On FreeBSD? In the GUI? or on the CLI? with following features: * Support 100 percent of hot keys How many is that? If a program has programmable hot keys, would that suffice? * Hot keys available for setting start/end block to be copied, moved or deleted without requiring any mouse lock. It is not possible to use mouse lock or to hold shift key combined with navigating key at the same time without accidently dese4lcing. A challenge, no-doubt. * Support special ASCII characters Less of a challenge. Most editors are good about special ASCII characters (the ones that don't are in the minority, imho). ... I'd honestly recommend vim (CLI) or gvim (GUI). NOTE: Assuming FreeBSD here. -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: text editor
What is VIM? Where could it be downloaded? What is CLI? I am looking for GUI/command prompt text editor for Windows 7/8. The notepad plus program lacks start/end block setting option even though it have a lot of hot keys. My top priority is setting start/end block option which was available for old DOS-based text editor, but I have not seen any window-based text editor for this option. 16-bit DOS text editor program will not run on 64-bit operating system. Please advise. Thank you. Michael Programmer Analyst -Original Message- From: Devin Teske [mailto:devin.te...@fisglobal.com] On Behalf Of dte...@freebsd.org Sent: Tuesday, August 28, 2012 3:25 PM To: Robin, Michael; freebsd-questions@freebsd.org Subject: RE: text editor -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Robin, Michael Sent: Tuesday, August 28, 2012 3:10 PM To: 'freebsd-questions@freebsd.org' Subject: text editor Which text editor program will run 64-bit operating system On FreeBSD? In the GUI? or on the CLI? with following features: * Support 100 percent of hot keys How many is that? If a program has programmable hot keys, would that suffice? * Hot keys available for setting start/end block to be copied, moved or deleted without requiring any mouse lock. It is not possible to use mouse lock or to hold shift key combined with navigating key at the same time without accidently dese4lcing. A challenge, no-doubt. * Support special ASCII characters Less of a challenge. Most editors are good about special ASCII characters (the ones that don't are in the minority, imho). ... I'd honestly recommend vim (CLI) or gvim (GUI). NOTE: Assuming FreeBSD here. -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Tue, 28 Aug 2012 22:09:39 +, Robin, Michael wrote: Which text editor program will run 64-bit operating system with following features: * Support 100 percent of hot keys Depends also on the terminal emulator used and if it's configured properly. Editors like the one belonging to the Midnight Commander (mcedit) can learn keys. * Hot keys available for setting start/end block to be copied, moved or deleted without requiring any mouse lock. That applies to most editors, like Joe's Own Editor (joe), mcedit (already mentioned) or vi / vim. It is not possible to use mouse lock or to hold shift key combined with navigating key at the same time without accidently dese4lcing. I know that both mcedit and joe support this, i. e. editing inside an already selected region; joe also is able to handle the begin and the end of the selection independently (^KB and ^KK). * Support special ASCII characters Also depends on terminal emulator and certain system settings, as well as your preferred input method. I've been succhessfully using chinese characters in mcedit running in xterm with the LC_* language setting to en_US.UTF-8. Use with non-UTF local characters is easlily possible even in text mode consoles, using e. g. ISO8859-1 on cons25l1 emulation. I'm quite sure that even the basic editors can support that. As a programmer, you should have no problems evaluating the family of editor you will use, and find the one that fits your needs best. Try for example vim and gvim, also give mcedit and joe a try. Make sure your system is properly configured (terminal emulation and language settings, keyboard settings) so you can benefit from what those editors can do. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Tue, 28 Aug 2012 22:41:52 +, Robin, Michael wrote: What is VIM? VI = VI Improved, based on vi-like editor behaviour, which is often considered one of the MAIN editor environments among programmers. Where could it be downloaded? You don't manually download things on FreeBSD. You install software by a system means. I suggest you make yourself familiar with the OS and how to install programs using The FreeBSD handbook and the FAQ, accessible from the project's main web page. In short, # pkg_add -r vim or # pkg_add -r gvim should install vim or gvim (the Gtk-enhanced vim editor) for you easily. What is CLI? Command line interface, a common name for text mode applications (even when they run in a terminal emulator under X), so the term doesn't fit 100 percent here. A command line editor could be sed (the stream editor), which is a a non-interactive editor, programmed by its programming language and via command line arguments. But also text mode editors like joe or vim allow many command line arguments (see the respective manpages to learn more). To a Programmer Analyst that should be known, but don't bother. :-) I am looking for GUI/command prompt text editor for Windows 7/8. You should then consult a mailing list (or probably a web-based discussion forum) related to Windows topics. In worst case, install a FreeBSD image for a virtualisation environment (e. g. VirtualBSD) and use that for edititing. :-) My top priority is setting start/end block option which was available for old DOS-based text editor, but I have not seen any window-based text editor for this option. I'm sure there are ports of normal text editors also for Windows. But this list -- FreeBSD questions -- is not the best place to ask for what they are or where to download them. 16-bit DOS text editor program will not run on 64-bit operating system. That lack of compatibility is a significant problem on Windows, don't you think? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
Hi, On Tue, 28 Aug 2012 22:41:52 + Robin, Michael ro...@chapman.edu wrote: What is VIM? Where could it be downloaded? What is CLI? I am looking for GUI/command prompt text editor for Windows 7/8. The notepad plus program lacks start/end block setting option even though it have a lot of hot keys. My top priority is setting start/end block option which was available for old DOS-based text editor, but I have not seen any window-based text editor for this option. 16-bit DOS text editor program will not run on 64-bit operating system. Please advise. Thank you. Michael Programmer Analyst Analyst? And you did not notice that you are on a FreeBSD mailing list? Erich -Original Message- From: Devin Teske [mailto:devin.te...@fisglobal.com] On Behalf Of dte...@freebsd.org Sent: Tuesday, August 28, 2012 3:25 PM To: Robin, Michael; freebsd-questions@freebsd.org Subject: RE: text editor -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Robin, Michael Sent: Tuesday, August 28, 2012 3:10 PM To: 'freebsd-questions@freebsd.org' Subject: text editor Which text editor program will run 64-bit operating system On FreeBSD? In the GUI? or on the CLI? with following features: * Support 100 percent of hot keys How many is that? If a program has programmable hot keys, would that suffice? * Hot keys available for setting start/end block to be copied, moved or deleted without requiring any mouse lock. It is not possible to use mouse lock or to hold shift key combined with navigating key at the same time without accidently dese4lcing. A challenge, no-doubt. * Support special ASCII characters Less of a challenge. Most editors are good about special ASCII characters (the ones that don't are in the minority, imho). ... I'd honestly recommend vim (CLI) or gvim (GUI). NOTE: Assuming FreeBSD here. -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On 28 Aug 2012 at 22:41, Robin, Michael wrote: What is VIM? Where could it be downloaded? What is CLI? I am looking for GUI/command prompt text editor for Windows 7/8. The notepad plus program lacks start/end block setting option even though it have a lot of hot keys. My top priority is setting start/end block option which was available for old DOS-based text editor, but I have not seen any window-based text editor for this option. 16-bit DOS text editor program will not run on 64-bit operating system. CLI is command line interface, what you're calling a command prompt. I came late to Windows, having run FreeBSD exclusively for quite a few years before trying out the Dark Side. As a result, my text editor of choice on Windows is gvim. I'm currently running 7.2, and it integrates with the right-click context menu. I believe it has all the functions you need. If you've never used anything in the vi family there's a steep initial learning curve, but once you get past that it should do the job well enough to satisfy all but the most dedicated emacs users. Check out: http://www.vim.org/ I hope this helps. -- Jerry Dunham Moderator, Texas Great Dane Rescue jdun...@texas.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: text editor
-Original Message- From: Robin, Michael [mailto:ro...@chapman.edu] Sent: Tuesday, August 28, 2012 3:42 PM To: 'dte...@freebsd.org'; freebsd-questions@freebsd.org Subject: RE: text editor What is VIM? A _much_ improved version of vi (vi is the ubiquitous UNIX text editor written by Bill Joy in 1976), vim itself being born in 1991 by a man named Bram Moolenaar. Where could it be downloaded? As Polytropon mentioned, FreeBSD has a built-in software acquisition system. Executing: pkg_add -r vim will install the VIM text editor (immediately after-which you can type rehash -- if using [t]csh -- and then vim FILE to start editing files). However, I recognize the need to sometimes know where your food comes from, so below are some links. NOTE: You need to know what version of FreeBSD you're using... For recent versions of FreeBSD: ftp://ftp.freebsd.org/pub/FreeBSD/releases/ For older versions of FreeBSD: ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/ Then under there, you'll have to select i386 for 32-bit builds, or amd64 for 64-bit builds (etc.). Then under there, you'll have to select your appropriate version (e.g., 8.1-RELEASE). Then under there, you'll navigate to packages then either All or a specific sub-category. In there, you'll find vim-VERSION (ending in either .tgz, .tbz, or .txz, depending on your version of FreeBSD; mind you the suffix matters not to your ability to install the software). You'll also find gvim-VERSION there too. Please keep in-mind that this is _NOT_ the recommended way of electively installing software on FreeBSD. I'm merely explaining this so that you know where software for FreeBSD comes from (loosely; I'm leaving out a lot and choosing to focus on the consumer-side of things for the benefit of clarity). What is CLI? Before Windows and Apple, computers were told what to do without a mouse. This interface was called the command line. It has a very rich history and is still common-place in server environments. I am looking for GUI/command prompt text editor for Windows 7/8. I'd recommend getting to know something called Cygwin. It will allow you to run software such as VIM on Windows. The main website for Cygwin is: http://cygwin.com/ You can even run gVIM (the graphical version of VIM designed to run in the GUI) on Windows. Surely, you can run special versions of VIM on Windows _without_ Cygwin (link below), but I recommend Cygwin if you're going to program on UNIX at all (conflating your Windows environment with a UNIX-compatible environment is a convenience that many find helpful in making work more efficient). [g]VIM for MS-DOS and/or MS-Windows: http://www.vim.org/download.php#pc NOTE: There are downloads for self-installing executables for added convenience. The notepad plus program lacks start/end block setting option even though it have a lot of hot keys. My top priority is setting start/end block option which was available for old DOS-based text editor, but I have not seen any window-based text editor for this option. 16-bit DOS text editor program will not run on 64-bit operating system. Have you tried compatibility mode? Win7 has a compatibility mode that it can run executables in. I think it has a compat mode that will run 16-bit DOS programs, but I must admit that I've not tried. -- Devin Please advise. Thank you. Michael Programmer Analyst -Original Message- From: Devin Teske [mailto:devin.te...@fisglobal.com] On Behalf Of dte...@freebsd.org Sent: Tuesday, August 28, 2012 3:25 PM To: Robin, Michael; freebsd-questions@freebsd.org Subject: RE: text editor -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Robin, Michael Sent: Tuesday, August 28, 2012 3:10 PM To: 'freebsd-questions@freebsd.org' Subject: text editor Which text editor program will run 64-bit operating system On FreeBSD? In the GUI? or on the CLI? with following features: * Support 100 percent of hot keys How many is that? If a program has programmable hot keys, would that suffice? * Hot keys available for setting start/end block to be copied, moved or deleted without requiring any mouse lock. It is not possible to use mouse lock or to hold shift key combined with navigating key at the same time without accidently dese4lcing. A challenge, no-doubt. * Support special ASCII characters Less of a challenge. Most editors are good about special ASCII characters (the ones that don't are in the minority, imho). ... I'd honestly recommend vim (CLI) or gvim (GUI). NOTE: Assuming FreeBSD here. -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner
Re: text editor
mer...@stonehenge.com (Randal L. Schwartz) wrote: Robert Anybody else familiar with TECO? *EVIL* grin I wrote a screen-based editor in it, having heard of Emacs, wanting to do the same thing. Didn't Emacs start out as a reimplementation of TECO in Lisp? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Thu, Jun 03, 2010 at 12:04:06AM -0700, per...@pluto.rain.com wrote: mer...@stonehenge.com (Randal L. Schwartz) wrote: Robert Anybody else familiar with TECO? *EVIL* grin I wrote a screen-based editor in it, having heard of Emacs, wanting to do the same thing. Didn't Emacs start out as a reimplementation of TECO in Lisp? As I recall, it started out as a collection of TECO macros. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpHauwcSPxVu.pgp Description: PGP signature
Strying off topic, but Re: text editor
On 31 May 2010 17:38, Chad Perrin per...@apotheon.com wrote: I meant to reply to the list, as a response to this, but accidentally replied directly to Giorgos Keramidas. On Mon, May 31, 2010 at 08:45:07PM +0300, Giorgos Keramidas wrote: On Mon, 31 May 2010 09:59:00 -0600, Chad Perrin per...@apotheon.com wrote: Does Vim install more than the binary? I've got this: ls -l /usr/local/bin/vim -rwxr-xr-x 1 root wheel 1650340 Apr 18 12:20 /usr/local/bin/vim Yes, it does: help files; syntax highlighting rules; manpages; around 14 binaries in /usr/local/bin; including more than a thousand files in /usr/local/share. After some off-list discussion, it has come to my attention that of the 14 binaries that are installed, one of them is the vim binary itself, two of them are vimtutor binaries, one is a hex dumper, and the other ten are links (hard or soft) to the vim binary itself (and thus not actually separate binaries). It seems kind of silly to include a tutor and a hexdumper in the size of the editor just because the port for that editor installs them, too. Furthermore, documentation like manpages and help files should not count against an application's size in my opinion, since more documentation is a *good* thing, and counting it toward the size of the application is marking it in the *bad* column. The grand total size of that hex dumper and two tutor binaries is about 15KB, by the way -- so even if you include them with the editor for determining its size, they're still pretty negligible. Considering I could just delete all the syntax highlighting files and it wouldn't even affect the way I use Vim (I tend to prefer monochrome, even when editing code), I don't realy think I'd count those against the size of Vim either. Vim looks pretty small to me, compared with other editors of similar power (emacs, GUI IDEs, et cetera). I don't know much, but the source tarball is slightly over 7m. In any case, the executable size is only loosely related to the actual running size. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Jun 03 2010 11:11, Murray Taylor wrote: Hmm i remember a 'game' where you opened a file then predicted what would happen if you just typed your name at the command prompt... then of course you had to do it to see if your guess was right... ie in vi dwight would delete a word then insert ght destroyed the odd file or two i remember with the addition of 'random' control key additions It would be unfortunate if your parents named you :!rm -r *, even though they affectionately called you little Remy Star and you made good friends with Bobby Tables (http://xkcd.com/327/). -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor and your postscript
To Matthias Apitz I read with interest your contribution and those of others in text editor usage. In this I do not have much to contribute as I am so far perfectly happy with vi. BUT I noticed your political comment at the end of your contribution. I find this out of place as this questions site is for FreeBSD problems and not political ones. Could you please take your political comments and place them on appropriate sites where such comments belong. I keep with president Barack Obama, who has a law degree from Harvard and sees the necessity to set up a commission to analyse the matter before taking part in the international howling choir against Israel. Yours sincerely Richard Farnes On Wednesday 02 June 2010 13:33:44 Matthias Apitz wrote: El día Wednesday, June 02, 2010 a las 01:26:44PM +0200, Ruben de Groot escribió: The phrase son of an edlin has happily been retired in my vocabulary for some time. If you're not aware of it, ed(1) is as capable or more of causing pain as edlin was and it's still in the FreeBSD base. Most usefull traditional Unix tools can cause pain or foot-shooting. That's what makes them usefull. The ed(1) is *extremely* useful when it comes to editing text files on the fly in shell scripts (i.e. without user interaction). matthias Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
Walt Pawley wrote: On Sun, 30 May 2010, Fbsd1 wrote: Been using ee and been happy. Now I have need for an editor with block commands. I'd suggest looking into aee. That has what I am looking and so simple. Thanks for your info. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor and your postscript
On Thu, Jun 03, 2010 at 10:49:04PM +0200, Richard T C Farnes wrote: To Matthias Apitz I read with interest your contribution and those of others in text editor usage. In this I do not have much to contribute as I am so far perfectly happy with vi. BUT I noticed your political comment at the end of your contribution. I find this out of place as this questions site is for FreeBSD problems and not political ones. Could you please take your political comments and place them on appropriate sites where such comments belong. I keep with president Barack Obama, who has a law degree from Harvard and sees the necessity to set up a commission to analyse the matter before taking part in the international howling choir against Israel. Yours sincerely Richard Farnes I don't recall any netiquette rules about making your signature block on-topic. Aren't you getting a bit uptight? If anything, it's *you* who took things into the realm of politics by pulling it out of the signature block where it belonged. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpFgHoUVbcNq.pgp Description: PGP signature
Re: Strying off topic, but Re: text editor
On Thu, Jun 03, 2010 at 10:14:19AM -0400, ill...@gmail.com wrote: I don't know much, but the source tarball is slightly over 7m. I suspect a lot of that is documentation. One thing Vim definitely has going for it is the breadth and depth of user documentation that comes with it. In any case, the executable size is only loosely related to the actual running size. True. On the other hand, to offer a comparison that actually came up in real life, a co-worker once needed to edit a file. She tried using emacs to do so, but emacs couldn't open the file because it was so friggin' large that trying to open it with emacs exhausted system resources. She asked me how to achieve the same thing in Vim that she had intended to do with emacs because she discovered that it opened just fine in Vim. Obviously, this was very much an edge-case. The file was *huge*, measured in the gigabytes. It's not a problem you're likely to encounter in general usage. It does give me a little faith in the ability of Vim to avoid abusing system resources (and of vi in general). -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgp0Xct42bOnj.pgp Description: PGP signature
Re: text editor and your postscript
On 2010.06.03 19:46, Chad Perrin wrote: On Thu, Jun 03, 2010 at 10:49:04PM +0200, Richard T C Farnes wrote: To Matthias Apitz [ ...snip ...] Yours sincerely Richard Farnes I don't recall any netiquette rules about making your signature block on-topic. Aren't you getting a bit uptight? If anything, it's *you* who took things into the realm of politics by pulling it out of the signature block where it belonged. Nicely put Chad. sigs can be easily ignored, or filtered. Politics and religion are not allowed on this list, unless they relate to ``technical'' politics/religion. ...here's an example... use vi(m). It solves ALL of the world's problems. Steve ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor and your postscript
On Thu, Jun 03, 2010 at 08:25:54PM -0400, Steve Bertrand wrote: On 2010.06.03 19:46, Chad Perrin wrote: If anything, it's *you* who took things into the realm of politics by pulling it out of the signature block where it belonged. Nicely put Chad. Thanks! ...here's an example... use vi(m). It solves ALL of the world's problems. I'm beginning to think nvi, in particular, might do so. For one thing, it has a friendlier license (since we're getting political) than Vim, and for another it has better undo support than I realized. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpmPYsBpPisA.pgp Description: PGP signature
Re: text editor and your postscript
On 2010.06.03 20:40, Chad Perrin wrote: On Thu, Jun 03, 2010 at 08:25:54PM -0400, Steve Bertrand wrote: ...here's an example... use vi(m). It solves ALL of the world's problems. I'm beginning to think nvi, in particular, might do so. For one thing, it has a friendlier license (since we're getting political) than Vim, and for another it has better undo support than I realized. Can I use my .vimrc? Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor and your postscript
On Thu, Jun 03, 2010 at 06:40:14PM -0600, Chad Perrin wrote: On Thu, Jun 03, 2010 at 08:25:54PM -0400, Steve Bertrand wrote: On 2010.06.03 19:46, Chad Perrin wrote: If anything, it's *you* who took things into the realm of politics by pulling it out of the signature block where it belonged. Nicely put Chad. Thanks! ...here's an example... use vi(m). It solves ALL of the world's problems. I'm beginning to think nvi, in particular, might do so. For one thing, it has a friendlier license (since we're getting political) than Vim, and for another it has better undo support than I realized. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] my 27 cents' worth [[[inflation]]]: YES on the vim undo. i've lost scores of lines and messed up other files than code.' gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On 2010.06.03 18:35, Fbsd1 wrote: Walt Pawley wrote: On Sun, 30 May 2010, Fbsd1 wrote: Been using ee and been happy. Now I have need for an editor with block commands. I'd suggest looking into aee. That has what I am looking and so simple. Simple is in the eye of the beholder. Also, simple isn't always the best solution. afair, you (FBSD1) (it'd be nice if you'd use your real name), are wanting to move from `ee' to a new editor. I'm almost certain that this was a question that I've asked here before. Moving from ee to a real editor. Search my name in the archives. Personally, I chose vim. I found that the 'vimtutor' was phenomenal, and I only had to spend one work day making notes for myself on paper to mentally remember the important commands. The mailing list is *very* good and *very* active, but again, the tutorial is excellent. Not only that, the :help system in vim contains ALL of the documentation for itself. All in all, I tried emacs, and I'm a bit used to it, but vim stuck. I am so used to the key commands now that I oftentimes use them in editors that I shouldn't ;) I won't go on about how flexible the config is, because I'm certain all of the other editors can do all sorts of special tricks (particularly when coding) too. iTry vim. ii:wq Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Tue, Jun 01, 2010 at 05:23:55PM +0400, Boris Samorodov wrote: On Tue, 1 Jun 2010 07:08:42 -0600 Chad Perrin wrote: On Tue, Jun 01, 2010 at 12:21:20PM +0400, Boris Samorodov wrote: On Mon, 31 May 2010 14:32:04 -0600 Chad Perrin wrote: Unfortunately, the killer feature that keeps me with Vim instead of nvi is its support for multiple levels of undo. Have you ever tried u (undo command) followed by . (repeat last command)? ;-) . . . but how do you redo what you've undone? If I understand the question correctly then: it's just one more u (undo command) followed by . (repeat last command)... That's rather odd. Okay, thanks. That works beautifully. I *really* wish the help stuff for nvi was more helpful so I wouldn't have to learn this stuff on the mailing list. All this time, I thought all I could do with u is one level each of undo and redo. I suspect I've been mistrained by Vim's subtle incompatibilities with traditional vi. Thanks for setting me straight. I'll give nvi a try as my primary editor for a while, and see if I run into any other show-stopping problems. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpe5otJ9Lg4b.pgp Description: PGP signature
Re: text editor
On Tue, Jun 01, 2010 at 09:10:22AM -0700, Chip Camden wrote: I remember writing our own text editor, and it had to fit in 64K. I remember when . . . I got nuthin'. I think my first text editor was edlin, and it *sucked*. . . . not counting this nifty editor I called pencil. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpLDf833Iisr.pgp Description: PGP signature
Re: text editor
On Wed, Jun 2, 2010 at 1:10 AM, Chad Perrin per...@apotheon.com wrote: On Tue, Jun 01, 2010 at 09:10:22AM -0700, Chip Camden wrote: I remember writing our own text editor, and it had to fit in 64K. I remember when . . . I got nuthin'. I think my first text editor was edlin, and it *sucked*. . . . not counting this nifty editor I called pencil. The phrase son of an edlin has happily been retired in my vocabulary for some time. If you're not aware of it, ed(1) is as capable or more of causing pain as edlin was and it's still in the FreeBSD base. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
Matthew Seaman m.sea...@infracaninophile.co.uk wrote: Young whippersnappers. *Eight* was the good old days, back before the web was invented. Dept of (in)famous last words: There is no reason for anyone to have a computer in their home. -- Gordon Bell, founder of DEC No one will ever need more than 640K. -- Bill Gates, perpetrator of Microsoft ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Wed, Jun 02, 2010 at 01:20:07AM -0500, Adam Vande More typed: On Wed, Jun 2, 2010 at 1:10 AM, Chad Perrin per...@apotheon.com wrote: On Tue, Jun 01, 2010 at 09:10:22AM -0700, Chip Camden wrote: I remember writing our own text editor, and it had to fit in 64K. I remember when . . . I got nuthin'. I think my first text editor was edlin, and it *sucked*. . . . not counting this nifty editor I called pencil. The phrase son of an edlin has happily been retired in my vocabulary for some time. If you're not aware of it, ed(1) is as capable or more of causing pain as edlin was and it's still in the FreeBSD base. Most usefull traditional Unix tools can cause pain or foot-shooting. That's what makes them usefull. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
El día Wednesday, June 02, 2010 a las 01:26:44PM +0200, Ruben de Groot escribió: The phrase son of an edlin has happily been retired in my vocabulary for some time. If you're not aware of it, ed(1) is as capable or more of causing pain as edlin was and it's still in the FreeBSD base. Most usefull traditional Unix tools can cause pain or foot-shooting. That's what makes them usefull. The ed(1) is *extremely* useful when it comes to editing text files on the fly in shell scripts (i.e. without user interaction). matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Wed, Jun 02, 2010 at 01:33:44PM +0200, Matthias Apitz wrote: The ed(1) is *extremely* useful when it comes to editing text files on the fly in shell scripts (i.e. without user interaction). This is why I don't consider ed the kind of abomination that edlin was; it exists within a stronger command toolset so that it can actually be put to good use. Plus, y'know, there are also other editors available in Unix systems these days, so I have something other than just ed available for interactive editing. When edlin was all I had available, and it was stuck in the DOS world where there was nothing like a Unix shell to make reasonable use of it, it was nothing but frustration. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgp42MGZiW2Ee.pgp Description: PGP signature
Re: text editor
From owner-freebsd-questi...@freebsd.org Wed Jun 2 01:20:03 2010 Date: Wed, 2 Jun 2010 01:20:07 -0500 From: Adam Vande More amvandem...@gmail.com To: freebsd-questions@freebsd.org Subject: Re: text editor On Wed, Jun 2, 2010 at 1:10 AM, Chad Perrin per...@apotheon.com wrote: On Tue, Jun 01, 2010 at 09:10:22AM -0700, Chip Camden wrote: I remember writing our own text editor, and it had to fit in 64K. I remember when . . . I got nuthin'. I think my first text editor was edlin, and it *sucked*. . . . not counting this nifty editor I called pencil. The phrase son of an edlin has happily been retired in my vocabulary for some time. If you're not aware of it, ed(1) is as capable or more of causing pain as edlin was and it's still in the FreeBSD base. Anybody else familiar with TECO? *EVIL* grin It could do a _LOT_ of things, but a complex command string was nearly indistinguishable from line noise. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
From owner-freebsd-questi...@freebsd.org Wed Jun 2 02:11:23 2010 Date: Wed, 02 Jun 2010 00:06:31 -0700 From: per...@pluto.rain.com To: m.sea...@infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: text editor Matthew Seaman m.sea...@infracaninophile.co.uk wrote: Young whippersnappers. *Eight* was the good old days, back before the web was invented. Dept of (in)famous last words: There is no reason for anyone to have a computer in their home. -- Gordon Bell, founder of DEC No one will ever need more than 640K. -- Bill Gates, perpetrator of Microsoft Worldwide, there might be a demand for five to eight computers -- T. Watson, head of IBM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Jun 02 2010 11:45, Robert Bonomi wrote: On Tue, Jun 01, 2010 at 09:10:22AM -0700, Chip Camden wrote: I remember writing our own text editor, and it had to fit in 64K. I remember when . . . I got nuthin'. I think my first text editor was edlin, and it *sucked*. . . . not counting this nifty editor I called pencil. The phrase son of an edlin has happily been retired in my vocabulary for some time. If you're not aware of it, ed(1) is as capable or more of causing pain as edlin was and it's still in the FreeBSD base. Anybody else familiar with TECO? *EVIL* grin It could do a _LOT_ of things, but a complex command string was nearly indistinguishable from line noise. :) ED is the standard text editor! http://www.gnu.org/fun/jokes/ed.msg.html Yes, I remember TECO -- I've used it to trash many a file. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
Anybody else familiar with TECO? *EVIL* grin Oh, you mean that editor I used on a PDP-6? Sigh. Yes. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: text editor
Hmm i remember a 'game' where you opened a file then predicted what would happen if you just typed your name at the command prompt... then of course you had to do it to see if your guess was right... ie in vi dwight would delete a word then insert ght destroyed the odd file or two i remember with the addition of 'random' control key additions Murray Taylor Bytecraft Systems Special Projects Engineer P: +61 3 8710 0600 D: +61 3 9238 4275 F: +61 3 9238 4140 -- |_|0|_|Absence of evidence |_|_|0|is not evidence of absence |0|0|0|Carl Sagan -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of John Levine Sent: Thursday, June 03, 2010 10:31 AM To: freebsd-questions@freebsd.org Cc: bon...@mail.r-bonomi.com Subject: Re: text editor Anybody else familiar with TECO? *EVIL* grin Oh, you mean that editor I used on a PDP-6? Sigh. Yes. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
Robert == Robert Bonomi bon...@mail.r-bonomi.com writes: Robert Anybody else familiar with TECO? *EVIL* grin I wrote a screen-based editor in it, having heard of Emacs, wanting to do the same thing. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Wed, Jun 02, 2010 at 06:41:37PM -0700, Randal L. Schwartz wrote: Robert == Robert Bonomi bon...@mail.r-bonomi.com writes: Robert Anybody else familiar with TECO? *EVIL* grin I wrote a screen-based editor in it, having heard of Emacs, wanting to do the same thing. How did that work out -- and what happened to it? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpxsR7qQz9tn.pgp Description: PGP signature
Re: text editor
Chad == Chad Perrin per...@apotheon.com writes: I wrote a screen-based editor in it, having heard of Emacs, wanting to do the same thing. Chad How did that work out -- and what happened to it? It was used by my group at Tektronix from 1981 to 1983... not sure what happened to it after that. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/05/2010 21:31:15, Chad Perrin wrote: On Mon, May 31, 2010 at 08:48:22PM +0300, Giorgos Keramidas wrote: On Mon, 31 May 2010 11:36:53 -0500 (CDT), Robert Bonomi bon...@mail.r-bonomi.com wrote: Giorgos Keramidas keram...@ceid.upatras.gr wrote: Vim is much smaller than Emacs but it still a few MB's here: keram...@kobe:/usr/ports/packages/All$ ls -ld vim* -rw-r--r-- 1 root wheel - 5757731 1 =CE=91=CF=80=CF=81 17:11 vim-lite-7.2.344.tbz Yeah, but EMACS is (currently) reputed to stand for Eighty Megabytes And Constantly Swapping! *GRIN* That's an old joke, but it's not particularly good anymore. . . . probably because it's increasingly inaccurate. Eighty was the good ol' days. Young whippersnappers. *Eight* was the good old days, back before the web was invented. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwErZQACgkQ8Mjk52CukIycDACdF6huoSCi8fLetC9yZPLKhkDF WlcAnRk9Q8Ro9wzs3NwsKnimmgenbbAc =sJKj -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Mon, 31 May 2010 14:32:04 -0600 Chad Perrin wrote: Unfortunately, the killer feature that keeps me with Vim instead of nvi is its support for multiple levels of undo. Have you ever tried u (undo command) followed by . (repeat last command)? ;-) -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Tue, Jun 01, 2010 at 12:21:20PM +0400, Boris Samorodov wrote: On Mon, 31 May 2010 14:32:04 -0600 Chad Perrin wrote: Unfortunately, the killer feature that keeps me with Vim instead of nvi is its support for multiple levels of undo. Have you ever tried u (undo command) followed by . (repeat last command)? ;-) . . . but how do you redo what you've undone? I've scanned through nvi's awful viusage list of commands (awful mostly because it's a pain in the ass to use it as a help system for vi) and haven't found an answer to that question. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpiVasLVPJ6J.pgp Description: PGP signature
Re: text editor
On Tue, Jun 01, 2010 at 07:49:56AM +0100, Matthew Seaman wrote: Young whippersnappers. *Eight* was the good old days, back before the web was invented. No -- those are the even better old days. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpsisp2Mnyyg.pgp Description: PGP signature
Re: text editor
On Tue, 1 Jun 2010 07:08:42 -0600 Chad Perrin wrote: On Tue, Jun 01, 2010 at 12:21:20PM +0400, Boris Samorodov wrote: On Mon, 31 May 2010 14:32:04 -0600 Chad Perrin wrote: Unfortunately, the killer feature that keeps me with Vim instead of nvi is its support for multiple levels of undo. Have you ever tried u (undo command) followed by . (repeat last command)? ;-) . . . but how do you redo what you've undone? If I understand the question correctly then: it's just one more u (undo command) followed by . (repeat last command)... -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
I remember writing our own text editor, and it had to fit in 64K. On Jun 01 2010 07:09, Chad Perrin wrote: On Tue, Jun 01, 2010 at 07:49:56AM +0100, Matthew Seaman wrote: Young whippersnappers. *Eight* was the good old days, back before the web was invented. No -- those are the even better old days. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Sun, 30 May 2010, Fbsd1 wrote: Been using ee and been happy. Now I have need for an editor with block commands. I'd suggest looking into aee. -- Walter M. Pawley w...@wump.org Wump Research Company 676 River Bend Road, Roseburg, OR 97471 541-672-8975 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Mon, May 31, 2010 at 08:10:03AM +0300, Giorgos Keramidas wrote: On Sun, 30 May 2010 17:28:27 -0600, Chad Perrin per...@apotheon.com wrote: On Sun, May 30, 2010 at 09:31:59PM +0300, Giorgos Keramidas wrote: If you don't mind the size of the respective packages, both VIM and GNU Emacs have support for many features that ee(1) lacks. I'm not sure why you mentioned the size of Vim here as if it's a remarkably large piece of software. It *barely* doesn't fit on a 3.5 floppy when you use a full install of the console-based Vim editor. I'm pretty sure it's under 2 MB. Vim is much smaller than Emacs but it still a few MB's here: keram...@kobe:/usr/ports/packages/All$ ls -ld vim* -rw-r--r-- 1 root wheel - 5757731 1 Απρ 17:11 vim-lite-7.2.344.tbz Does Vim install more than the binary? I've got this: ls -l /usr/local/bin/vim -rwxr-xr-x 1 root wheel 1650340 Apr 18 12:20 /usr/local/bin/vim I don't think the size of the installation tarball is necessarily representative of the final size. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpe18YHJc0LU.pgp Description: PGP signature
Re: text editor
From owner-freebsd-questi...@freebsd.org Mon May 31 00:10:28 2010 From: Giorgos Keramidas keram...@ceid.upatras.gr To: freebsd-questions@freebsd.org Date: Mon, 31 May 2010 08:10:03 +0300 Subject: Re: text editor On Sun, 30 May 2010 17:28:27 -0600, Chad Perrin per...@apotheon.com wrote: On Sun, May 30, 2010 at 09:31:59PM +0300, Giorgos Keramidas wrote: If you don't mind the size of the respective packages, both VIM and GNU Emacs have support for many features that ee(1) lacks. I'm not sure why you mentioned the size of Vim here as if it's a remarkably large piece of software. It *barely* doesn't fit on a 3.5 floppy when you use a full install of the console-based Vim editor. I'm pretty sure it's under 2 MB. Vim is much smaller than Emacs but it still a few MB's here: keram...@kobe:/usr/ports/packages/All$ ls -ld vim* -rw-r--r-- 1 root wheel - 5757731 1 =CE=91=CF=80=CF=81 17:11 vim-lite= -7.2.344.tbz Yeah, but EMACS is (currently) reputed to stand for Eighty Megabytes And Constantly Swapping!*GRIN* I can't get at my FBSD box right now to check vim itself, but on another box, 'nvi' (which is described as a bug-for-bug compatible replacement for the original Fourth Berkeley Software Distribution (4BSD) vi, has an executable that is under 256k in size. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Mon, 31 May 2010 09:59:00 -0600, Chad Perrin per...@apotheon.com wrote: Vim is much smaller than Emacs but it still a few MB's here: keram...@kobe:/usr/ports/packages/All$ ls -ld vim* -rw-r--r-- 1 root wheel - 5757731 1 Απρ 17:11 vim-lite-7.2.344.tbz Does Vim install more than the binary? I've got this: ls -l /usr/local/bin/vim -rwxr-xr-x 1 root wheel 1650340 Apr 18 12:20 /usr/local/bin/vim Yes, it does: help files; syntax highlighting rules; manpages; around 14 binaries in /usr/local/bin; including more than a thousand files in /usr/local/share. I don't think the size of the installation tarball is necessarily representative of the final size. For modern editors like Vim and Emacs the binary is pretty much a basic 'scripting engine' that loads plugins, scripts and other data files to present an editing user interface to the user. The last Emacs binary I compiled is 13 MB: keram...@kobe:/opt/emacs/bin$ ls -ld emacs-* -rwxr-xr-t 2 root wheel - 13395130 31 Μαϊ 20:13 emacs-24.0.50 The full Emacs installation in /opt/emacs is more than 110 MB: keram...@kobe:/opt/emacs$ du -sk . 113298 . The binary itself is a small part of the installation; almost 1/10 of the full size of GNU Emacs. pgpQO2501u1dl.pgp Description: PGP signature
Re: text editor
On Mon, 31 May 2010 11:36:53 -0500 (CDT), Robert Bonomi bon...@mail.r-bonomi.com wrote: Giorgos Keramidas keram...@ceid.upatras.gr wrote: Vim is much smaller than Emacs but it still a few MB's here: keram...@kobe:/usr/ports/packages/All$ ls -ld vim* -rw-r--r-- 1 root wheel - 5757731 1 =CE=91=CF=80=CF=81 17:11 vim-lite-7.2.344.tbz Yeah, but EMACS is (currently) reputed to stand for Eighty Megabytes And Constantly Swapping! *GRIN* That's an old joke, but it's not particularly good anymore. The smallest laptop-size 2.5 SATA disk I have at home can hold more than 80 GB of data. The size of a program is now a limiting factor only if you are working with embedded applications. Normal, every-day computers have enough disk space to hold tens of thousands of full Emacs installations even without any sort of compression :-) pgpDAH7yDZmZs.pgp Description: PGP signature
Re: text editor
On Mon, May 31, 2010 at 08:48:22PM +0300, Giorgos Keramidas wrote: On Mon, 31 May 2010 11:36:53 -0500 (CDT), Robert Bonomi bon...@mail.r-bonomi.com wrote: Giorgos Keramidas keram...@ceid.upatras.gr wrote: Vim is much smaller than Emacs but it still a few MB's here: keram...@kobe:/usr/ports/packages/All$ ls -ld vim* -rw-r--r-- 1 root wheel - 5757731 1 =CE=91=CF=80=CF=81 17:11 vim-lite-7.2.344.tbz Yeah, but EMACS is (currently) reputed to stand for Eighty Megabytes And Constantly Swapping! *GRIN* That's an old joke, but it's not particularly good anymore. . . . probably because it's increasingly inaccurate. Eighty was the good ol' days. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpZIP1xtwvq1.pgp Description: PGP signature
Re: text editor
On Mon, May 31, 2010 at 11:36:53AM -0500, Robert Bonomi wrote: I can't get at my FBSD box right now to check vim itself, but on another box, 'nvi' (which is described as a bug-for-bug compatible replacement for the original Fourth Berkeley Software Distribution (4BSD) vi, has an executable that is under 256k in size. Unfortunately, the killer feature that keeps me with Vim instead of nvi is its support for multiple levels of undo. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgp9ujiQxFcjv.pgp Description: PGP signature
Re: text editor
I meant to reply to the list, as a response to this, but accidentally replied directly to Giorgos Keramidas. On Mon, May 31, 2010 at 08:45:07PM +0300, Giorgos Keramidas wrote: On Mon, 31 May 2010 09:59:00 -0600, Chad Perrin per...@apotheon.com wrote: Does Vim install more than the binary? I've got this: ls -l /usr/local/bin/vim -rwxr-xr-x 1 root wheel 1650340 Apr 18 12:20 /usr/local/bin/vim Yes, it does: help files; syntax highlighting rules; manpages; around 14 binaries in /usr/local/bin; including more than a thousand files in /usr/local/share. After some off-list discussion, it has come to my attention that of the 14 binaries that are installed, one of them is the vim binary itself, two of them are vimtutor binaries, one is a hex dumper, and the other ten are links (hard or soft) to the vim binary itself (and thus not actually separate binaries). It seems kind of silly to include a tutor and a hexdumper in the size of the editor just because the port for that editor installs them, too. Furthermore, documentation like manpages and help files should not count against an application's size in my opinion, since more documentation is a *good* thing, and counting it toward the size of the application is marking it in the *bad* column. The grand total size of that hex dumper and two tutor binaries is about 15KB, by the way -- so even if you include them with the editor for determining its size, they're still pretty negligible. Considering I could just delete all the syntax highlighting files and it wouldn't even affect the way I use Vim (I tend to prefer monochrome, even when editing code), I don't realy think I'd count those against the size of Vim either. Vim looks pretty small to me, compared with other editors of similar power (emacs, GUI IDEs, et cetera). I don't think the size of the installation tarball is necessarily representative of the final size. For modern editors like Vim and Emacs the binary is pretty much a basic 'scripting engine' that loads plugins, scripts and other data files to present an editing user interface to the user. The last Emacs binary I compiled is 13 MB: That's not what I see from the list of binaries in /usr/local/bin. Those appear to basically just be links to Vim, for the most part, rather than separate programs with the vim binary acting as glue code. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpJaUi531kuy.pgp Description: PGP signature
Re: text editor
SNIP alot of text not related to original posted question. Can we get back on subject. I have worked many years with ispf so decided to check out THE I installed pkg_add -r the entering the on the command line produces something that is far removed from ispf/pdf. manpage and website documentation for the really sucks. Think I need to create a default profile that activates ispf but have found no instructions on how to do it. Can not find the profile file on my system. more help please. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Tue, 1 Jun 2010, Fbsd1 wrote: SNIP alot of text not related to original posted question. Can we get back on subject. I have worked many years with ispf so decided to check out THE I installed pkg_add -r the entering the on the command line produces something that is far removed from ispf/pdf. manpage and website documentation for the really sucks. Think I need to create a default profile that activates ispf but have found no instructions on how to do it. Can not find the profile file on my system. more help please. I would infer from the responses to your original question that you probably got what the list has to offer on THE. It does not seem to be a very active project. If you can not find a mailing list or an IRC channel, you may well be stuck with figuring it out. I worked on SPF and wrote a monitoring tool for it back in the day. Kate (KDE) and TextPad (Winders) have most if not all the features I can remember as being things other editors do not generally have, e.g., block editing and collapsing code blocks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: text editor
Hmmm I have successfully run vi from a partition on a 32M flash card in 32M of RAM The RAM also had memory disks for /var and /tmp. The entire system was dynamically linked so a lot of space was saved by that build technique The box was an embedded system running SNMP, gsmsmd and a few oter thing as a real time network monitor for the Melbourne 2006 Commonwealth Games and the Asian Games a year or so later in Doha, Qatar the box (still) runs on FreeBSD 4 and was built this way https://neon1.net/misc/minibsd.html the author did also make similar builds available for FreeBSD 5 and 6 NOTE all these have been replaced by nanobsd, but the techniques are still useful, especially if you are pushed for space. Murray Taylor Bytecraft Systems Special Projects Engineer P: +61 3 8710 0600 D: +61 3 9238 4275 F: +61 3 9238 4140 -- |_|0|_|Absence of evidence |_|_|0|is not evidence of absence |0|0|0|Carl Sagan -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Giorgos Keramidas Sent: Tuesday, June 01, 2010 3:48 AM To: Robert Bonomi Cc: freebsd-questions@freebsd.org Subject: Re: text editor On Mon, 31 May 2010 11:36:53 -0500 (CDT), Robert Bonomi bon...@mail.r-bonomi.com wrote: Giorgos Keramidas keram...@ceid.upatras.gr wrote: Vim is much smaller than Emacs but it still a few MB's here: keram...@kobe:/usr/ports/packages/All$ ls -ld vim* -rw-r--r-- 1 root wheel - 5757731 1 =CE=91=CF=80=CF=81 17:11 vim-lite-7.2.344.tbz Yeah, but EMACS is (currently) reputed to stand for Eighty Megabytes And Constantly Swapping! *GRIN* That's an old joke, but it's not particularly good anymore. The smallest laptop-size 2.5 SATA disk I have at home can hold more than 80 GB of data. The size of a program is now a limiting factor only if you are working with embedded applications. Normal, every-day computers have enough disk space to hold tens of thousands of full Emacs installations even without any sort of compression :-) --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
Fbsd1 fb...@a1poweruser.com wrote: Been using ee and been happy. Now I have need for an editor with block commands. ... Is there any editors with a function like this? Either vi or emacs can do this general sort of thing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Sun, 30 May 2010 11:36:31 +0800, Fbsd1 fb...@a1poweruser.com wrote: Been using ee and been happy. Now I have need for an editor with block commands. Put dd on the first line of sequence number you want to start deleting and dd on the last line of the block and hit enter and the block of lines are deleted. OR Put cc on first line and cc on last line of black to copy and enter I on line where you want the copied block to be inserted after. Also same for mm meaning move block. Is there any editors with a function like this? Hmmm... block commands are a big strength of joe (Joe's own editor). Start block with ^KB, end block with ^KK. Blocks can be copied with ^KC, moved with ^KM and deleted with ^KY. ^KH and man joe for more details. Another solution is mcedit, the editor that comes with the Midnight Commander. Press PF3 on block start, move to block end, press PF3, the block will be selected. Press PF8 to delete it. And a third suggestion: the (The Hessling Editor), a very powerful editor, allthough a bit strange to learn. If you already have an ISPF/PDF background, this editor will be for you. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
Polytropon wrote: On Sun, 30 May 2010 11:36:31 +0800, Fbsd1 fb...@a1poweruser.com wrote: Been using ee and been happy. Now I have need for an editor with block commands. Put dd on the first line of sequence number you want to start deleting and dd on the last line of the block and hit enter and the block of lines are deleted. OR Put cc on first line and cc on last line of black to copy and enter I on line where you want the copied block to be inserted after. Also same for mm meaning move block. Is there any editors with a function like this? Hmmm... block commands are a big strength of joe (Joe's own editor). Start block with ^KB, end block with ^KK. Blocks can be copied with ^KC, moved with ^KM and deleted with ^KY. ^KH and man joe for more details. Another solution is mcedit, the editor that comes with the Midnight Commander. Press PF3 on block start, move to block end, press PF3, the block will be selected. Press PF8 to delete it. And a third suggestion: the (The Hessling Editor), a very powerful editor, allthough a bit strange to learn. If you already have an ISPF/PDF background, this editor will be for you. I installed pkg_add -r the entering the on the command line produces something that is far removed from ispf/pdf. manpage and website documentation for the really sucks. Think I need to create a default profile that activates ispf but have found no instructions on how to do it. Can not find the profile on my system. more help please. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Sun, 30 May 2010 11:36:31 +0800, Fbsd1 fb...@a1poweruser.com wrote: Been using ee and been happy. Now I have need for an editor with block commands. Put dd on the first line of sequence number you want to start deleting and dd on the last line of the block and hit enter and the block of lines are deleted. OR Put cc on first line and cc on last line of black to copy and enter I on line where you want the copied block to be inserted after. Also same for mm meaning move block. Is there any editors with a function like this? If you don't mind the size of the respective packages, both VIM and GNU Emacs have support for many features that ee(1) lacks. editors/vim-lite has visual block-editing and rectangle-editing modes. It includes support for multiple open buffers, split windows, and many more nice features. editors/emacs has support for many selection modes, including support for block-editing, rectangle-editing, a virtually unlimited number of 'cut buffers' (they are called 'registers' in Emacs terminology), and a literally mind-bending number of extra features. I use both editors on a regular basis. Most of the ASCII art I've posted in this mailing list and other open source mailing lists has been created using Vim or Emacs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Sun, 30 May 2010, Fbsd1 wrote: Been using ee and been happy. Now I have need for an editor with block commands. I recommend joe which is one binary with several flavors including pico, emacs, and wordstar work-alikes as well as its own interface. The macro language is easy and powerful. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Sun, May 30, 2010 at 09:31:59PM +0300, Giorgos Keramidas wrote: If you don't mind the size of the respective packages, both VIM and GNU Emacs have support for many features that ee(1) lacks. I'm not sure why you mentioned the size of Vim here as if it's a remarkably large piece of software. It *barely* doesn't fit on a 3.5 floppy when you use a full install of the console-based Vim editor. I'm pretty sure it's under 2 MB. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpaG7UliNUHC.pgp Description: PGP signature
Re: text editor
On Sun, 30 May 2010 17:28:27 -0600, Chad Perrin per...@apotheon.com wrote: On Sun, May 30, 2010 at 09:31:59PM +0300, Giorgos Keramidas wrote: If you don't mind the size of the respective packages, both VIM and GNU Emacs have support for many features that ee(1) lacks. I'm not sure why you mentioned the size of Vim here as if it's a remarkably large piece of software. It *barely* doesn't fit on a 3.5 floppy when you use a full install of the console-based Vim editor. I'm pretty sure it's under 2 MB. Vim is much smaller than Emacs but it still a few MB's here: keram...@kobe:/usr/ports/packages/All$ ls -ld vim* -rw-r--r-- 1 root wheel - 5757731 1 Απρ 17:11 vim-lite-7.2.344.tbz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: text editor
yep ... its called vi place cursor at the line at hte top (or bottom) of the block press ma (put marker a on the line) move your cursor to the line at the other end (bottom ot top) of the block press d'a this will delete between the marked line and the cursor to move the block delete it as above, then put the cursor where you want it to go and press p (pastes the last deleted whatever in the new place) to copy a block ... ma (move cursor) y'a (move cursor) p y is the yank into the default storage buffer instead of deleting into the buffer and you can use named buffers also ... a through z ad'adeletes test from marker a to current into buffer a appastes from buffer a dd delete current line into default buffer bdd delete current line into buffer b etc etc Murray Taylor Bytecraft Systems Special Projects Engineer P: +61 3 8710 0600 D: +61 3 9238 4275 F: +61 3 9238 4140 -- |_|0|_|Absence of evidence |_|_|0|is not evidence of absence |0|0|0|Carl Sagan -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Fbsd1 Sent: Sunday, May 30, 2010 1:37 PM To: questi...@freebsd.org Subject: text editor Been using ee and been happy. Now I have need for an editor with block commands. Put dd on the first line of sequence number you want to start deleting and dd on the last line of the block and hit enter and the block of lines are deleted. OR Put cc on first line and cc on last line of black to copy and enter I on line where you want the copied block to be inserted after. Also same for mm meaning move block. Is there any editors with a function like this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
text editor
Been using ee and been happy. Now I have need for an editor with block commands. Put dd on the first line of sequence number you want to start deleting and dd on the last line of the block and hit enter and the block of lines are deleted. OR Put cc on first line and cc on last line of black to copy and enter I on line where you want the copied block to be inserted after. Also same for mm meaning move block. Is there any editors with a function like this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: looking for online text editor
At 01:11 PM 12/4/2007, David Banning wrote: Often I have to maintain my fbsd box from outside locations. I have tried using webmin but sometimes outside computers stop me from running the java filemanager - same goes for attempting to run mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? I use putty to ssh to remote servers and use vi to edit files once logged in to the server. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
Deep in the forest in the dark of night on Wed, Dec 05, 2007 at 09:02 with a cackle and an evil grin [EMAIL PROTECTED] cast another eye of newt into the brew and chanted: Date: Tue, 4 Dec 2007 15:35:02 -0500 From: Jerry McAllister [EMAIL PROTECTED] Subject: Re: looking for online text editor On Tue, Dec 04, 2007 at 02:11:31PM -0500, David Banning wrote: Often I have to maintain my fbsd box from outside locations. I have tried using webmin but sometimes outside computers stop me from running the java filemanager - same goes for attempting to run mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? Are you talking about something like 'vi(1)' ? That is the most standard plain text editor unless you want to go even further down to sed(1). You would just ssh in (maybe using PuTTY if all you can get on is a Microsloth box), log in as you and then su to root and edit files directly. Just a miner kerkshun here. :-) I'm sure you mean ed(1) - the basic editor. sed is the stream editor. The first Unix system I used [ actaully a very sparse Xenix ] did not have 'vi' and the only text editor was 'ed'. In retropsect it was good as I learned how to use regex's quite early in the game which really helped when I got 'vi'. I use 'vi' for 99% of my work - including news and email - and still have probably only scratched 15% of it's capabilites. The first 'vi' implementations I used were limited to 500KB per instansiaton so I wound up using 'split' to be able to work on large file and then pasted them together later. Things just get better with each passing year. Bill -- Bill Vermillion - bv @ wjv . com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
David Banning wrote: Often I have to maintain my fbsd box from outside locations. I have tried using webmin but sometimes outside computers stop me from running the java filemanager - same goes for attempting to run mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You could try pico. I use it with ssh access to remote servers. -- ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* + All that's really worth doing is what we do for others.- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
On Wed, Dec 05, 2007 at 10:33:10AM -0500, Bill Vermillion wrote: Date: Tue, 4 Dec 2007 15:35:02 -0500 From: Jerry McAllister [EMAIL PROTECTED] Subject: Re: looking for online text editor On Tue, Dec 04, 2007 at 02:11:31PM -0500, David Banning wrote: Often I have to maintain my fbsd box from outside locations. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? Are you talking about something like 'vi(1)' ? That is the most standard plain text editor unless you want to go even further down to sed(1). You would just ssh in (maybe using PuTTY if all you can get on is a Microsloth box), log in as you and then su to root and edit files directly. Just a miner kerkshun here. :-) I'm sure you mean ed(1) - the basic editor. sed is the stream editor. You are right. The fingers seem to run under their own agenda. jerry ... Bill -- Bill Vermillion - bv @ wjv . com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
looking for online text editor
Often I have to maintain my fbsd box from outside locations. I have tried using webmin but sometimes outside computers stop me from running the java filemanager - same goes for attempting to run mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
On Dec 4, 2007 2:11 PM, David Banning [EMAIL PROTECTED] wrote: Often I have to maintain my fbsd box from outside locations. I have tried using webmin but sometimes outside computers stop me from running the java filemanager - same goes for attempting to run mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? ...You can't just SSH into your box and use vim? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? ...You can't just SSH into your box and use vim? Let's say I'm in a library in some remote town. The only SSH I know that is web loadable is mindterm-ssh, but that runs on java. If java is blocked on the local box then I'm SOL. No? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
In response to David Banning [EMAIL PROTECTED]: mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? ...You can't just SSH into your box and use vim? Let's say I'm in a library in some remote town. The only SSH I know that is web loadable is mindterm-ssh, but that runs on java. If java is blocked on the local box then I'm SOL. No? Just use puTTY. You can download it and run it without any installation. If you're that locked down that you can't do any of those things, I'd suggest you get a laptop or other way to manage this remotely. What good is a text editor if you can't restart daemons or HUP them? Nokia cell phones have an SSH client available. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
On Tue, Dec 04, 2007 at 02:11:31PM -0500, David Banning wrote: Often I have to maintain my fbsd box from outside locations. I have tried using webmin but sometimes outside computers stop me from running the java filemanager - same goes for attempting to run mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? Are you talking about something like 'vi(1)' ? That is the most standard plain text editor unless you want to go even further down to sed(1). You would just ssh in (maybe using PuTTY if all you can get on is a Microsloth box), log in as you and then su to root and edit files directly. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
On Tue, Dec 04, 2007 at 03:09:11PM -0500, David Banning wrote: mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? ...You can't just SSH into your box and use vim? Let's say I'm in a library in some remote town. The only SSH I know that is web loadable is mindterm-ssh, but that runs on java. If java is blocked on the local box then I'm SOL. No? Download and use PuTTY. It is quite straightforward and does ssh. I have put it on machines all over the world with no problem. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
running the java filemanager - same goes for attempting to run mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? I use putty to ssh to remote servers and use vi to edit files once logged in to the server. But putty has be installed on the machine you are working on, right? I need to have access on, say a library computer, where no local software can be installed. I can log in to webmin and edit the files via their file manager. The actual edit process does -not- appear to be java, but the file manager to select the file -is- java so I can't select the file to edit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
On Dec 4, 2007 3:14 PM, David Banning [EMAIL PROTECTED] wrote: running the java filemanager - same goes for attempting to run mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? I use putty to ssh to remote servers and use vi to edit files once logged in to the server. But putty has be installed on the machine you are working on, right? I need to have access on, say a library computer, where no local software can be installed. I can log in to webmin and edit the files via their file manager. The actual edit process does -not- appear to be java, but the file manager to select the file -is- java so I can't select the file to edit. PuTTY has no installer - It's just a binary. I think your only choices are PuTTY, that AjaxTerm someone mentioned earlier, or AnyTerm (Linked to on the AjaxTerm website). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 PuTTY has no installer - It's just a binary. Actually there is a windows installer for putty - -- Aryeh M. Friedman FloSoft Systems Developer, not business, friendly http://www.flosoft-systems.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHVcEo358R5LPuPvsRApTsAKC+IowVhU38Jibx2AJe7cgsSrJm9ACgwUQL cD2/4ArJrbYnHuY82Y4cHdc= =mT4g -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
* Bill Moran [EMAIL PROTECTED] [2007-12-04 15:29:47]: In response to David Banning [EMAIL PROTECTED]: mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? ...You can't just SSH into your box and use vim? Let's say I'm in a library in some remote town. The only SSH I know that is web loadable is mindterm-ssh, but that runs on java. If java is blocked on the local box then I'm SOL. No? Just use puTTY. You can download it and run it without any installation. If you're that locked down that you can't do any of those things, I'd suggest you get a laptop or other way to manage this remotely. What good is a text editor if you can't restart daemons or HUP them? Nokia cell phones have an SSH client available. Along these same lines, you can keep a copy of Portable Vim [1] and Portable PuTTY [2] on a usb stick and run them from Windows. They work as-advertised and are pretty handy. [1] http://portablegvim.sourceforge.net/ [2] http://portableapps.com/node/1134 -- Chess Griffin GPG Public Key: 0x0C7558C3 http://www.chessgriffin.com pgpRermgud52Z.pgp Description: PGP signature
Re: looking for online text editor
Le 4 déc. 07 à 21:09, David Banning a écrit : mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? ...You can't just SSH into your box and use vim? Let's say I'm in a library in some remote town. The only SSH I know that is web loadable is mindterm-ssh, but that runs on java. If java is blocked on the local box then I'm SOL. No? Then the last solution is to use ajaxterm... Doesn't require any special extension like java: http://anthony.lesuisse.com/qweb/trac/wiki/AjaxTerm Of course it's recommanded to access it via https... regards, Olivier___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
* Chess Griffin [EMAIL PROTECTED] [2007-12-04 15:39:55]: Along these same lines, you can keep a copy of Portable Vim [1] and Portable PuTTY [2] on a usb stick and run them from Windows. They work as-advertised and are pretty handy. [1] http://portablegvim.sourceforge.net/ [2] http://portableapps.com/node/1134 Sorry, bad link for Portable PuTTY. Correct one is here: http://portableapps.com/apps/internet/putty_portable -- Chess Griffin GPG Public Key: 0x0C7558C3 http://www.chessgriffin.com pgpQSJcYw3f9k.pgp Description: PGP signature
Re: looking for online text editor
On Dec 4, 2007 1:05 PM, Aryeh M. Friedman [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 PuTTY has no installer - It's just a binary. Actually there is a windows installer for putty But you don't need to use it. All you need is the executable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
At 02:14 PM 12/4/2007, David Banning wrote: running the java filemanager - same goes for attempting to run mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? I use putty to ssh to remote servers and use vi to edit files once logged in to the server. But putty has be installed on the machine you are working on, right? I need to have access on, say a library computer, where no local software can be installed. I can log in to webmin and edit the files via their file manager. The actual edit process does -not- appear to be java, but the file manager to select the file -is- java so I can't select the file to edit. Putty is pretty much standalone executable, at least the one for Windows is, you can run it from a thumb drive. If you need a web based application, you can install firefox on a thumb drive as well. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
On Tue, Dec 04, 2007 at 03:14:05PM -0500, David Banning wrote: running the java filemanager - same goes for attempting to run mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? I use putty to ssh to remote servers and use vi to edit files once logged in to the server. But putty has be installed on the machine you are working on, right? I need to have access on, say a library computer, where no local software can be installed. It is only a file that can be downloaded and put on the desktop and run from there. I have done so in I-cafes, libraries and community centers with public computers, hotel lobbies, churches in many countries. Some place might block it, I suppose, but I haven't run in to any. You can also try running the 'portable' PuTTY from a USB stick as someone has suggested. jerry I can log in to webmin and edit the files via their file manager. The actual edit process does -not- appear to be java, but the file manager to select the file -is- java so I can't select the file to edit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for online text editor
On Tuesday 04 December 2007 22:14, David Banning wrote: running the java filemanager - same goes for attempting to run mindterm-ssh. Is there some plain text editor program out there that will allow me to simply login and edit my files in plain text - (not a gui html editor) ? I use putty to ssh to remote servers and use vi to edit files once logged in to the server. But putty has be installed on the machine you are working on, right? Not necessarily. When you go to the download site for putty and click on the .exe (http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe), Windows will ask you whether you want to download the program or run it. Tell Windows to run it. It may give you the odd warning but eventually it should start up a putty window. (It's possible even this can be locked down tight on a Windows box - but usually it isn't blocked). Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CLI text editor recommendation
I need a CLI text editor I can use over ssh, which does NOT append newlines to the end of files as I save them. I am using this to edit PHP files, and my PHP doesn't like newlines outside the last ?. ee and vi both do so, I tried nano which also does the same. I haven't installed emacs to try that yet, since the man page says that it also does the same thing. Does anyone have any ideas? Another question: Why do so many text editors have this behavior? Should a text editor really add text that I don't tell it to add to my file? It seems that there must be some reason. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CLI text editor recommendation
On 2006-09-13 12:25, Andy Greenwood [EMAIL PROTECTED] wrote: I need a CLI text editor I can use over ssh, which does NOT append newlines to the end of files as I save them. I am using this to edit PHP files, and my PHP doesn't like newlines outside the last ?. ee and vi both do so, I tried nano which also does the same. I haven't installed emacs to try that yet, since the man page says that it also does the same thing. Does anyone have any ideas? IMHO, the problem is not the editor, but the brokenness of this particular PHP installation. Having said that, you can configure both VIM and Emacs to append or not append newlines. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CLI text editor recommendation
Andy Greenwood wrote: I need a CLI text editor I can use over ssh, which does NOT append newlines to the end of files as I save them. I am using this to edit PHP files, and my PHP doesn't like newlines outside the last ?. ee and vi both do so, I tried nano which also does the same. I haven't installed emacs to try that yet, since the man page says that it also does the same thing. Does anyone have any ideas? Emacs most certainly can save files without newlines. I don't see any option in my .emacs to force this behaviour so assume it works out of the box, nor can I find any reference in the man page which says it does add newlines. OTOH, emacs may be overkill if you don't already use it. I would have thought vi would have an option to stop this happening, but don't see one. I'm surprised at PHP barfing on extra newlines, but then I've never used it. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CLI text editor recommendation
On Wednesday 13 September 2006 11:25, Andy Greenwood wrote: I need a CLI text editor I can use over ssh, which does NOT append newlines to the end of files as I save them. I am using this to edit PHP files, and my PHP doesn't like newlines outside the last ?. ee and vi both do so, I tried nano which also does the same. I haven't installed emacs to try that yet, since the man page says that it also does the same thing. Does anyone have any ideas? vim -b brokenfile.php should work. Note that something is seriously broken with PHP, though, if it can't process text files in the standard format. Another question: Why do so many text editors have this behavior? Because lines end with end-of-line, and the last line isn't magic. Note that almost every text file on your system is this way. Try this: $ cat somefile.txt; echo NEWTEXT If somefile.txt contains foo, you'd expect to see: foo NEWTEXT However, your broken PHP install insists on files that would result in: fooNEWTEXT which is clearly not the right thing to do. I really don't mean to sound harsh, but the problem really is with PHP and not your text editors. If that was a widespread issue, you'd hear about it all over the place and not just in this one thread. -- Kirk Strauser pgpADrhTHnrju.pgp Description: PGP signature
Re: CLI text editor recommendation
I need a CLI text editor I can use over ssh, which does NOT append newlines to the end of files as I save them. I am using this to edit PHP files, and my PHP doesn't like newlines outside the last ?. ee and vi both do so, I tried nano which also does the same. I haven't installed emacs to try that yet, since the man page says that it also does the same thing. Does anyone have any ideas? Not an editor, but why not just do this: --- ?php # php code here # note no last ?. php will treat the rest of the file as php --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CLI text editor recommendation
On Wed, 13 Sep 2006 17:49:20 +0100 Alex Zbyslaw [EMAIL PROTECTED] wrote: I'm surprised at PHP barfing on extra newlines, but then I've never used it. PHP does not barf at the extra lines. what could be happening is that the file in question being edited (include_me.php) is included by some other PHP script (some_script.php). If some_script.php loads include_me.php before issuing it's HTTP headers, then the new lines (or any non-php-code text in include_me.php will be sent out ot the client , BEFORE the headers, which , depending on your error / warning settings, will make php complain, and will defnitely prevent the intended action of the HTTP headers from happening properly. back to the subject, i doubt that vi 'adds' a new line... i've used vi for years (and yes, many times editing php scripts over ssh) and it doesnt save any more lines than those already present... maybe you need to remove DOS ^M ? ( try converters/unix2dos ) - those are far more likely to cause headaches on a cross platform environment. _ {Beto|Norberto|Numard} Meijome Software is like sex, its better when its free Linus Torvalds I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CLI text editor recommendation
Thanks for the advice everyone. I will certainly check out my php and see if I can figure out why it's giving me errors as-is. On 9/13/06, Philip Hallstrom [EMAIL PROTECTED] wrote: I need a CLI text editor I can use over ssh, which does NOT append newlines to the end of files as I save them. I am using this to edit PHP files, and my PHP doesn't like newlines outside the last ?. ee and vi both do so, I tried nano which also does the same. I haven't installed emacs to try that yet, since the man page says that it also does the same thing. Does anyone have any ideas? Not an editor, but why not just do this: --- ?php # php code here # note no last ?. php will treat the rest of the file as php --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CLI text editor recommendation
On 2006-09-13 17:49, Alex Zbyslaw [EMAIL PROTECTED] wrote: Andy Greenwood wrote: I need a CLI text editor I can use over ssh, which does NOT append newlines to the end of files as I save them. I am using this to edit PHP files, and my PHP doesn't like newlines outside the last ?. ee and vi both do so, I tried nano which also does the same. I haven't installed emacs to try that yet, since the man page says that it also does the same thing. Does anyone have any ideas? Emacs most certainly can save files without newlines. I don't see any option in my .emacs to force this behaviour so assume it works out of the box, nor can I find any reference in the man page which says it does add newlines. FWIW, try looking at the documentation of `require-final-newline': C-h v require-final-newline RET ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]