Sponsored Content
Full Discussion: kshrc
Top Forums Shell Programming and Scripting kshrc Post 302103950 by sb008 on Monday 22nd of January 2007 12:54:30 PM
Old 01-22-2007
You could try adding something like this to your .kshrc:

export PAGER=more
or
export PAGER=pg
or
export PAGER=less

If that doesn't work it's most likely related to your terminal capabilities as suggested in the previous post.

Depending on your Unix version "infocmp" might not work, the alternative is "untic".
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

not able to execute .profile /.kshrc

Hi, I m new to Solaris CDE...earlier i was using Windows. Here is my problem.. i know that whatever the initial settings we need to execute,we can place them in .profile file. in my home dir (/home/venki),i have following files for that. .profile .profile.user .kshrc .kshrc.user ... (2 Replies)
Discussion started by: Venky
2 Replies

2. Shell Programming and Scripting

.profile not reading .kshrc

Can anyone tell me why .profile would not be reading my .kshrc file? O/S is SCO 5.06? I've placed echo's before & after setting ENV and nothing ... help? Thanks! Here's .profile ================================================== : # DoubleVision Pro's digiboard call during... (7 Replies)
Discussion started by: gseyforth
7 Replies

3. Shell Programming and Scripting

korn shell .kshrc in sunos

Hi, My login shell is c shell I have a line in .cshrc like setenv a 1000 I have a line in .profile like ENV=$HOME/.kshrc export ENV and in my .kshrc a=10 export a I wrote one korn script #!/bin/ksh echo $a (3 Replies)
Discussion started by: shahnazurs
3 Replies

4. Shell Programming and Scripting

.kshrc is not executing

Hi, I am facing two problems in my environment. Anyone can help on this? Thanks in advance. Problem 1 --------- When i login into my new unix system, only the .profile is executing. .kshrc is not executing. But my default shell is .ksh Any setup to be changed ? Problem 2... (7 Replies)
Discussion started by: senthil_is
7 Replies

5. UNIX for Beginners Questions & Answers

Kshrc custom prompt will not work

So Yesterday I switched from Solus Linux to Fedora Linux 30, but I forgot to backup some of my dotfiles including kshrc. I am fairly new to Korn shell and do not know it well, but through memory I was able to at least get this. I did use code from several different source to recreate it. The only... (13 Replies)
Discussion started by: zoomer
13 Replies
ZMORE(1)						    BSD General Commands Manual 						  ZMORE(1)

NAME
zmore -- view compressed files on a CRT SYNOPSIS
zmore [flags] [file ...] DESCRIPTION
zmore is a filter that allows the viewing of files compressed with Lempel-Ziv encoding. Such files generally have a ``Z'' or ``gz'' exten- sion (both the compress(1) and gzip(1) formats are supported). Any flags that are specified are passed to the user's preferred PAGER (which is /usr/bin/more by default). When multiple files are specified, zmore will pause at the end of each file and present the following prompt to the user: prev_file (END) - Next: next_file Where prev_file is the file that was just displayed and next_file is the next file to be displayed. The following keys are recognized at the prompt: e or q quit zmore. s skip the next file (or exit if the next file is the last). If no files are specified, zmore will read from the standard input. In this mode zmore will assume gzip(1) style compression since there is no suffix on which to make a decision. ENVIRONMENT
PAGER Program used to display files. If unset, /usr/bin/more is used. SEE ALSO
compress(1), less(1), more(1) BSD
June 23, 2003 BSD
All times are GMT -4. The time now is 05:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy