Sponsored Content
Full Discussion: pico vs vim
Top Forums UNIX for Dummies Questions & Answers pico vs vim Post 302343013 by Blackacid on Tuesday 11th of August 2009 10:05:21 AM
Old 08-11-2009
I don't think I've ever been on a unix box that didn't have vi installed. I can't say the same for pico. That was the winning card for me. I later realized vi was far more robust in a lot of other areas as well, but availability is still the trump card.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how do i install Pico onto a unix system?

I was just wondering how to install Pioc onto FreeBSD? could someone help mee? (1 Reply)
Discussion started by: Swifty
1 Replies

2. UNIX for Dummies Questions & Answers

Setting up pine(pico)

I'm trying to setup the pico editor, which comes with pine. But I am not sure how to activate pine. I'm using the newest stable version of openbsd. If someone could tell me what file to execute, or, if not 'onboard' the package, where to get it. I would be much obliged. Req (1 Reply)
Discussion started by: Requeth
1 Replies

3. UNIX for Dummies Questions & Answers

vi and pico

hello iam so new to unix / apache what is the dif between VI and PICO where can i get hands on training with both in Los Angeles any ideas would be helpfull. thanx whothought (5 Replies)
Discussion started by: whothought
5 Replies

4. UNIX for Dummies Questions & Answers

pico text editor

I was wondering if there is any way to get a version of pico for windows. I have done a lot of programming work on Linux/UNIX exvironments for school, and I enjoy using pico for my programming needs, but I find all of the text editors in windows horrible, they distort my code and do not adhere to... (5 Replies)
Discussion started by: popac
5 Replies

5. UNIX for Dummies Questions & Answers

question about pico?

Quick question for all of you Unix gurus. What are your thoughts on Pico as an editor. I have been using this editor for the last week or so and have made a lot of headway with my script writing. However, I find a lot of the quirks associated with this editor to be quite annoying. For instance,... (1 Reply)
Discussion started by: wmosley2
1 Replies

6. UNIX for Dummies Questions & Answers

Pico?

Is pico editor not availible on all versions of Unix? I do have vi and emacs, but pico just give me a response of "not found". (4 Replies)
Discussion started by: dereckbc
4 Replies

7. UNIX for Dummies Questions & Answers

Can't run emacs, pico..

Hello, I cannot run emacs or pico from my Sun OS command shell. My account does not have a .cshrc file also. When I tried to make a text file and copied it to my account by the name .cshrc, the source commands I place in it do not work. Can anybody tell me how can I solve this? Any help... (8 Replies)
Discussion started by: aryajur
8 Replies

8. UNIX for Dummies Questions & Answers

Lost pico editor

I del a lot of files,after that I can't find pico. I have to use vi. However, I like pico. Can should I do ? (4 Replies)
Discussion started by: zhshqzyc
4 Replies

9. Solaris

Very Importan - Vim Settings - Error while opening a File using vim

I downloaded vim.7.2 and compiled the vim source . Added the vim binary path to PATH (Because iam not the root of the box) when i load the file using vim it throws me an error Error detected while processing /home2/e3003091/.vimrc: line 2: E185: Cannot find color scheme darkblue line... (0 Replies)
Discussion started by: girija
0 Replies

10. UNIX for Dummies Questions & Answers

Ed vs pico

Hello! Please, can someone make me clear the difference betveen and interactive and non-interactive test editor? (is not each editor somehow "interactive"???) Many thanks!!! (0 Replies)
Discussion started by: pinklemon
0 Replies
SCF_Terminal_getCard(3SMARTCARD)			    Smartcard Library Functions 			  SCF_Terminal_getCard(3SMARTCARD)

NAME
SCF_Terminal_getCard - establish a context with a smartcard SYNOPSIS
cc [ flag... ] file... -lsmartcard [ library...] #include <smartcard/scf.h> SCF_Status_t SCF_Terminal_getCard(SCF_Terminal_t terminal, SCF_Card_t *card); PARAMETERS
card A pointer to a SCF_Card_t. If the smartcard is successfully opened, a handle for the card will be returned through this parameter. terminal The terminal (from SCF_Session_getTerminal(3SMARTCARD)) containing a smartcard to open. DESCRIPTION
The SCF_Terminal_getCard() function establishes a context with a specific smartcard in a terminal. Card objects can be used to send APDUs (Application Protocol Data Units) to the card with SCF_Card_exchangeAPDU(3SMARTCARD). When the card is no longer needed, SCF_Card_close(3SMARTCARD) should be called to release allocated resources. If SCF_Terminal_getCard() is called multiple times in the same session to access the same physical card (while the card remains inserted), the same SCF_Card_t will be returned in each call. The library cannot identifty specific cards, so when a card is reinserted it will be represented by a new SCF_Card_t. Multithreaded applications must take care to avoid having one thread close a card that is still needed by another thread. This can be accomplished by coordination within the application, or by having each thread open a separate session to avoid interference. RETURN VALUES
If a working card is present in the reader, SCF_STATUS_SUCCESS is returned and card is a valid reference to the card. Otherwise, an error value is returned and card remains unaltered. ERRORS
The SCF_Terminal_getCard() function will fail if: SCF_STATUS_BADARGS The card argument is a null pointer. SCF_STATUS_BADHANDLE The specified terminal has been closed or is invalid. SCF_STATUS_FAILED An internal error occured. SCF_STATUS_NOCARD No card is present in the terminal. EXAMPLES
Example 1: Access a smartcard. SCF_Status_t status; SCF_Terminal_t myTerminal; SCF_Card_t myCard; /* (...call SCF_Session_getTerminal to open myTerminal...) */ status = SCF_Terminal_getCard(myTerminal, &myCard); if (status == SCF_STATUS_NOCARD) { printf("Please insert your smartcard and try again. "); exit(0); } else if (status != SCF_STATUS_SUCCESS) exit(1); /* (...go on to use the card with SCF_Card_exchangeAPDU()...) */ ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
libsmartcard(3LIB), SCF_Card_close(3SMARTCARD), SCF_Card_exchangeAPDU(3SMARTCARD), SCF_Card_getInfo(3SMARTCARD), SCF_Card_lock(3SMARTCARD), SCF_Session_getTerminal(3SMARTCARD), attributes(5) SunOS 5.10 28 Feb 2001 SCF_Terminal_getCard(3SMARTCARD)
All times are GMT -4. The time now is 11:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy