Article View: comp.unix.shell
Article #1195Re: Background writes in csh
From: Gordon C. Galligher
Date: Thu, 20 Sep 1990 18:51
Date: Thu, 20 Sep 1990 18:51
25 lines
1756 bytes
1756 bytes
In article <1990Sep19.203803.25798@cs.umn.edu> lindner@cs.umn.edu (Paul Lindner) writes:
>I've been having a weird problem for the longest time. I like to use`
>aliases for my ls command:
>
> alias ls 'ls -FC \!* |more'
>
>This works fine, however sometimes it stops both tasks and puts them in
>the background, (this is on various Suns using csh and tcsh). Typing
>fg restarts the listing. This is really irritating, typing fg and all.
More(1) is the problem here. I have not quite figured it out, but I had a
similar problem when my users would type: history | more and it would do
the same thing. When they use history | less it works every time. I
really hate it when people come on and say "use this tool instead" but in
this instance, it really is the only way I was able to work around the
problem. It is immaterial that less is better than more (IMHO), in this
instance it makes things work.
-- Gordon.
--
Gordon C. Galligher 9127 Potter Rd. #2E Des. Plaines, Ill. 60016-4881
telxon!ping%gorpong@uunet.uu.net (not tested) (Is this even legal??)
...!uunet!telxon!ping!gorpong (tested) (And it works!)
"It seems to me, Golan, that the advance of civilization is nothing but an
exercise in the limiting of privacy." - Janov Pelorat -- _Foundation's Edge_
Technical Details
Message-ID:
<1990Sep20.185147.14158@ping.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!telxon!ping!gorpongReferences:
<1990Sep19.203803.25798@cs.umn.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!telxon!ping!gorpong From: gorpong@ping.uucp (Gordon C. Galligher) Newsgroups: comp.unix.shell Subject: Re: Background writes in csh Summary: More(1) is the problem Message-ID: <1990Sep20.185147.14158@ping.uucp> Date: 20 Sep 90 18:51:47 GMT References: <1990Sep19.203803.25798@cs.umn.edu> Distribution: comp Organization: The 23rd. Century Lines: 25