|
Welcome to the Web Hosting Forum - Hosting Reviews, Web Hosting Discussion Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content etc. By registering you have access to many other special features, Like personal blogs, your own personal forum, extended profiles, posting of your resume, free links, photo galleries, auctions etc. We are Web 2.0 Compliant . We also reward our posters and referals with free hosting, domains, prizes etc. Even earn points for reading posts. We offer contests, and events that are sure to please anyone in the hosting industry, web developer or SEO at heart. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|
|||||||
| Slackware Working on SlaCKWARE |
|
|
LinkBack | Thread Tools |
|
|||
|
Re: I just got 11 Right - Now 12 :(
On Mon, 02 Jul 2007 19:11:00 -0400, CBFalconer wrote:
>> BTW, glad to see I'm not the only one whose been around a few years >> and has no love for vi. I've been using jed for my CLI editor as >> long as I've been using Slackware. > Wheee. Editor wars. Go crew, go. Gosh I don't think there should be a war and everyone should use the editor they are most comfortable with. BUT, IMO and IMO only, jed just has a better layout and I like the menus. Also if you have to edit a DOS file (I use Slackware to often fix a W2K problem) it automatically detects the type of EOL character. I especially like the ease of using a split window when upgrading. I open the new file on top and in the lower window I open the older reference file. I can do this very fast mostly because I'm used to using the editor. I also set up the system so mc uses jed for editing and that is a fast combination. -- Linux Help: http://rsgibson.com/linux.htm Email - rsgibson@verizon.borg Replace borg with net |
|
|||
|
Re: I just got 11 Right - Now 12 :(
On 2007-07-03, Ron Gibson <rsgibson@verizon.net> wrote:
> BUT, IMO and IMO only, jed just has a better layout and I like the > menus. I'm with you, Ron. I've been using jed for several years now and have yet to find anything better. jed is like using emacs without having to do all the tweaking to get it to do what you like. Superior syntax highlighting out of the box. My only prob with jed is it will sometimes progressively ident lines of pasted text. I found this little sed script will set all lines to the left margin. ------ # delete leading whitespace (spaces, tabs) from front of each line # aligns all text flush left sed 's/^[ \t]*//' ------ See, the above is an example of that stair-stepping effect I'm talking about. That's a cut n' paste into konsole. Anyway, that little sed script fixes it. Here's more sed goodies: http://www.eng.cam.ac.uk/help/tpl/unix/sed.html nb |
|
|||
|
Re: I just got 11 Right - Now 12 :(
notbob <notbob@nothome.com> wrote:
>My only prob with jed is it will sometimes progressively ident lines >of pasted text. Yes. Second, if you paste "`" it won't show. Third, it turns spaces to tabs. You could copy /usr/share/jed/lib/jed.rc to ~/.jedrc and fix them: --- jed.rc 2007-07-03 19:11:20.000000000 +0300 +++ .jedrc 2007-07-03 19:13:29.000000000 +0300 @@ -50,6 +50,7 @@ % % setkey ("bol", "^H"); % causes ^H to go to beg of line (EDT) % setkey ("help_prefix", "^H"); % Uncomment to have Ctrl-H as help + setkey ("self_insert_cmd","`"); #ifdef XWINDOWS % See xjed.txt for information regarding the delete key under X Windows. @@ -129,7 +130,7 @@ BLINK = 1; % if non zero, blink matching parenthesis TAB_DEFAULT = 8; % Tab size (also try edit_tab_stops) -USE_TABS = 1; % Use tabs when generating whitespace. +USE_TABS = 0; % Use tabs when generating whitespace. Tab_Always_Inserts_Tab = 0; % Set this to 1 if you want the tab key to insert % tabs. @@ -231,6 +232,7 @@ { % if (hook_name != "c_mode_hook") % local_setkey ("self_insert_cmd", "\t"); + local_setkey ("newline","^M"); } define dired_hook () |
|
|||
|
Re: I just got 11 Right - Now 12 :(
notbob wrote:
> ------ > > See, the above is an example of that stair-stepping effect I'm talking > about. That's a cut n' paste into konsole. Anyway, that little sed > script fixes it. Here's more sed goodies: > > http://www.eng.cam.ac.uk/help/tpl/unix/sed.html > > nb > http://www.eng.cam.ac.uk/help/tpl/unix/sed.html > > nb Thanks for the url, fantastic site. "sed goodies" abound! Two of my favourites: >> # center all text in the middle of 79-column width. In method 1, >> # spaces at the beginning of the line are significant, and trailing >> # spaces are appended at the end of the line. In method 2, spaces at >> # the beginning of the line are discarded in centering the line, and >> # no trailing spaces appear at the end of lines. >> sed -e :a -e 's/^.\{1,77\}$/ & /;ta' # method 1 >> sed -e :a -e 's/^.\{1,77\}$/ &/;ta' -e 's/\( *\)\1/\1/' # method 2 and >> # number each line of a file (number on left, right-aligned) >> sed = filename | sed 'N; s/^/ /; s/ *\(.\{6,\}\)\n/\1 /' Sure, some of those commands look complex and difficult, and Sed would probably take a few years of study to master, but just imagine how handy this would be if the "format" button broke on a modern, GUI editor. Whilst I was reinstalling, you'd have the last laugh. With kind regards Chu |
|
|||
|
Re: I just got 11 Right - Now 12 :(
On 2007-07-03, ChuMaiFat <ChuMaiFat@nowhere.com.au> wrote:
> probably take a few years of study to master, but just imagine how handy > this would be if the "format" button broke on a modern, GUI editor. Yeah, gui's are perfect. They don't choke on anything bigger than a slashdot blurb like notepad or fail to format warez brag screens like every winblows editor except wordpad. They don't make text files completely proprietary like word or fail to save almost every webpage cut n' paste like kate. Yeah, gui text editors have no flaws at all. Sure, pal. nb |
|
|||
|
Re: I just got 11 Right - Now 12 :(
On Tue, 03 Jul 2007 16:19:03 +0000, Petri Kaukasoina wrote:
> notbob <notbob@nothome.com> wrote: >>My only prob with jed is it will sometimes progressively ident lines of >>pasted text. > Yes. Second, if you paste "`" it won't show. Third, it turns spaces to > tabs. You could copy /usr/share/jed/lib/jed.rc to ~/.jedrc and fix them: > --- jed.rc 2007-07-03 19:11:20.000000000 +0300 +++ .jedrc 2007-07-03 > 19:13:29.000000000 +0300 @@ -50,6 +50,7 @@ > % > % setkey ("bol", "^H"); % causes ^H to go to beg of line > define dired_hook () I even used jed under OS/2 :-) At times I've dug under the hood and made some modifications. Happy days, all I've had to do lately is use it. -- Linux Help: http://rsgibson.com/linux.htm Email - rsgibson@verizon.borg Replace borg with net |
|
|||
|
Re: I just got 11 Right - Now 12 :(
Ron Gibson <rsgibson@verizon.net> trolled:
> On Mon, 02 Jul 2007 19:11:00 -0400, CBFalconer wrote: >> Wheee. Editor wars. Go crew, go. > > Gosh I don't think there should be a war and everyone should use > the editor they are most comfortable with. > BUT, IMO and IMO only, jed just has a better layout and I like the > menus. Also if you have to edit a DOS file (I use Slackware to > often fix a W2K problem) it automatically detects the type of EOL > character. We've always thought of jed as a beginner's intro to emacs. But we did check out the latest version and it seems to be much better than it used to be. The old menu choices used to be listed in emacs language which made us gag. But things are much better now. The menus are more straightforward and are designed much better. It is much more like boxer or qedit than any other editor that we know of for linux. But it still isn't as powerful as vim. We doubt that there is anything you can do with jed that you can't do with vim. And vice versa is not the case. > I especially like the ease of using a split window when upgrading. > I open the new file on top and in the lower window I open the > older reference file. I can do this very fast mostly because I'm > used to using the editor. Doing this is trivial with vim. Vim's help file is more primitive but probably more complete than jed's gui system. There is no doubt that it is faster to learn jed, joe or le, than it is to learn vim. But if one is used to vi, then vim is wonderful. > I also set up the system so mc uses jed for editing and that is a > fast combination. The mc editor has some excellent features for such a simple editor. For example, it has a keyboard macro feature. Does jed have such? We think not. What about pagers? Has anyone seen anything better than "most?" We have most set up to handle man pages and it is great. Another great dos program that we miss was the "list" program. That was really, really fast and most seems to be the closest, although it doesn't have the menuing feature. cordially, as always, rm |
|
|||
|
Re: I just got 11 Right - Now 12 :(
notbob <notbob@nothome.com> trolled:
> Yeah, gui's are perfect. They don't choke on anything bigger than a > slashdot blurb like notepad or fail to format warez brag screens like > every winblows editor except wordpad. They don't make text files > completely proprietary like word or fail to save almost every webpage > cut n' paste like kate. Yeah, gui text editors have no flaws at all. > Sure, pal. Jed, le, and mc are all gui editors. Guis are not necessarily bitmapped applications. cordially, as always, rm |
|
|||
|
Re: I just got 11 Right - Now 12 :(
On 2007-07-03, Rhonda Moffat <rm@justlinux.ca> wrote:
> language which made us gag. But things are much better now. The > menus are more straightforward and are designed much better. Plus, highlighting is better, by default, as are other features. jed provides, out of the box, some features that one would need some knowledge of lisp to enable in emacs > But it still isn't as powerful as vim. We doubt that there is > anything you can do with jed that you can't do with vim. And vice > versa is not the case. Nonsense. It is extensible and its power is limited only by the user's lisp programming abilities. vi, and variants, are great if you don't mind a dual mode editor. I hate it, so I think it sucks. Many hate multi-finger keystrokes, so despise emacs and variants. Again, nothing more sinister than simple preferences. (except vi is the heart of eee-ville!) nb |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
All times are GMT -5. The time now is 04:48 PM.