You are not logged in. Login Now
 0-24   25-36         
 
Author Message
keesan
Suggestions for OpenBSD binaries Mark Unseen   Feb 2 15:49 UTC 2006

Use this item to suggest and discuss OpenBSD binaries that would be helpful
to grexers.
36 responses total.
keesan
response 1 of 36: Mark Unseen   Feb 2 15:53 UTC 2006

At sdf I often use antiword to convert WORD files sent me in email to plain
text before download, and netpbm or cjpeg/djpeg to shrink jpegs (which people
post direct from their camera, sometimes 5MB in size).  pdftotext would also
be helpful. xls2html (xlstohtml?).  An rtf to html or text convertor.  There
was less need for these when we had 100K mail size limits, which rejected mail
with large attachments.  
kingjon
response 2 of 36: Mark Unseen   Feb 8 22:16 UTC 2006

Not sure if it's available for OpenBSD as a binary, but: sc (the Spreadsheet
Calculator). A text-mode spreadsheet. I use it heavily on my Linux machine.

keesan
response 3 of 36: Mark Unseen   Feb 9 02:20 UTC 2006

Is there any program here for calculating with?  dc?
kingjon
response 4 of 36: Mark Unseen   Feb 9 02:38 UTC 2006

bc is better -- dc is a stack-based, which means to calculate and output two to
the fourth you type "2 4 ^ p".

keesan
response 5 of 36: Mark Unseen   Feb 9 16:10 UTC 2006

Do we have either one?  I can handle 2 4 + p  to get 6.  I keep a little
solar-powered calculator by my desk but I need to turn on the light to get
it to power on.  
keesan
response 6 of 36: Mark Unseen   Feb 9 16:12 UTC 2006

Man bc :  bc is a preprocessor for dc.  Is this the same as a 'wrapper'?
keesan
response 7 of 36: Mark Unseen   Feb 9 16:17 UTC 2006

I found lots of 2-letter programs in /usr/bin, including mg, a simple emacs
type text editor.  Ctrl-X Ctrl-C exits.  Unlike pico, you can go to any line
by specifying the number but I could not get into command mode to do that.
I bet we also have joe, which comes with a help screen.  Any other interesting
programs I should try at grex?
sholmes
response 8 of 36: Mark Unseen   Feb 9 16:33 UTC 2006

I have been using cut, align and sort pretty often last few days.
ric
response 9 of 36: Mark Unseen   Feb 9 17:51 UTC 2006

EGGDROP!
kingjon
response 10 of 36: Mark Unseen   Feb 9 19:08 UTC 2006

Re #6: No. Bc *can be used* as a preprocessor for dc, and maybe bc even uses dc
to do its calculations, but bc takes "2 ^ 3" and gives you 8. (The preprocessor
thing is so that if you give bc an option it will output the commands to make
dc execute the same operations rather than giving you the actual answer.)

malymi
response 11 of 36: Mark Unseen   Feb 12 09:26 UTC 2006

emacs doesn't have a command mode.  to jump to line 10 you type C-u 1 0
M-g (control-u, 10, meta-g).
keesan
response 12 of 36: Mark Unseen   Feb 12 17:04 UTC 2006

If meta is one of those extra keys you find on newer keyboards (a second Alt
or Ctrl) I don't have it.
mcnally
response 13 of 36: Mark Unseen   Feb 12 18:50 UTC 2006

 If your keyboard doesn't have a meta- key you can use ESC instead.
 But on most keyboard mappings I believe the Alt- modifier key works
 as meta..
spooked
response 14 of 36: Mark Unseen   Feb 12 21:05 UTC 2006

Emacs is not for the faint-hearted :)

Learning X-emacs is exciting enough, but of course that involves a GUI and 
I'm sure keesan detests that :)

keesan
response 15 of 36: Mark Unseen   Feb 12 23:18 UTC 2006

What other editor could I try besides pine and Joe which would let me move
and delete one word at a time and go to the start and end of a file, rather
than just move by one page at a time?
kingjon
response 16 of 36: Mark Unseen   Feb 12 23:33 UTC 2006

Vi. w goes to the beginning of the next word, e to the end of the word, b to
the beginning of the word. Prefixing those with d deletes what the cursor would
pass. To go to any line in the file, type its line number (the beginning is
either 0 or 1, and omit it for the last line) and type G.

mcnally
response 17 of 36: Mark Unseen   Feb 13 00:00 UTC 2006

 I'm surprised Sindi hasn't learned vi long before now, it seems like
 a natural match.

 It takes a bit of getting used to but it's amazingly powerful and
 efficient to use once you get used to it.  And it's nowhere near as
 resource-intensive as emacs..
glenda
response 18 of 36: Mark Unseen   Feb 13 00:32 UTC 2006

VI is still my favorite editor.
keesan
response 19 of 36: Mark Unseen   Feb 13 03:16 UTC 2006

I have tried vi but it is confusing going in and out of command mode.
e3 has some features that pico does not, including I think going to the end
or beginning of a file.
nharmon
response 20 of 36: Mark Unseen   Feb 13 03:24 UTC 2006

Sindi, a cheat sheet is helpful for learning vi. After a few months, you
won't need it any more.
nharmon
response 21 of 36: Mark Unseen   Feb 13 03:25 UTC 2006

I'd add that anybody seriously into Unix admin should learn vi, as it is
the one editor you can always gurantee will be available on a unix box.
kingjon
response 22 of 36: Mark Unseen   Feb 13 03:30 UTC 2006

Re #13: If you use vim it will always show you what mode you're in. 

sholmes
response 23 of 36: Mark Unseen   Feb 13 03:31 UTC 2006

if you put the following in your .emacs file ,you can use F2 key to go to a
particular line 
(global-set-key [f2] 'goto-line )
kingjon
response 24 of 36: Mark Unseen   Feb 13 03:32 UTC 2006

In #22: er, I meant re #19.

 0-24   25-36         
Response Not Possible: You are Not Logged In
 

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss