HDTenEightyP/NetNews huggingface dataset:
From: ellis@nova.gmi.edu (Stew Ellis)
Subject: Re: looking a utility to chdir without typing full path
Organization: GMI Engineering&Management Institute, Flint, MI
Date: Sun, 10 Jan 1993 15:42:54 GMT

In article <1ikvt1INNqq2@usenet.INS.CWRU.Edu> cl820@cleveland.Freenet.Edu (Wei Jin Mai) writes:
>
>    I just switch to Unix from Dos. Is there a utility or shell that let you
>change directory without typing full path? For example: chdir abc changes   
>working directory to /usr/local/src/abc .
>-- 

(Warning, this message may not thread right, I have clipped the orginal
message from one of the followups.)

The other followups focused on the use of $cdpath.  If the original poster
was simply concerned with saving keystrokes, he should be told that UNIX
will allow wildcards embedded within pathnames as long as the expanded paths
are unique.  For example, on many machines I use 'cd /u*/lo*/b*' will change
me to /usr/local/bin.  Before I had access to a reasonable shell I
frequently used this.  Any reasonable shell will also allow aliases, so the
user could assign a series of aliases to cd to frequently entered but hard
to type directories.  Also any reasonable shell will do directory,file and
command completion when you type <TAB>, so 'cd /u<TAB>lo<TAB>b<TAB>' will
complete to the same directory name as above.  

In this day and age no one should use Bourne shell (/bin/sh) or the
unadorned csh as their login shell, even though as much shell programming as
possible ought to be confined to /bin/sh.  ksh almost cuts it, but lacks
command completion, plus the completion keystrokes are clumsier.  Every
system should have one of the freely available(another problem with ksh)
shells tcsh, bash or zsh installed to be used as a login shell.

In UNIX there are always alternative ways to skin cat(1v).  :)


--
                                                          ___________________
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765  /   _____  ______ 
  Humanities & Social Science,  GMI Eng.& Mgmt. Inst.   /        / /  /  / /
  Flint, MI 48504      ellis@nova.gmi.edu              /________/ /  /  / /
Newsgroups: comp.unix.questions
From: amay3@mach1.wlu.ca (andrew may)
Subject: TALK request.
X-Newsreader: TIN [version 1.1 PL6]
Organization: Wilfrid Laurier University
Date: Fri, 8 Jan 1993 01:06:37 GMT

I was wondering if someone could send to me the source code for the dynix
talk command. I would like to see how it has been done, and what it can do
as i wish to do something like it myself.

******************************************************************************
* Andrew May          - a .sig? Why, the mere thought hadn't even begun to   *
* amay3@mach1.wlu.ca  speculate on the merest possibiliy of crossing my mind *
******************************************************************************
From: st1y2@elroy.uh.edu (Gray, William W.)
Newsgroups: comp.unix.questions
Subject: Re: Does anyone know how to print files by a Fax machine ??
Date: 7 Jan 1993 01:50 CST
Organization: University of Houston
Distribution: world
NNTP-Posting-Host: elroy.uh.edu
News-Software: VAX/VMS VNEWS 1.41    

In article <C0G5IH.9AJ@ccu.umanitoba.ca>, umyue@ccu.umanitoba.ca (Kelvin Karkin Yue) writes...
>	Hi, I just want to know anyone knows how to print files from UNIX to a  Fax machine??
>	Is there any program can do this??
>Thanks

Well, if you want to  do it with some flash and bang
DIALOGICS makes a fax board that allows you to have you UNIX
box call out to your fax machine.

Newsgroups: comp.unix.questions
From: rtb@hp-osf2.cern.ch (Rainer Toebbicke)
Subject: Re: How to print a message, from within a shell script, to its own stderr
Organization: CERN European Lab for Particle Physics
Date: Fri, 8 Jan 1993 12:56:05 GMT



In <1993Jan8.111056.15969@edf.fr> zi@edf.fr (Zixiong WANG) writes:

>	How do you print a message, from within a shell script, to its own stderr.
>	(as fprintf(stderr, "Error message") in C)

In sh(Bourne),sh(Posix),ksh,bash,...etc...: 
  echo "Error message" 1>&2
In Posix sh and ksh alternatively: print -u2 "Error message" 
--
Rainer Toebbicke   -   rtb@dxcern.cern.ch    -    rtb@cernvm.bitnet
European Laboratory for Particle Physics - CERN
Geneva, Switzerland
From: gavron@spades.aces.com (Ehud Gavron 602-570-2000 x. 2546)
Newsgroups: comp.unix.questions
Subject: Re: net.views - dec and alpha
Date: 9 Jan 93 04:33:00 GMT
Reply-To: gavron@ACES.COM
Followup-To: comp.unix.questions
Organization: ACES Consulting Inc.
News-Software: VAX/VMS VNEWS 1.4-b1

In article <1993Jan08.173533.9962@utoday.com>, wagner@utoday.com (Mitch Wagner) writes...
# 
#	Is Alpha going to revitalize DEC?
..
#We're asking this question to collect opinions for the "net.views" column in
#OPEN SYSTEMS TODAY. Please E-mail your responses to wagner@utoday.com.

Please go read the NSFNET usage guidelines to better understand
how your posting violates them.

#Mitch Wagner, senior editor, Open Systems Today

Ehud

--
Ehud Gavron        (EG76)     
gavron@aces.com
Newsgroups: comp.unix.questions
From: wws@iscp.bellcore.com (Wayne Scott)
Subject: getting system date/time from another system
Organization: Bellcore
Distribution: usa
Date: Wed, 6 Jan 93 21:32:25 GMT
Keywords: is it appropriate to use RPCs?


I'm working on an X/Motif application in which I need to get the system time
from another machine.  Is there a recommended/preferred way to do this?
I'm just starting to read about RPCs and I'm wondering if I'm on the best path.
I would appreciate any advice, other than - continue to RTFM!

Thank you,
Wayne
From: jrichert@krefcom.GUN.de (Jan Richert)
Newsgroups: comp.unix.questions
Subject: Searching: AdLib-sound-driver for SCO UNIX
Date: 8 Jan 93 17:25:34 GMT
Reply-To: jrichert@krefcom.GUN.de (Jan Richert)
Organization: Krefcom UUCP Server, Krefeld, FRG

Hi!

I'm seeking for an AdLib-sound-card driver for SCO UNIX. Is s.th.
like this available via FTP or so?

Thanks in advance.
PLEASE REPLY BY MAIL

Jan

-- 
Jan Richert (NIC-ID: JR482)   | Internet:   jrichert@krefcom.GUN.de
Krefeld, FRG                  | Datex-J:    02151399843-0001
Voice & FAX: +49 2151 313124  | IRC-Nick:   jrichert
Newsgroups: comp.unix.questions
From: widenius@klaava.Helsinki.FI (Risto Widenius)
Subject: Re: File manipulation question
Organization: University of Helsinki
Date: Thu, 7 Jan 1993 17:41:48 GMT

rouben@math9.math.umbc.edu (Rouben Rostamian) writes:
>In article <1993Jan7.010450.28001@crpmks.uucp> marcs@crpmks.uucp (Marc Snyder) writes:
>>	I have a quick question for everyone.  I have some files that are
>>in the format:
>>
>>AA1  01234 ....
>>    junk     junk   junk
>>        junk                    junk
>>C1K  98765 ....
>>                   junk          junk
>>COM  12121 ....
>> junk
>
>Use sed, as in:
>sed -n '/^[A-Z][A-Z][0-9]  [0-9][0-9][0-9][0-9][0-9]/p' infile > outfile

Fine, and what happens to the C1K and COM lines in the above example?
Into the trashcan they go! You'd rather want to

sed '/^[A-Z0-9][A-Z0-9][A-Z0-9] / \!d' inf > outf

even though the \-escape does not work for other than c-shell
derivatives. Probably the perl solution (which we will soon see) will be
better.

--
widenius@cc.helsinki.fi "But now there was worse." -Bernard Levin
From: root@candle.uucp (Bruce Momjian)
Newsgroups: comp.unix.questions
Subject: Hayes modem stays at 1200b after hangup: Why?
Date: 11 Jan 93 22:30:29 GMT
Organization: a consultant's basementa
X-Newsreader: TIN [version 1.1 PL6]

If someone dials in at 1200 baud, when the line is hung up, the modem
stays at 1200 baud for the next connection(HS light off).  I tried
setting AT&D3 (to reset them modem on drop of DTR), but then then all
users see garbage when logging in.  I thought this was a problem for
Hayes clones only, but I have a real Hayes now and it does the same
thing.

The only solution I have come up with is to have a script reset the
modem every 15 minutes, assuming the modem is inactive.  Is there a
better solution?

I have found this System V Unix with an externally connected 2400 Baud
Hayes modem.  The modem is otherwise correctly configured, with AT&D2,
ATE0, ATQ1, AT&C1, ATS0=1, etc.

-- 
Bruce Momjian                          |  830 Blythe Avenue
root%candle.uucp@bts.com               |  Drexel Hill, Pennsylvania 19026 
  +  If your life is a hard drive,     |  (215) 353-9879(w) 
  +  Christ can be your backup.        |  (215) 853-3000(h)
From: mlwilkin@apgea.army.mil (Michael L. Wilkins <mlwilkin>)
Newsgroups: comp.unix.questions
Subject: Re: .exrc file for vi customization
Date: 8 Jan 93 14:55:01 GMT
Organization: APG-Edgewood

In article <1992Dec11.231726.11125@black.ox.ac.uk> tbrann@black.ox.ac.uk (Tony Brannigan) writes:
>fyl@ssc.com (Phil Hughes) writes:
>|>I have one thing to add.  Much like Stephen's example I find that I need
>|>different vi setups based on what I am working on.  To automate this
>|>process I put the like
>|>    so .viset
>|>in my .exrc file.  Whenever vi is started it looks for the file .viset in
>|>the current directory.  If found, it reads it in much the same as it reads
>|>.exrc.  If it doesn't find it an error message that that effect quickly
>|>blinks on the status line and things continue.
>|>
>|>This makes it possible to have special vi setups for various directories.
>|>Thus, when I am working on documentation I put a .viset in the
>|>documentation directory that binds function keys to troff font changes and
>|>sets a wrap margin.
>
>In any implementation of vi I have used, it checks the current directory
>for a file called ".exrc".  It first checks your home directory for a
>.exrc, and if it finds it sources it, then checks the current directory
>for a .exrc and, if it finds it, sources it.
>
>This assumes you have not set the EXINIT environment variable.
>
>Tony
>-- 
>"And soon all of us will sleep under the earth, | tbrann@ox.ac.uk
>  we who never let each other sleep above it."  | u90afb@ecs.ox.ac.uk
>   Marina Tsvetayeva 1915                       | oupafb@ox.ac.uk

I agree. When I started using vi many years ago, I only had a .exrc file
for initialization and everything evolved nicely. I once asked an ISA type
for a easy reformat command. He wrote a key map using EXINIT. This was
great until I discovered that I had lost all my neat customizations when I
worked in a directory other than $HOME. So, I started creating .exrc files
all over the place until I found out that I could accomplish the same key
mappings in my $HOME/.exrc, I could eliminate the problem with EXINIT and
stopped worrying about version controlled on all those .exrc files.
Newsgroups: comp.unix.questions
From: wvarga@gmuvax2.gmu.edu (Wilson Varga)
Subject: Re: Menu Syatem
Summary: commercial menuing system
Keywords: access control, end-user menuing, character terminals
Organization: George Mason University, Fairfax, Virginia, USA 
Date: Mon, 4 Jan 1993 14:10:47 GMT

1.   Unified Software Systems has a menuing product, CENTRUS UX.  CENTRUS
     provides end-user menuing and increased levels of security (access
     control).  CENTRUS UX is initially available for HP 9000/8xx platforms
     under HP-UX; end-users access that host via character-based terminals in
     a timesharing mode.  

2.   Think of CENTRUS UX as a Resource Management product for unix, where the
     resources requiring management include:
     a.   End-users.
     b.   Applications run by those end-users.
     c.   Terminals/devices used by those end-users.

3.   To end-users, CENTRUS presents a menu of their authorized applications. 
     End-users interact with their menus instead of with one of the unix
     shells -- obviating the need for training.  Menus are customizable (both
     by the individual end-user and by the system administrator) into a two-
     level hierarchy of a main menu and submenus, as needed.  

     In addition, at login, end-users are (optionally) greeted by local news
     and/or messages customized for the differing, local classes of end-
     users.

