Sponsored Content
Full Discussion: Doskey
Top Forums UNIX for Dummies Questions & Answers Doskey Post 34521 by yls177 on Wednesday 26th of February 2003 02:10:51 AM
Old 02-26-2003
what i want is to
1) capture this history of commands into a file,
2) something like pressing esc and - to screen through the list of commands.
3) do the above in csh, sh.

and i got the below

fc -l does gives the history of commands entered. but this set -o vi, doesnt work in csh, i got this set:syntax error from the system. according to the earlier posts, i did a man history, and it was only two pages with the description of what it does
yls177
 

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

DOSKEY

I am a new UNIX user. I use SCO Openserver 5. I am also a longtime MS-DOS user (since 1981). There was a program with DOS called DOSKEY. It allowed you to assign a code to an F key; every time you pressed that F key you got the code on the command line. You could put in whatever command... (2 Replies)
Discussion started by: jimwelch4
2 Replies

2. UNIX for Dummies Questions & Answers

Command similar to doskey

Hello all, I need a help in unix. is there any command in unix similar to doskey in MS Dos. It taked pain to enter the big command again and again.. the up and down arrows do not bring the previous commands on the prompt. so pls let me know if there is any command to enable the doskey kind of... (4 Replies)
Discussion started by: halel
4 Replies
standards(5)							File Formats Manual						      standards(5)

NAME
standards - UNIX standards behavior on HP-UX DESCRIPTION
HP-UX conforms to various UNIX standards. In some cases, these standards conflict. This manpage describes the methods that programmers and users must follow to have an application conform and execute according to a particular UNIX standard. UNIX Standard Conformant Programmer Environment The following table lists feature test macros and environment variables that must be defined while compiling an application. Both a fea- ture test macro and an environment variable must be defined while compiling the application so that the application conforms and executes according to a particular UNIX standard. Otherwise, the behavior is undefined. Standard Feature Test Macros to be Environment variable defined during compilation to be set UNIX 95 _XOPEN_SOURCE_EXTENDED=1 UNIX95 or UNIX_STD=95 or UNIX_STD=1995 UNIX 2003 _XOPEN_SOURCE=600 UNIX_STD=2003 The compiler uses the feature test macros to obtain the appropriate namespace from the header files. The compiler uses the environment variable to link in an appropriate object file to the executable. Using the environment variable customizes libc to match UNIX standards for various functions. If an application has already been compiled for default HP-UX behavior or for one particular standard, and needs to change to a particular UNIX standard behavior, recompile the application as specified in the above table. For an HP-UX command to conform to a particular UNIX standard behavior, the application has to set the corresponding environment variable as specified in the above table before executing that command. UNIX Standard Conformant User Environment To enable a particular UNIX standard conformant user environment, set the corresponding environment variable as defined in the above table. EXAMPLES
The following examples shows an application example. To have the system be conformant to UNIX2003 behavior, set the environment variable to and define the feature test macro before compilation. The following example changes the command to have UNIX95 behavior by setting one of the environment variables to or to before executing that command. There are three ways of setting the environment variable for UNIX95: or or SEE ALSO
cc(1), stdsyms(5). standards(5)
All times are GMT -4. The time now is 10:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy