Re: two questions....
On Wed, 2 Jun 2010 16:04:20 -0700, Gary Kline wrote: > guys, i just found a truckload of Just Outstanding fonts. at the CTAN > .org site there must be hundreds of these superb serif typefaces. in > my /home/kline/ directory, i have a ~/.fonts directory. but it's been > awhile since i've added to it. what's the magic to getting these > tex-gyre fonts can use them? i would like these to be available for > abiword, OOo, as well as my tex packages. clues, please. Installing fonts in ~/.fonts makes them available for all the programs that use fontconfig after you run: fc-cache -v TeX and a few other applications (e.g. groff) have their own way of handling fonts. You may have to install them using a TeX-specific set of commands. Newer TeX-live installations support XeTeX too. To use a Truetype font in XeTeX you will need to copy the fonts to a path that is visible during xetex/xelatex runs and add something like this in your document's preamble: \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text} \setmainfont[Scale=0.9, BoldFont={*-Bold}, ItalicFont={*-Italic}, BoldItalicFont={*-BoldItalic}] {DejaVuSerifCondensed} \setsansfont[Scale=0.9, BoldFont={*-Bold}, ItalicFont={*-Italic}, BoldItalicFont={*-BoldItalic}] {DejaVuSansCondensed} % Monospace DejaVu fonts have to be scaled down a bit more than % their serif or sans-serif equivalents to look "nice" in print % output. \setmonofont[Scale=0.85, BoldFont={*-Bold}, ItalicFont={*-Oblique}, BoldItalicFont={*-BoldOblique}] {DejaVuSansMono} \usepackage{xunicode} \usepackage{xltxtra} This is the preamble text I use to write XeTeX documents using the DejaVu family of fonts. The results are fantastic. A sample of what these fonts yield can be seen at: http://students.ceid.upatras.gr/~keramida/free.pdf This is one of the books I converted from their HTML source to XeLaTeX when I was learning to use TrueType and OpenType fonts in TeX. Copying the DejaVu fonts in the same directory as the TeX source makes them immediately available to XeLaTeX. This is nice because you can package both the TeX source *and* the necessary fonts in the same archive :-) ___ 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: Apache 2.2, mod_auth_kerb
On 05/20/2010 06:02 AM, John wrote: > Hi list. > > I'm having problems getting mod_auth_kerb to play nice on one of my > servers. > I have the exact same setup on other machines and it works perfectly, > only difference is this ones running CURRENT while they track RELEASE. > > Some info: > > # pkg_info|grep apache && pkg_info|grep kerb > apache-2.2.15_7 Version 2.2.x of Apache web server with prefork MPM. > mod_auth_kerb-5.4 An Apache module for authenticating users with > Kerberos v5 > > # uname -a > FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11 > 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST i386 > > > Everything compiles and installs nicely, but when I try to do a > 'apachectl start' I get this: > > httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf: > Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server: > /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol > "gsskrb5_register_acceptor_identity" > > Is this due to running current? > If it is I will drop the issue right now, I just want to know for sure > before I spend hours trying to solve it. Hi John, What is the output of 'ldd /usr/local/libexec/apache22/mod_auth_kerb.so'? -- Benjamin Lee http://www.b1c1l1.com/ signature.asc Description: OpenPGP digital signature
Re: two questions....
On Thu, Jun 03, 2010 at 02:13:22AM +0200, Roland Smith wrote: > On Wed, Jun 02, 2010 at 07:32:20PM -0400, Lowell Gilbert wrote: > > Gary Kline writes: > > > > > guys, i just found a truckload of Just Outstanding fonts. at the > > > CTAN .org site there must be hundreds of these superb serif > > > typefaces. in my /home/kline/ directory, i have a ~/.fonts > > > directory. but it's been awhile since i've added to it. what's > > > the magic to getting these tex-gyre fonts can use them? i would > > > like these to be available for abiword, OOo, as well as my tex > > > packages. clues, please. > > > > mkfontdir(1) and mkfontscale(1) are all you need. > > And fc-cache(1), I think. > i thought i mailed this several hours ago... anyway, i nowhave the tex-gyre font on both oo.org and abiword, but only on abiword are my entire set of ~/.fonts/* in several more houtrs i'll see what happens when i create a 10pt pdf file from my test.tex. gary > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- 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"
GNOME + sparc64
Hello, I have a Sun Ultra 10 running a UltraSPARC IIi 440MHz (64-bit/V9). I currently have FreeBSD installed and I want to add GNOME, but when I type "pkg_add -r gnome2" it returns the path to the FTP server and says, "Package Not Found." Is there GNOME for FreeBSD on sparc64? Thank you! -Chris ___ 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: Automatic shutdown with devd.
On Tue, 1 Jun 2010, David DEMELIER wrote: > 2010/6/1 Ian Smith : > > In freebsd-questions Digest, Vol 313, Issue 4, Message: 26 > > On Tue, 1 Jun 2010 10:55:08 +0200 David DEMELIER > > wrote: [..] > > > Is there a way to make this conditional to do only if the laptop is > > > not charging, AC plugged in ? > > > > Your script can check whether the AC power is on with: > > > > AC=`sysctl -n hw.acpi.acline` > > if [ $AC = 1 ]; then > > exit 0 # or whatever, when on AC power > > elif [ $AC = 0 ]; then > > : # do whatever when on battery > > else > > : # AC/Battery state unknown .. > > fi > > > > You could try just logging all state changes for a while; from critical > > charging to charging to high to discharging to critical discharging, I > > think that's the lot .. you can also check hw.acpi.battery.life etc. > > > > Okay I will try a script like this one. Let us know how it goes; it's clearer now from below why you need this. > > However, your system should do an 'emergency suspend' on critical low > > battery anyway .. usually set at 1% capacity but some BIOS will let you > > adjust that (see acpiconf -i0). Only if suspend/resume works of course. > > > > It would be great if suspend/resume would works yes ! For the moment > it's not the case : > > http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/146715 Ah yes. I guess you might have to try the freebsd-acpi list about that, after reading the ACPI debugging section of the Handbook, providing your dmesg and probably an acpidump of your ASL as shown there. I don't know the current status of suspend/resume on amd64, nor anything about your HP Probook 4510s. The freebsd-mobile list might be a better place to start, at least to ask whether anyone else shares your problem? cheers, Ian___ 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"
Hi es_MX internationalization needed.....
Hi to every one. I have been checking the mail lists and haven`t found information about es_MX localization, in Ubuntu, OpenSUSE and other Linux distributions this can be achieved by something like. # locale-gen es_MX.UTF-8 # locale-gen es_MX But on FreeBSD I can`t find any command or tool to perform this. there is a es_ES locale on FreeBSD. I thinked about generating the es_MX locale with a file like es_MX.UTF-8.src or something like that, without success this is beyond my expertise right now. I need the es_MX because there is a postgreSQL database that "MUST" be encoded with the es_MX encoding, for a project am working on. On KDE 4 on FreeBSD 8.0 I can changed the region to Mexico (es_MX), but I can't change my locale variables (LC_) on my command line terminal. they look actually like this: [cursos] ~> locale LANG= LC_CTYPE="es_ES.UTF-8" LC_COLLATE="es_ES.UTF-8" LC_TIME="es_ES.UTF-8" LC_NUMERIC="es_ES.UTF-8" LC_MONETARY="es_ES.UTF-8" LC_MESSAGES="es_ES.UTF-8" LC_ALL= [cursos] ~> On other server i have OpenSUSE 11.2 and have this: (the way a needed it). edelac...@sgi:~> locale LANG=es_MX.UTF-8 LC_CTYPE="es_MX.UTF-8" LC_NUMERIC="es_MX.UTF-8" LC_TIME="es_MX.UTF-8" LC_COLLATE="es_MX.UTF-8" LC_MONETARY="es_MX.UTF-8" LC_MESSAGES="es_MX.UTF-8" LC_PAPER="es_MX.UTF-8" LC_NAME="es_MX.UTF-8" LC_ADDRESS="es_MX.UTF-8" LC_TELEPHONE="es_MX.UTF-8" LC_MEASUREMENT="es_MX.UTF-8" LC_IDENTIFICATION="es_MX.UTF-8" LC_ALL= edelac...@sgi:~> How do i do this on FreeBSD 8.0 i386 or amd64? Thanks in advance for your attention and help. LIA Eric De La Cruz Lugo. ___ 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: command to strip suffix in .sh script
On 06/02/2010 04:30, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/06/2010 09:24:01, Matthias Apitz wrote: El dÃa Wednesday, June 02, 2010 a las 04:15:22PM +0800, Aiza escribió: I have this code [snip] $ echo 'archivename-201006021514.34.tar.gz' | sed 's/-.*$//' archive_name=${fromarchive%-*} Thanks Matthew, that's really neat. It took me a long time to find the correct google incantation to find the documentation for that. ( bourne shell pattern-matching notation ) Sure is nice to learn something new everyday. ___ 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
> "Chad" == Chad Perrin 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 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: .sh & tar
On Thu, 03 Jun 2010 09:32:17 +0800 Aiza wrote: > When I exec tar from within a .sh shell script I get this message > tar: Removing leading '/' from member names > I have tar outputting to > /dev/null and still get this message. > With -v or without makes no difference. > > How can I stop this How about tar ... 1>/dev/null 2>&1 ? -- Anh Ky Huynh ___ 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"
Malaysian Customs Procedures & Accounting Skills For Accounts Clerks & Assistants Training
Disclaimer: If this mail has been sent to you by mistake or if you prefer not to receive any future emails on Training Program from us, please reply this e-mail with "REMOVE" in the subject line. We apologize for any inconveniences caused. Thank you for your time. Please forward this e-mail to your relatives, colleagues, friends or any of your contacts, if you feel that the program will benefit them. Thank you for your time. QUALITY DYNAMICS CONSULTANCY SDN BHD (Co. No. 620717-P) ( www.qdc.com.my ) (PSMB Reg. No: 0938) (MoF Reg. No: 357-02064214) PRESENTS Malaysian Customs Procedures (by Mr. P. Nadaraja) ( 15 – 16 June 2010 (Holiday Inn Glenmarie) OBJECTIVES At the end of the course, participants will be able to: • Gain an insight into how the Customs Department is organized into various divisions • Ensure that businesses stay on the right side of the law as well as guide the businesses on the required documentation. • assist businesses to discover the various facilities available in order to remain competitive • Explore and discover the possibilities of tax savings. PROGRAM CONTENT • Objectives, Responsibilities & Organizational structure of Customs Department • Sales Tax Procedures - Licensing - Scope & charge to Tax - Exemptions/Refund & Drawback - Facilities under Sales Tax Act - Offences & Penalties • Service Tax Procedures - Licensing - Scope & Charge to tax - Refund claims - Calculation of threshold • Valuation & Classification - General principles of valuation and Form Customs 1A - Principles and rules of classification • Import & Export Procedures & Documentation - Legislations - Legal landing place and mode of transport - Customs declaration forms - Examination and assessment by Customs - Claim for preferential rates of CEPT & AHTN - Customs clearance & Payment of duty - Payment under protest, transhipment & transportation - Import / Export Prohibition Orders - Procedures in Labuan & Langkawi - Offences under section 133 & 135 Customs Act 1967 • An outline of facilities under Customs Act 1967 - Licensed Warehouse under section 65 - Licensed Manufacturing Warehouse under section 65/65A - Temporary Import / ATA Carnet under section 97 Customs Act 1967 - Refund & Drawback under section 16,93,95 and 99 Customs Act 1967 - Treasury Exemptions under section 14(2) Customs Act 1967 - International Procurement Centers. • Free Zones under Free Zone Act 1990 • Appeal System • Questions & Answers. INVESTMENT (Fee) Enjoy EARLY BIRD Rate by (02/06/10) at RM 910.00 per participant for a minimum of 2 participants from the same company RM 960.00 per participant Group Discount : RM 1,010.00 per participant for a minimum of 2 participants from the same company. Standard : RM 1,060.00 per participant Accounting Skills For Accounts Clerks & Assistants (by MR. Thye Foot Leong) (15– 16 June 2010) (Holiday Inn Glenmarie) OBJECTIVES This course would enable accounting staff to understand and appreciate the steps performed in the accounting process and their contribution to management decision making. In today’s computerized accounting world, accounting staff perform very specific duties as part of the accounting process. They may be involved in one specific area like handling accounts payable, accounts receivable, payroll, cash book, etc. As a result, they are often very focused in their respective areas of work that they may not be aware or knowledgeable of the other important areas in accounting. With the advancement of computerized accounting packages, the accounting process is somewhat isolated and as a result these staff do not see the physical transaction actually taking place. This may lead to a lack of understanding of the accounting process. Knowledge in these other areas of accounting will enable the staff to contribute more effectively to the organization. PROGRAM CONTENT INTRODUCTION • What is Accounting? • Accounting Process • Role in today’s business • The Accounting Equation • Transaction Analysis THE RECORDING PROCESS DOUBLE ENTRY SYSTEM OF RECORDING • Assets • Liabilities • Capital • Revenue • Expenses • Extracting the Trial Balance • Exercise PREPARING BASIC FINANCIAL STATEMENTS • The Trading Account • The Profit & Loss Account • The Balance Sheet BOOKS OF ORIGINAL ENTRY JOURNALS • Cash Book • Sales & Purchases Journal • Returns Journal • The General Journal POSTING TO LEDGER • The Creditors Ledger • The Debtors Ledger • The General Ledger • Exer
Re: text editor
On Wed, Jun 02, 2010 at 06:41:37PM -0700, Randal L. Schwartz wrote: > > "Robert" == Robert Bonomi 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
> "Robert" == Robert Bonomi 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 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"
.sh & tar
When I exec tar from within a .sh shell script I get this message tar: Removing leading '/' from member names I have tar outputting to > /dev/null and still get this message. With -v or without makes no difference. How can I stop 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: 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
>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: Sending alarms to my mobile phone
>> On Tue, 1 Jun 2010 11:25:10 +0700 (ICT) Olivier Nicole wrote: O> I would like my FreeBSD server to send alarms to my mobile phone, it O> could be voice messages or SMS. Some vendors provide email addresses for text messaging in the USA. Substitute your phone number including area code for the X's. These addresses were valid as of 10 Feb 2010. YMMV, etc. ATT Wireless Example: xxx...@att.com Customer service - 1-800-331-0500 http://www.att.com/wireless Sprint PCS Example: xxx...@messaging.sprintpcs.com Customer service - 1-888-211-4727 http://www.sprint.com/ T-Mobile Example: xxx...@tmomail.net http://www.t-mobile.com/ USA Mobility Example: xxx...@usamobility.com for Alpha/Digital Customers xxx...@usamobility.net for 2-way customers Customer service - 1-888-957-7243 http://www.usamobility.com/ Verizon Wireless Example: xxx...@vtext.com Customer service - 1-800-561-6227 http://www.verizonwireless.com/ -- Karl Vogel I don't speak for the USAF or my company Irrationality is the square root of all evil. --Douglas Hofstadter ___ 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: Apache 2.2, mod_auth_kerb
On 6/2/10, John wrote: > On 2010-06-02 18:56, Tim Judd wrote: >> On 6/2/10, John wrote: >>> On 2010-05-20 23:34, Tim Judd wrote: On 5/20/10, John wrote: > Hi list. > > I'm having problems getting mod_auth_kerb to play nice on one of my > servers. > I have the exact same setup on other machines and it works perfectly, > only difference is this ones running CURRENT while they track RELEASE. > > Some info: > > # pkg_info|grep apache&& pkg_info|grep kerb > apache-2.2.15_7 Version 2.2.x of Apache web server with prefork > MPM. > mod_auth_kerb-5.4 An Apache module for authenticating users with > Kerberos v5 > > # uname -a > FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11 > 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST i386 > > > Everything compiles and installs nicely, but when I try to do a > 'apachectl start' I get this: > > httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf: > Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server: > /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol > "gsskrb5_register_acceptor_identity" > > Is this due to running current? > If it is I will drop the issue right now, I just want to know for sure > before I spend hours trying to solve it. > It begins to look like GSSAPI is not in there. GSSAPI is part of world. You may need to rebuild kerberos with GSSAPI support. Are you using the builtin MIT or the add-on heimdal kerberos? >>> >>> I'm using the builtin. How do I rebuild kerberos with GSSAPI support, I >>> though that was builtin by default in FreeBSD since 5.1 somewhere? >>> >>> klist, kinit and kdestroy all works fine and I can authenticate against >>> an Active Directory server, but I just cant get Apache to load the >>> mod_auth_kerb module. >>> >>> I just did a clean install of a FreeBSD 8.1-PRERELEASE, and I have >>> exactly the same error there so it's not related to running current. >>> What am I doing wrong? >> >> >> I don't know if I'm reading bsd.apache.mk right (included due to the >> dependency of apache webserver), but mod_auth_kerb may require apache >> 1.3, not 2.x >> >> does your 8.1 have apache1.3? Maybe it has both nd 1.3 is running? >> >> I would bet that a 1.3 module won't work in 2.x >> >> does apache2.x have a kerberos module? there have been a ton of >> additions to apache2.x >> >> >> >> Let us know. > > Are you looking at /usr/ports/www/mod_auth_kerb or > /usr/ports/www/mod_auth_kerb2? > > mod_auth_kerb2 is for apache 2.x was looking at ports/www/mod_auth_kerb i think i'm outta ideas. was basic troubleshooting, but I've kind of given up on kerberos auth. binding to LDAP works when working against Microsoft AD ___ 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: two questions....
On Wed, Jun 02, 2010 at 07:32:20PM -0400, Lowell Gilbert wrote: > Gary Kline writes: > > > guys, i just found a truckload of Just Outstanding fonts. at the > > CTAN .org site there must be hundreds of these superb serif > > typefaces. in my /home/kline/ directory, i have a ~/.fonts > > directory. but it's been awhile since i've added to it. what's > > the magic to getting these tex-gyre fonts can use them? i would > > like these to be available for abiword, OOo, as well as my tex > > packages. clues, please. > > mkfontdir(1) and mkfontscale(1) are all you need. And fc-cache(1), I think. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpNRUBPiUJuT.pgp Description: PGP signature
Re: two questions....
On Wed, Jun 02, 2010 at 07:32:20PM -0400, Lowell Gilbert wrote: > Gary Kline writes: > > > guys, i just found a truckload of Just Outstanding fonts. at the > > CTAN .org site there must be hundreds of these superb serif > > typefaces. in my /home/kline/ directory, i have a ~/.fonts > > directory. but it's been awhile since i've added to it. what's > > the magic to getting these tex-gyre fonts can use them? i would > > like these to be available for abiword, OOo, as well as my tex > > packages. clues, please. > > mkfontdir(1) and mkfontscale(1) are all you need. yeah, check my notes; wsasn't clear. do i run each command in ~/.fonts/TTF and ~/.fonts/Type1 [[[ after i move the tex-* over there? [there are already scores of fonts there.] Matthew mumbled something about 'sadmin' and i found the biary like that. it changed my printer name and said it added 28 ttf fonts [?] -- 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: two questions....
Gary Kline writes: > guys, i just found a truckload of Just Outstanding fonts. at the > CTAN .org site there must be hundreds of these superb serif > typefaces. in my /home/kline/ directory, i have a ~/.fonts > directory. but it's been awhile since i've added to it. what's > the magic to getting these tex-gyre fonts can use them? i would > like these to be available for abiword, OOo, as well as my tex > packages. clues, please. mkfontdir(1) and mkfontscale(1) are all you need. ___ 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"
two questions....
guys, i just found a truckload of Just Outstanding fonts. at the CTAN .org site there must be hundreds of these superb serif typefaces. in my /home/kline/ directory, i have a ~/.fonts directory. but it's been awhile since i've added to it. what's the magic to getting these tex-gyre fonts can use them? i would like these to be available for abiword, OOo, as well as my tex packages. clues, please. the second question is that a few hours ago i reinstalled something from /usr/ports/print, the lyx15 port. i played around with this only one time and would like this list's opinion of it. i'll probably continue to typeset my manuscripts by hand the way i was learning in the early 90's. would still like the general consensus on lyx and related. tia, 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"
Completely jailed tinderbox?
Dear list, Has anyone ever succeeded to run a tinderbox in a jail who is willing to elaborate on the configuration because it's driving me NUTS. Happy to do that off-list and summarise later on. Looks like neither NFS nor nullfs mounts would work in a jail which is breaking tinderbox builds. Sysctls are set to permit mounts etc. Thanks, Peter. -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 ___ 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: Apache 2.2, mod_auth_kerb
On 2010-06-02 18:56, Tim Judd wrote: On 6/2/10, John wrote: On 2010-05-20 23:34, Tim Judd wrote: On 5/20/10, John wrote: Hi list. I'm having problems getting mod_auth_kerb to play nice on one of my servers. I have the exact same setup on other machines and it works perfectly, only difference is this ones running CURRENT while they track RELEASE. Some info: # pkg_info|grep apache&& pkg_info|grep kerb apache-2.2.15_7 Version 2.2.x of Apache web server with prefork MPM. mod_auth_kerb-5.4 An Apache module for authenticating users with Kerberos v5 # uname -a FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST i386 Everything compiles and installs nicely, but when I try to do a 'apachectl start' I get this: httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server: /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol "gsskrb5_register_acceptor_identity" Is this due to running current? If it is I will drop the issue right now, I just want to know for sure before I spend hours trying to solve it. It begins to look like GSSAPI is not in there. GSSAPI is part of world. You may need to rebuild kerberos with GSSAPI support. Are you using the builtin MIT or the add-on heimdal kerberos? I'm using the builtin. How do I rebuild kerberos with GSSAPI support, I though that was builtin by default in FreeBSD since 5.1 somewhere? klist, kinit and kdestroy all works fine and I can authenticate against an Active Directory server, but I just cant get Apache to load the mod_auth_kerb module. I just did a clean install of a FreeBSD 8.1-PRERELEASE, and I have exactly the same error there so it's not related to running current. What am I doing wrong? I don't know if I'm reading bsd.apache.mk right (included due to the dependency of apache webserver), but mod_auth_kerb may require apache 1.3, not 2.x does your 8.1 have apache1.3? Maybe it has both nd 1.3 is running? I would bet that a 1.3 module won't work in 2.x does apache2.x have a kerberos module? there have been a ton of additions to apache2.x Let us know. Are you looking at /usr/ports/www/mod_auth_kerb or /usr/ports/www/mod_auth_kerb2? mod_auth_kerb2 is for apache 2.x ___ 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: Add watermark to PDF
Date: Tue, 1 Jun 2010 19:36:02 +0200 From: "C. P. Ghost" Subject: Re: Add watermark to PDF To: John Almberg Cc: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jun 1, 2010 at 4:15 PM, John Almberg wrote: > So basically this script would have to read in the PDF and (ideally) a plain > text file, and output a PDF with the plain text merged into the PDF as a > footer. Maybe this will help? http://www.reportlab.com/software/opensource/rl-toolkit/ There's even a FreeBSD port for it: print/py-reportlab2 > Any ideas, much appreciated. > > -- John -cpghost. I think the reportlab program is a bit overkill not to mention the huge learning curve. I have used the port /usr/port/print/pdftk with some success to insert watermarks, merge files and rotate the pages. Nothing beats the real thing when working with PDF files and while Adobe Acrobat Professional is not cheap, if your doing real work it's worth the investment. ___ 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"
SMBFS Question
I have DAGS and cannot find a good explanation for this, so if some kind soul could help it would be appreciated... I use FreeBSD (various versions/flavors) to connect to a USB drive shared off a WinXP machine to write large backup files. I mount this using the SMBFS capabilities. On a pretty regular basis, I see log messages in the form: smb_iod_recvall: drop resp with mid 30562 Are these benign? What exactly do they mean? TIA, Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ ___ 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: Apache 2.2, mod_auth_kerb
On 6/2/10, John wrote: > On 2010-05-20 23:34, Tim Judd wrote: >> On 5/20/10, John wrote: >>> Hi list. >>> >>> I'm having problems getting mod_auth_kerb to play nice on one of my >>> servers. >>> I have the exact same setup on other machines and it works perfectly, >>> only difference is this ones running CURRENT while they track RELEASE. >>> >>> Some info: >>> >>> # pkg_info|grep apache&& pkg_info|grep kerb >>> apache-2.2.15_7 Version 2.2.x of Apache web server with prefork MPM. >>> mod_auth_kerb-5.4 An Apache module for authenticating users with >>> Kerberos v5 >>> >>> # uname -a >>> FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11 >>> 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST i386 >>> >>> >>> Everything compiles and installs nicely, but when I try to do a >>> 'apachectl start' I get this: >>> >>> httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf: >>> Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server: >>> /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol >>> "gsskrb5_register_acceptor_identity" >>> >>> Is this due to running current? >>> If it is I will drop the issue right now, I just want to know for sure >>> before I spend hours trying to solve it. >>> >> >> >> It begins to look like GSSAPI is not in there. GSSAPI is part of >> world. You may need to rebuild kerberos with GSSAPI support. Are you >> using the builtin MIT or the add-on heimdal kerberos? > > I'm using the builtin. How do I rebuild kerberos with GSSAPI support, I > though that was builtin by default in FreeBSD since 5.1 somewhere? > > klist, kinit and kdestroy all works fine and I can authenticate against > an Active Directory server, but I just cant get Apache to load the > mod_auth_kerb module. > > I just did a clean install of a FreeBSD 8.1-PRERELEASE, and I have > exactly the same error there so it's not related to running current. > What am I doing wrong? I don't know if I'm reading bsd.apache.mk right (included due to the dependency of apache webserver), but mod_auth_kerb may require apache 1.3, not 2.x does your 8.1 have apache1.3? Maybe it has both nd 1.3 is running? I would bet that a 1.3 module won't work in 2.x does apache2.x have a kerberos module? there have been a ton of additions to apache2.x Let us know. ___ 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 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
> 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 > To: freebsd-questions@freebsd.org > Subject: Re: text editor > > On Wed, Jun 2, 2010 at 1:10 AM, Chad Perrin 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: freeBSD nullfs together nfs and "silly rename"
nevermind.. resend and forgot to change the addressee. If anyone has an idea i would of course still be grateful. Regards, leon On Wed, Jun 02, 2010 at 01:50:33PM +0200, Leon Meßner wrote: > Hi, > I hope this is not the wrong list to ask. Didn't get any answers on > -questions. > > When you try to do the following inside a nullfs mounted directory, > where the nullfs origin is itself mounted via nfs you get an error: > > # foo > # tail -f foo& > # rm -f foo > tail: foo: Stale NFS file handle > # fg > > This is really a problem when running services inside jails and using > NFS as storage. As of [2] it looks like this problem is known for a > while. On a normal NFS mount this does not happen as "silly renaming" > [1] works there (producing nasty little .nfs files). > > TIA, > Leon > > [1] http://nfs.sourceforge.net/#faq_d2 > [2] > http://ftp.freebsd.org/pub/FreeBSD/development/FreeBSD-CVS/src/sys/nfsclient/nfsnode.h,v > rev:1.32.2.1 pgplzqWuHVMeY.pgp Description: PGP signature
Re: Add watermark to PDF
Thanks CP, Nathan, & Kevin. You've given me some good places to start looking. -- John C. P. Ghost wrote: On Tue, Jun 1, 2010 at 4:15 PM, John Almberg wrote: So basically this script would have to read in the PDF and (ideally) a plain text file, and output a PDF with the plain text merged into the PDF as a footer. Maybe this will help? http://www.reportlab.com/software/opensource/rl-toolkit/ There's even a FreeBSD port for it: print/py-reportlab2 Any ideas, much appreciated. -- John -cpghost. ___ 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
freeBSD nullfs together nfs and "silly rename"
Hi, I hope this is not the wrong list to ask. Didn't get any answers on -questions. When you try to do the following inside a nullfs mounted directory, where the nullfs origin is itself mounted via nfs you get an error: # foo # tail -f foo& # rm -f foo tail: foo: Stale NFS file handle # fg This is really a problem when running services inside jails and using NFS as storage. As of [2] it looks like this problem is known for a while. On a normal NFS mount this does not happen as "silly renaming" [1] works there (producing nasty little .nfs files). TIA, Leon [1] http://nfs.sourceforge.net/#faq_d2 [2] http://ftp.freebsd.org/pub/FreeBSD/development/FreeBSD-CVS/src/sys/nfsclient/nfsnode.h,v rev:1.32.2.1 pgpiC7e0lo2WH.pgp Description: PGP signature
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 - 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:20:07AM -0500, Adam Vande More typed: > On Wed, Jun 2, 2010 at 1:10 AM, Chad Perrin 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: command to strip suffix in .sh script
On Wed, 02 Jun 2010 16:15:22 +0800, Aiza wrote: > I have this code > > archive_name=`echo -n "${fromarchive}" | tr -c '[:alnum:]' _` > > ` is the key under Esc key and ' key is next to enter key. > > fromarchive value is archivename-201006021514.34.tar.gz > > I want to strip the suffix -201006021514.34.tar.gz from the archivename. > > The archivename can be upper and lower case letters interspersed with _ > > > Do I have syntax problem with the code? I get no error on it. > > Do I have the tr command coded correctly? > > Or should I be using something else instead of tr command? Maybe "cut" can help: % echo 'archivename-201006021514.34.tar.gz' | cut -d '-' -f 1 archivename Cutting -f 2 will give you the remaining component. % echo 'archivename-201006021514.34.tar.gz' | cut -d '-' -f 2 201006021514.34.tar.gz To cut off the suffix (.tar.gz), consider using "basename". -- 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: minicom freebsd 8.0
On Wed, Jun 2, 2010 at 11:30 AM, akash kumar wrote: > Hi, > > I was referring to minicom command similar to one on linux. > On linux the config file is /etc/minirc. and the Serial Device > is /dev/ttyUSB0, which was working for me. > On freebsd the config file is /usr/local/etc/minicom/minirc., > but not sure what to update in the field 'pu port'. > > I tried with /dev/ugen2.2 but got below error >> minicom: cannot open /dev/ugen2.2: Permission denied > > Please let me know what needs to be updated in the 'pu port' field. Ah, okay. ugen is a generic device. I think you can't use that directly if you have a usb-to-serial converter. I guess you need to kldload a kernel module specific to your usb-to-serial converter. For example something like uplcom, umodem etc. This would create a new entry in /dev that you can use in minicom. Permissions for those devices can be set in /etc/devfs.rules (and restarting devfs with /etc/rc.d/devfs restart). You may also want to look at /etc/devd.conf I'm not familiar with usb-to-serial converters, so I can't help more than that. Others may have more experience there. > Thanks, > Akash. -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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: minicom freebsd 8.0
On Wed, Jun 2, 2010 at 10:32 AM, Fbsd1 wrote: > akash kumar wrote: >> >> Hi, >> >> Can some one help me with the steps configuring minicom on freebsd 8.0. I >> have a serial to usb converter running between my board and host machine. >> Thanks, >> Akash. >> >> > > I take it a minicom is a external serial modem for internet access over the > phone lines. I guess akash is asking about the port comms/minicom, the special files under /dev and the kernel modules needed to access the serial port of the modem via a usb-to-serial converter. -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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: minicom freebsd 8.0
Hi, I was referring to minicom command similar to one on linux. On linux the config file is /etc/minirc. and the Serial Device is /dev/ttyUSB0, which was working for me. On freebsd the config file is /usr/local/etc/minicom/minirc., but not sure what to update in the field 'pu port'. I tried with /dev/ugen2.2 but got below error > minicom: cannot open /dev/ugen2.2: Permission denied Please let me know what needs to be updated in the 'pu port' field. Thanks, Akash. From: Fbsd1 To: akash kumar Cc: freebsd-questions@freebsd.org Sent: Wed, 2 June, 2010 2:02:30 PM Subject: Re: minicom freebsd 8.0 akash kumar wrote: > Hi, > > Can some one help me with the steps configuring minicom on freebsd 8.0. I > have a serial to usb converter running between my board and host machine. > Thanks, > Akash. > > I take it a minicom is a external serial modem for internet access over the phone lines. First off you better check if this is a windows modem. Phone modems are manufactured for two target markets, MS/Windows (Winmodems) and every thing else. Winmodems are cheep because the hardware controller function is handled by the software you have to install into MS/Windows. This hardware controller function is normally contained in a chip on the modem circuit board. Winmodems are missing this chip and directs the modem to use driver software running in the MS/Windows system to perform the controller function. The most common Winmodem chips are manufactured by Lucent. There are many versions of this Lucent chip resulting in each chip version needing a different MS/Windows software driver version. Up until version 4.4, FBSD did not have any solution to using Winmodems, but with the release of 4.4 the ports collection now contains the "Linux Winmodem 'ltmdm' driver" which was ported to FBSD. This port is very poorly documented, only works with a limited number of Lucent chip version, and can be somewhat unreliable. Your whole Internet connection is managed by your modem and trying to shoe horn a modem specially manufactured for the MS/Windows operating system into FreeBSD is not the way to achieve a satisfactory dialup Internet connection. Plug the usb to serial converter into a usb port on the pc. Plug the serial cable into the modem and the converter. Power on the minicon, and boot your pc. Check your boot messages for the address of the usb to serial converter and use that address in your ppp config for dialing your ISP. If you can't id the address you need, then post your boot message log here for next step in help. Use dmesg > boot.msg.file to get a copy of the boot log. ___ 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: Apache 2.2, mod_auth_kerb
On 2010-05-20 23:34, Tim Judd wrote: On 5/20/10, John wrote: Hi list. I'm having problems getting mod_auth_kerb to play nice on one of my servers. I have the exact same setup on other machines and it works perfectly, only difference is this ones running CURRENT while they track RELEASE. Some info: # pkg_info|grep apache&& pkg_info|grep kerb apache-2.2.15_7 Version 2.2.x of Apache web server with prefork MPM. mod_auth_kerb-5.4 An Apache module for authenticating users with Kerberos v5 # uname -a FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST i386 Everything compiles and installs nicely, but when I try to do a 'apachectl start' I get this: httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server: /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol "gsskrb5_register_acceptor_identity" Is this due to running current? If it is I will drop the issue right now, I just want to know for sure before I spend hours trying to solve it. It begins to look like GSSAPI is not in there. GSSAPI is part of world. You may need to rebuild kerberos with GSSAPI support. Are you using the builtin MIT or the add-on heimdal kerberos? I'm using the builtin. How do I rebuild kerberos with GSSAPI support, I though that was builtin by default in FreeBSD since 5.1 somewhere? klist, kinit and kdestroy all works fine and I can authenticate against an Active Directory server, but I just cant get Apache to load the mod_auth_kerb module. I just did a clean install of a FreeBSD 8.1-PRERELEASE, and I have exactly the same error there so it's not related to running current. What am I doing wrong? -- 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: command to strip suffix in .sh script
On Wed, Jun 2, 2010 at 3:24 AM, Matthias Apitz wrote: > El día Wednesday, June 02, 2010 a las 04:15:22PM +0800, Aiza escribió: > > > I have this code > > > > archive_name=`echo -n "${fromarchive}" | tr -c '[:alnum:]' _` > > > > ` is the key under Esc key and ' key is next to enter key. > > > > fromarchive value is archivename-201006021514.34.tar.gz > > > > I want to strip the suffix -201006021514.34.tar.gz from the archivename. > > > > The archivename can be upper and lower case letters interspersed with _ > > > > > > Do I have syntax problem with the code? I get no error on it. > > > > Do I have the tr command coded correctly? > > > > Or should I be using something else instead of tr command? > > $ echo 'archivename-201006021514.34.tar.gz' | sed 's/-.*$//' > > One more echo 'archivename-201006021514.34.tar.gz' | awk -F - '{print $1}' -- 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: minicom freebsd 8.0
akash kumar wrote: Hi, Can some one help me with the steps configuring minicom on freebsd 8.0. I have a serial to usb converter running between my board and host machine. Thanks, Akash. I take it a minicom is a external serial modem for internet access over the phone lines. First off you better check if this is a windows modem. Phone modems are manufactured for two target markets, MS/Windows (Winmodems) and every thing else. Winmodems are cheep because the hardware controller function is handled by the software you have to install into MS/Windows. This hardware controller function is normally contained in a chip on the modem circuit board. Winmodems are missing this chip and directs the modem to use driver software running in the MS/Windows system to perform the controller function. The most common Winmodem chips are manufactured by Lucent. There are many versions of this Lucent chip resulting in each chip version needing a different MS/Windows software driver version. Up until version 4.4, FBSD did not have any solution to using Winmodems, but with the release of 4.4 the ports collection now contains the "Linux Winmodem 'ltmdm' driver" which was ported to FBSD. This port is very poorly documented, only works with a limited number of Lucent chip version, and can be somewhat unreliable. Your whole Internet connection is managed by your modem and trying to shoe horn a modem specially manufactured for the MS/Windows operating system into FreeBSD is not the way to achieve a satisfactory dialup Internet connection. Plug the usb to serial converter into a usb port on the pc. Plug the serial cable into the modem and the converter. Power on the minicon, and boot your pc. Check your boot messages for the address of the usb to serial converter and use that address in your ppp config for dialing your ISP. If you can't id the address you need, then post your boot message log here for next step in help. Use dmesg > boot.msg.file to get a copy of the boot log. ___ 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: command to strip suffix in .sh script
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/06/2010 09:24:01, Matthias Apitz wrote: > El día Wednesday, June 02, 2010 a las 04:15:22PM +0800, Aiza escribió: > >> I have this code >> >> archive_name=`echo -n "${fromarchive}" | tr -c '[:alnum:]' _` >> >> ` is the key under Esc key and ' key is next to enter key. >> >> fromarchive value is archivename-201006021514.34.tar.gz >> >> I want to strip the suffix -201006021514.34.tar.gz from the archivename. >> >> The archivename can be upper and lower case letters interspersed with _ >> >> >> Do I have syntax problem with the code? I get no error on it. >> >> Do I have the tr command coded correctly? >> >> Or should I be using something else instead of tr command? > > $ echo 'archivename-201006021514.34.tar.gz' | sed 's/-.*$//' archive_name=${fromarchive%-*} 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/ iEYEARECAAYFAkwGFpoACgkQ8Mjk52CukIz2IQCfRPPnh+1+Y12iY9dz5MeO0P++ 80QAnishOceHvFymn4S9miFK8lemmlHQ =99QV -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: command to strip suffix in .sh script
El día Wednesday, June 02, 2010 a las 04:15:22PM +0800, Aiza escribió: > I have this code > > archive_name=`echo -n "${fromarchive}" | tr -c '[:alnum:]' _` > > ` is the key under Esc key and ' key is next to enter key. > > fromarchive value is archivename-201006021514.34.tar.gz > > I want to strip the suffix -201006021514.34.tar.gz from the archivename. > > The archivename can be upper and lower case letters interspersed with _ > > > Do I have syntax problem with the code? I get no error on it. > > Do I have the tr command coded correctly? > > Or should I be using something else instead of tr command? $ echo 'archivename-201006021514.34.tar.gz' | sed 's/-.*$//' HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - 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"
command to strip suffix in .sh script
I have this code archive_name=`echo -n "${fromarchive}" | tr -c '[:alnum:]' _` ` is the key under Esc key and ' key is next to enter key. fromarchive value is archivename-201006021514.34.tar.gz I want to strip the suffix -201006021514.34.tar.gz from the archivename. The archivename can be upper and lower case letters interspersed with _ Do I have syntax problem with the code? I get no error on it. Do I have the tr command coded correctly? Or should I be using something else instead of tr command? 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"
minicom freebsd 8.0
Hi, Can some one help me with the steps configuring minicom on freebsd 8.0. I have a serial to usb converter running between my board and host machine. Thanks, Akash. ___ 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 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"