4.   For the system administrator and/or security administrator, CENTRUS
     offers increasing levels of access control in an easy-to-use format:
     a.   Access control may be exercised individually or collectively over
          end-users, applications, and terminals.  (Control exercised at the
          collective, class-level simplifies the chore of end-user
          administration.)
     b.   Access control may be governed by:
          (1)  Time-of-day criteria.
          (2)  Day-of-week criteria.
          (3)  Simple active/inactive criteria.
     c.   Additional password protection may be added for end-users,
          applications, and terminals -- over and above that provided by
          unix.
     d.   CENTRUS provides 12 menu-driven, form fill-in screens with which to
          effect the system/security administration activities.
     e.   CENTRUS provides logs and reports of user activities and of
          attempted authorization breaches (attempted security violations).

5.   To learn more, reply by direct e-mail to:
     Wilson Varga                            wvv@uii.com 
     Software Engineer                       (195.105.32.4)
     Unified Software Systems Division       tel:  (703) 922-9800
     Unified Industries, Inc.                fax:  (703) 971-5892
     6551 Loisdale Court, Suite 400
     Springfield, VA 22150-1854; USA
From: joe@epona.physics.ucg.ie (Joe Desbonnet)
Newsgroups: comp.unix.questions
Subject: Recovering data from a DAT tape with EOD mark at start
Date: 7 Jan 93 19:09:42 GMT

Is it possible to recover data from a DAT tape if a EOD mark was
accidently written at the start of the tape.  The drive is a WangDAT
(3200?) on a HP700 series computer running HPUX (8.05) .  The data is in
the form of a series of tar files. 

Thanks
Joe
--
Joe Desbonnet,           Email:  joe@epona.physics.ucg.ie
Dept of Physics,                 phydesbonnet@bodkin.ucg.ie
University College       Phone: +353-91-24411 x 2716
Galway, Ireland.         Fax  : +353-91-25700
Newsgroups: comp.unix.questions,comp.unix.dos-under-unix
From: jhull@vulcan-gw.den.mmc.com (Jeff Hull)
Subject: Running COTS DOS SW under UNIX on 80x86 platform
Reply-To: jhull@vulcan-gw.den.mmc.com
Organization: Martin Marietta Astronautics Group
Date: Tue, 5 Jan 1993 18:23:56 GMT

I want to convert some 80386 & 80486 machines from DOS to UNIX,
but we need to be able to continue to use several DOS COTS SW
packages (specifically MS WORD, ORCAD, AUTOCAD, SUPERCALC,
TASK MONITOR, & PROJECT SCHEDULER).

Which flavor UNIX offers the best DOS under UNIX support?
I didn't find this question in the FAQ (hint), but if it
has already been answered, please point me to it.

Thanks.

--- --- --- --- ---
	   _   _
    /_    / ) / ) Jeff Hull           j.hull@vulcan-gw.den.mmc.com
   //_) -/- -/-   1544 S. Vaughn Cir  
/_/ \_/ /   /	  Aurora, CO 80012    303-977-1061

No matter where you go ... there you are.
#include <standard.disclaimer.h>
From: shwake@nearside.UUCP (Raymond Shwake)
Newsgroups: comp.unix.questions
Subject: Re: Funny mail !
Date: 10 Jan 93 18:32:04 GMT
Organization: A/C International

>In article <C0HqIE.Inn@ucunix.san.uc.edu> reddyp@ucunix.san.uc.edu (Pardhasaradhi A. Reddy) writes:
>>
>>	This is not really a problem because, when one adds a user, a
>>	mail box is created with username in the /usr/spool/mail
>>	directory always.(assuming, the sys admin didn't forget to
>>	create a mailbox while adding the account.). And the umask is set 

	Not every implementation creates such a mailbox when adding a new
	user. Also, the System V standard location is /usr/mail, *not*
	/usr/spool/mail.

dkeisen@leland.Stanford.EDU (Dave Eisen) writes:

