From owner-freebsd-questions Wed Aug 11 9:45:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.alaskaair.com (mail.alaskaair.com [159.49.254.31]) by hub.freebsd.org (Postfix) with ESMTP id CCEB314C59 for ; Wed, 11 Aug 1999 09:45:14 -0700 (PDT) (envelope-from elazich@AlaskaAir.com) Received: by mail.alaskaair.com from localhost (router,SLMail V3.2); Wed, 11 Aug 1999 09:35:11 -0700 Received: from aag.alaskaair.com [159.49.254.10] by mail.alaskaair.com [159.49.254.31] (SLmail 3.2.3113) with SMTP id C76062384F8211D3A4DB0090274036DC for plus 1 more; Wed, 11 Aug 1999 09:35:08 -0700 From: elazich@AlaskaAir.com To: lconrad@Go2France.com Cc: questions@freebsd.org Received: from asnasta.alaskaair.com by aag.alaskaair.com via smtpd (for mail.alaskaair.com [159.49.254.31]) with SMTP; 11 Aug 1999 16:41:07 UT Date: Wed, 11 Aug 1999 09:37:33 -0700 Subject: Re: command line history Message-ID: References: <4.2.0.58.19990811163304.01baa520@go2france.com> Organization: Alaska Airlines MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Content-ID: X-Gateway: NASTA Gate 2.0 for FirstClass(R) X-SLUIDL: 4A6C61EA-4F7011D3-A4DB0090-274036DC Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG lconrad@Go2France.com writes: >With csh, is there any way to scroll through the command history on >telnet >session? >Len >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message csh lets you set your history as follows; set history=20 (remember the last 20 commands) You reference the commands by typing history at the command line (or have an alias "h" that runs the history command for you. This will show you the last x number of commands you typed in which is controllable with the history command. To rerun a command prefix the command number with a !. If you want to rerun your last command use !!. tcsh has a much better facility that lets you scroll through your command list using either keyboard combinations or the up and down arrow keys. I'd suggest you get a copy of O'Reilly & Associates "Using csh and tcsh" for all the details. Eli To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message