vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| walburga furdoonj wrote: >>Hi there, >>I'm new to *BSD and am intrigued by it (OpenBSD especially), after being a >>GNU/Linux user for a while now, but a few niggles are holding me back. >> >>I've been using apt-get for a while now and love it dearly. I can apt-get install >>something and save all the downloaded packages on my fileserver so I never have >>to download them again. Is there an option to do this with pkg_add? It seems >>to me that you can't keep any of the .tgz packages that are ftped by pkg_add in >>case you need to reinstall stuff. > > > Euh.. ? If you can download them from the openbsd server just save them first > and after that install them ... ? pkg_add -I does not excecute any install > scripts.. see manual. > > Why not just mirror the directory layout from openbsd on your ftp/file server ? > AFter that you can use pkg_add to connect to your file/ftp server instead of the > orig... Maybe I do not understand your question fully. But saving openbsd packages > after downloading them shouldn't be a problem a all.. Here's an example: I want to get vim. So I do pkg_add ftp://ftp.openbsd.org/pub/OpenBSD/3..../vim-xxxxx.tgz It downloads the .tgz packages and installs them straight away, and then it throws away the .tgz files. What I really want to do is keep this .tgz file in it's unextracted format so I can reinstall it at a later date without having to download it again. Is there no way to simultaneously install a package and keep a copy of the .tgz for later use? I realize I can workaround this by using the -n flag and noting all the dependencies and downloading them individually, but really, that's work for monkeys, and it would require downloading them twice anyway. You speak of mirroring. I'm not very familiar with this, but as far as I can guess it would require me having to download all the available packages even though I'm only going to be using a very small proportion of them. Please tell me I am wrong. One other thing that I was thinking about was that since OpenBSD is such a superduper crypto/security enhanced operating system, what's with the use of ftp? Surely some use of rsync -e ssh wouldn't go astray or even scp. And maybe some MACing of the packages or something. I'm sure, at about this point, some clever person will tell me why this is unnecessary. Please do, I welcome knowledge. > > >>Also I've been having troubles with vi. Please don't tell me to use Emacs. > > > Use emacs :-) > > >>I like the >>fact that most keyboards include Insert, Home, Pg-Up etcetera, and it seems that with >>default settings vi eats my text files when I use these buttons. > > > Ahhhhh....... that's normal dude.. ;-) for backspace press in command-mode `x', > or `[shift+x]', `dd' to remove a line etc.. `dG' to remove until eof, > Consult your vi manual.. Maybe you are used to VIM, instead of vi.. > > pkg_add /path/to/VIM > > But.. > you can set your keyboard keys in several ways. First of all, do they work in the > default shell or other apps you are using. like csh, more etc.. ? If that is not > the case you should wsconsctl/kbd to either reset your def. language, or rebind your > keys. The appropiate manuals should provide enough to get you started. If it is just > vi use key-bindings in a .rc file.. > > >>Maybe I'm using the wrong terminal type [vt220] or something. > > > No that is not the wrong terminal type, at least.. It's the most generic one. > > >>Can anyone help me? The >>thing that really irks me is that the backspace and delete buttons don't work properly >>in <Insert> mode in vi. > > > That's normal.. either remap/rebind, or use the default vi opts in command-mode like > listed above or in the man-page. > > >>Ben > > > Gh. > > |