>It is a problem. On many systems, when a user deletes the last
>piece of mail in his mailbox, the mail program unlinks the user's
>entry in /usr/spool/mail. This, of course, is a disastrous
>misfeature of these mail programs, but unfortunately, that is
>how mail works on these systems. /usr/spool/mail should not be
>world writeable.

	I must disagree here, as I hardly consider this a "misfeature",
	and not just because System V mail follows the practice you decry.
	Removing zero-length mailbox files keeps the mail directory leaner
	than would be the case otherwise, and provides a modest improvement
	in file access since the directory is that much smaller. This can
	be noticeable on a system with hundreds of authorized users.

	I agree that the mail directory should not be world writeable.
	Indeed, under System V it's only writeable by the mailer daemon(s).
	Our own FXmail follows these conventions.
-- 

uunet!media!irscscm!nearside!shwake			shwake@rsxtech
From: merlyn@ora.com (Randal L. Schwartz)
Newsgroups: comp.unix.questions
Subject: Re: File manipulation question
Date: 8 Jan 93 16:42:03 GMT
Article-I.D.: romulus.MERLYN.93Jan8084158
	<1ii4jvINNn85@early-bird.think.com>
Organization: Stonehenge Consulting Services; Portland, Oregon, USA

>>>>> In article <1ii4jvINNn85@early-bird.think.com>, barmar@think.com (Barry Margolin) writes:
Barry> grep "^[A-Z0-9][A-Z0-9][A-Z0-9]  [0-9][0-9][0-9][0-9][0-9]" infile > outfile

Or using Perl's curly-brace multipliers:

perl -ne 'print if /^[A-Z0-9]{3} [0-9]{5}/' infile >outfile

Just another Perl hacker,
--
Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
merlyn@ora.com (semi-permanent) merlyn@reed.edu (for newsreading only)
factoid: "Portland, Oregon, home of the California Raisins and Lone-Star Beer!"
From: sitarama@cps.msu.edu (Kocherlakota Sitarama)
Newsgroups: comp.unix.questions
Subject: Funny mail !
Date: 6 Jan 93 03:46:01 GMT
Organization: Dept. of Computer Science, Michigan State University
NNTP-Posting-Host: indian.cps.msu.edu
Originator: sitarama@indian.cps.msu.edu


Hello,

I went to /usr/spool/mail and created a file with one of my 
friends names (user-id).

The owner ship of the file is mine tho. 

	o When I had my friend logged in, it said "you have newmail"
	  but no mail !
    o When I mailed to my friend it bounced back.


You can do this to your friends and have their mail bounce !

Please mail me your comments, if any, as I am not an active reader !

Also, if you have any other ways of making fun with your friends 
mail me !

Thanks


Swamy

sitarama@cps.msu.edu
Dept Of Computer Science
MSU 
Newsgroups: comp.unix.questions
From: pershing@csn.org (Paul Pershing)
Subject: sed or awk
Summary: sed or awk for manip. stock market tables; need script
Originator: pershing@teal.csn.org
Keywords: cleaning up stock mkt. lists
Organization: Colorado SuperNet, Inc.
Date: Fri, 8 Jan 1993 17:20:29 GMT


Hello, everyone. I need help. A project I'm involved in takes stock market
tables (i.e., N.Y.S.E, AMEX, NASDAQ) in text form (ASCII) that have been
compiled on a VAXstation 3100 (running VMS), and needs to get them ready
to place in a Mac publishing program, QuarkXpress. I could pass the files
through a PC, Mac, VAX, or even remote Unix if I must, but I need help in
cleaning these files up. First of all, the fractions are all "whole number
fractions," i.e., 11/16, 5/8, 15/16, and so on. Tables have from two to
11 columns, and I need to place a single tab between each column, remove
all other spaces, close up the whole number fraction with it's companion
numbers, i.e., +5 11/16 we write as +5-11/16 ("-" separates the fraction
from its companion, _when_ there is one). I'm sure that sed, awk or
perl can do this, but I _may_ be limited :) by platform. I have a sed,
perl and awk that runs under Macintosh MPW (Mac Programmer's Workshop),
or I have DOS versions of these (I may be able to get PD version for
VMS...). Can someone point me in the directin I need to clean up these
files? Some samples would help, and maybe I could then add (if needed) to
customize whatever anyone contributes.
This is greatly appreciated, and if this is a bigger deal than I understand,
the company might be willing to pay someone, although I don't know for
sure about this. I'll check if someone needs this assurance.

Thanks for your help, please email me and I'll summarize if anyone
wants (I wasn't sure I was posting to the right group)
Paul Pershing
Systems Manager/Editor
Rocky Mountain News
400 W. Colfax Ave., Denver, CO 80204
303 892 2633


-- 
------------------------------------------------------------------------------
******** Paul Pershing, Editorial Design/Systems, Rocky Mountain News ********
**** 400 W. Colfax Ave. Denver 80204 (303) 892-2633 * Disclaimers, etc. ****
------------------------------------------------------------------------------
-- 
------------------------------------------------------------------------------
******** Paul Pershing, Editorial Design/Systems, Rocky Mountain News ********
**** 400 W. Colfax Ave. Denver 80204 (303) 892-2633 * Disclaimers, etc. ****
------------------------------------------------------------------------------
From: robert@kommu.UUCP (3730)
Newsgroups: comp.unix.questions
Subject: Source for ps-command under SINIX
Date: 11 Jan 93 06:35:53 GMT
Organization: SNC
X-Newsreader: Tin 1.1 PL5

I was wondering if somebody has already ported a ps - command
to the SINIX system ( SINIX5.24 NSC).
I would be very interested in knowing how to access the 
process list. ( /dev/kmem ) 
I would like to retrieve some information from the process list
concerning performance analysis.
Maybe somebody ported the sps-Utility, currently posted to 
comp.unix.sources, to the SINIX-System or even better somebody 
can mail me the original ps-Source for the SINIX System.
From: caedmon@cats.ucsc.edu (Axeman)
Newsgroups: comp.unix.questions
Subject: JPEG --> GIF converter?
Date: 6 Jan 93 03:19:23 GMT
Organization: University of California, Santa Cruz
NNTP-Posting-Host: am.ucsc.edu


I hate waiting for my Mac to deal with JPEGS; is there a UNIX-based
program that converts a binary JPEG to a binary GIF file?

thanks,
-jq

(if not .. somebody write one!  Sheesh. :))
-- 
,;';,.,;';,.,;';,.,;';,.,;';,.,;';,.,;';,.,;';,.,;';,.,;';,.,;';,.,;';,
,;';,   caedmon@ucscb.ucsc.edu               Jeff Ishaq          .,;';,
,;';,   I am a meatball:  Bite me.           Guitar withdrawal!  .,;';,
,;';,.,;';,.,;';,.,;';,.,;';,.,;';,.,;';,.,;';,.,;';,.,;';,.,;';,.,;';,
Xref: sparky comp.unix.questions:15424 misc.invest:16126
From: ajr@pug.hri.com (MFHorn)
Newsgroups: comp.unix.questions,misc.invest
Subject: Re: net.views - dec and alpha
Date: 11 Jan 93 19:45:27 GMT
Reply-To: ajr@hri.com
Followup-To: comp.unix.questions
Organization: Horizon Research, Inc.
In-reply-to: bhoughto@sedona.intel.com's message of 10 Jan 93 21:29:04 GMT

In article <1iq4f0INN9il@chnews.intel.com> bhoughto@sedona.intel.com (Blair P. Houghton) writes:
> And besides, if they couldn't make money with the Rainbow,
> how can they hope to make money with this?  The electronics
> industry is first and foremost a creature of marketing.
> Superwhizzy parts at bargain-basement prices don't sell
> themselves well in any context.

IMHO, Alpha's big selling point is it will run VMS.  VAX performance has
been falling behind the RISC world, and this will allow their rather
large installed base to upgrade to a shiny, new, FAST architecture.  The
transition looks like it'll be pretty smooth so customers won't be scared
off.  Those sales alone should get DEC back on track.  Add new VMS sales,
sales for Windows NT and Unix customers and you've got a healthy, growing
market.

Alpha's not a Rainbow.  It's the next leap-frog in the high end RISC
arena *and* a new upgrade path for the VAX.

I see comp.unix.questions in the list, so I feel obligated to mention
that I personally hate VMS.  But I'm buying the stock, not the OS..

--
Andy Rosen (ajr@hri.com)  |  "The most valuable commodity I know of,
Horizon Research, Inc.    |   is information."   -Gordon Gekko, "Wall Street"
1432 Main St.             |  "I got this guitar and I learned how to
Waltham, MA 02154         |   make it talk."   -"Thunder Road"
Newsgroups: comp.unix.questions,comp.unix.misc,comp.unix.admin